Commit f7691717 authored by Michal Maciejewski's avatar Michal Maciejewski
Browse files

Removed editing lock on some cells in notebooks.

parent 59eeb463
......@@ -340,11 +340,12 @@
"analysis_rcbxv.calculate_current_slope(i_meas_rcbxv_df, col_name=['Ramp rate V', 'Plateau duration V'])"
]
},
{
"cell_type": "code",
"outputs": [],
"execution_count": null,
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis_rcbxh.results_table[['Circuit Name', 'Date (FGC)', 'Time (FGC)', 'I_Q_H', 'I_Q_V', 'MIITS_H', 'MIITS_V', 'Ramp rate H', 'Ramp rate V', 'Plateau duration H', 'Plateau duration V']]"
......
......@@ -3,7 +3,7 @@
{
"cell_type": "markdown",
"metadata": {
"editable": false
"deletable": false
},
"source": [
"<h1><center>Analysis of an FPA in an 600A Circuit - RCD-RCO Family</center></h1>\n",
......@@ -17,7 +17,7 @@
{
"cell_type": "markdown",
"metadata": {
"editable": false
"deletable": false
},
"source": [
"# Analysis Assumptions\n",
......@@ -38,8 +38,7 @@
{
"cell_type": "markdown",
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"source": [
"# 0. Initialise Working Environment"
......@@ -48,7 +47,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"# External libraries\n",
......@@ -86,6 +87,7 @@
{
"cell_type": "markdown",
"metadata": {
"deleteable": false,
"tags": [
"skip_cell"
]
......@@ -105,6 +107,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"scrolled": false
},
"outputs": [],
......@@ -116,8 +119,7 @@
{
"cell_type": "markdown",
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"source": [
"# 2. Query All Signals Prior to Analysis"
......@@ -127,6 +129,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deleteable": false,
"tags": [
"skip_output"
]
......@@ -215,8 +218,7 @@
{
"cell_type": "markdown",
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"source": [
"# 3. Timestamps\n",
......@@ -234,7 +236,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis_rcd.create_timestamp_table(timestamp_dct, circuit_names[0])"
......@@ -266,7 +270,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"import matplotlib as mpl\n",
......@@ -280,7 +286,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"t_quench = analysis_rcd.estimate_quench_start_from_i_ref_i_a(i_ref_rcd_df, i_a_rcd_df)\n",
......@@ -291,7 +299,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis_rcd.analyze_i_meas_pc_trigger(timestamp_fgc_rcd, events_action_rcd_df, events_symbol_rcd_df)\n",
......@@ -304,7 +314,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis_rco.plot_i_meas_pc(circuit_names[1], timestamp_fgc_rco, [i_meas_rco_df, i_a_rco_df, i_ref_rco_df], xlim=(t_quench-1, t_quench+1))"
......@@ -313,7 +325,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"t_quench = analysis_rco.estimate_quench_start_from_i_ref_i_a(i_ref_rco_df, i_a_rco_df)\n",
......@@ -324,7 +338,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis_rco.plot_i_meas_pc_zoom(circuit_names[1], timestamp_fgc_rco, t_quench, [i_meas_rco_df, i_a_rco_df, i_ref_rco_df], xlim=(t_quench-0.1, t_quench+0.1))\n",
......@@ -339,6 +355,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"scrolled": false
},
"outputs": [],
......@@ -364,7 +381,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis_rcd.plot_i_earth_pc(circuit_names[0], timestamp_fgc_rcd, i_earth_rcd_df)\n",
......@@ -374,7 +393,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis_rco.plot_i_earth_pc(circuit_names[0], timestamp_fgc_rco, i_earth_rco_df)\n",
......@@ -383,7 +404,9 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false
},
"source": [
"# 5. EE\n",
"\n",
......@@ -399,7 +422,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis_rcd.analyze_u_dump_res_ee(circuit_names[0], timestamp_fgc_rcd, i_meas_rcd_df, u_dump_res_rcd_df, col_name='U_EE_RCD_max')"
......@@ -408,7 +433,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"if not fgc_pm_search.is_automatic_mode():\n",
......@@ -461,7 +488,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis_rcd.plot_u_res(circuit_names[0], timestamp_qds_rcd, u_res_nxcals_rcd_df, i_meas_nxcals_rcd_df)\n",
......@@ -473,6 +502,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"scrolled": false
},
"outputs": [],
......@@ -485,7 +515,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis_rcd.results_table[['Circuit Name', 'Date (FGC)', 'Time (FGC)', 'dU_QPS/dt_RCD', 'dU_QPS/dt_RCO']]"
......@@ -514,8 +546,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"outputs": [],
"source": [
......@@ -526,8 +557,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"outputs": [],
"source": [
......@@ -554,8 +584,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"outputs": [],
"source": [
......@@ -566,8 +595,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"outputs": [],
"source": [
......@@ -578,8 +606,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"outputs": [],
"source": [
......@@ -591,7 +618,6 @@
"execution_count": null,
"metadata": {
"deletable": false,
"editable": false,
"scrolled": false
},
"outputs": [],
......@@ -602,7 +628,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"if not fgc_pm_search.is_automatic_mode():\n",
......@@ -613,7 +641,9 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false
},
"source": [
"# 6. Analysis Comment"
]
......@@ -621,7 +651,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis_rco.results_table['Comment'] = input('Comment: ')"
......@@ -629,7 +661,9 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false
},
"source": [
"# 7. Final Report"
]
......@@ -637,7 +671,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"pd.set_option('display.max_columns', None)\n",
......
......@@ -17,7 +17,7 @@
{
"cell_type": "markdown",
"metadata": {
"editable": false
"deletable": false
},
"source": [
"# Analysis Assumptions\n",
......@@ -38,8 +38,7 @@
{
"cell_type": "markdown",
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"source": [
"# 0. Initialise Working Environment"
......@@ -48,7 +47,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"# External libraries\n",
......@@ -86,6 +87,7 @@
{
"cell_type": "markdown",
"metadata": {
"deleteable": false,
"tags": [
"skip_cell"
]
......@@ -105,6 +107,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"scrolled": false
},
"outputs": [],
......@@ -117,8 +120,7 @@
{
"cell_type": "markdown",
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"source": [
"# 2. Query All Signals Prior to Analysis"
......@@ -128,6 +130,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deleteable": false,
"scrolled": false,
"tags": [
"skip_output"
......@@ -188,8 +191,7 @@
{
"cell_type": "markdown",
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"source": [
"# 3. Timestamps\n",
......@@ -208,7 +210,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis.create_timestamp_table(timestamp_dct, circuit_name)"
......@@ -216,7 +220,9 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false
},
"source": [
"# 4. PC\n",
"## 4.1. Main Current\n",
......@@ -238,7 +244,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"import matplotlib as mpl\n",
......@@ -252,7 +260,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"t_quench = analysis.estimate_quench_start_from_i_ref_i_a(i_ref_df, i_a_df)\n",
......@@ -263,7 +273,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis.analyze_i_meas_pc_trigger(timestamp_fgc, events_action_df, events_symbol_df)\n",
......@@ -275,7 +287,9 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false
},
"source": [
"## 4.2. Earth Current\n",
"\n",
......@@ -289,7 +303,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis.plot_i_earth_pc(circuit_name, timestamp_fgc, i_earth_df)\n",
......@@ -298,7 +314,9 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false
},
"source": [
"# 5. EE\n",
"\n",
......@@ -314,7 +332,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"if 'EE' in SignalMetadata.get_system_types_per_circuit_name(circuit_type, circuit_name):\n",
......@@ -326,7 +346,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"if 'EE' in SignalMetadata.get_system_types_per_circuit_name(circuit_type, circuit_name):\n",
......@@ -338,8 +360,7 @@
{
"cell_type": "markdown",
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"source": [
"# 6. QDS\n",
......@@ -361,7 +382,9 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false
},
"source": [
"## 6.1. Resistive Voltage\n",
"\n",
......@@ -381,8 +404,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"outputs": [],
"source": [
......@@ -392,7 +414,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"u_res_slope_df = analysis.calculate_u_res_slope(u_res_df, col_name='dU_QPS/dt')\n",
......@@ -401,7 +425,9 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false
},
"source": [
"## 6.2. I_DCCT, I_DIDT Currents; U_RES, U_DIFF Voltages\n",
"\n",
......@@ -419,7 +445,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis.plot_qds(circuit_name, timestamp_qds, i_dcct_df, i_didt_df, u_diff_df, u_res_df)"
......@@ -427,7 +455,9 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false
},
"source": [
"## 6.3. LEADS\n",
"\n",
......@@ -443,8 +473,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"outputs": [],
"source": [
......@@ -455,8 +484,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"editable": false
"deletable": false
},
"outputs": [],
"source": [
......@@ -467,6 +495,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"scrolled": false
},
"outputs": [],
......@@ -479,7 +508,9 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false
},
"source": [
"# 7. Analysis Comment"
]
......@@ -487,7 +518,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false
},
"outputs": [],
"source": [
"analysis.results_table['Comment'] = input('Comment: ')"
......@@ -495,7 +528,9 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false
},
"source": [
"# 8. Final Report"
]
......@@ -504,6 +539,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"scrolled": false
},
"outputs": [],
......