Commit 84905c79 authored by Per Hagen's avatar Per Hagen 🐵
Browse files

Contributor

parent 535811ee
Pipeline #2504179 passed with stage
in 15 seconds
__version__ = "1.5.59"
__version__ = "1.5.60"
......@@ -116,8 +116,8 @@
"outputs": [],
"source": [
"circuit_type = 'RB'\n",
"fgc_pm_search = FgcPmSearchModuleMediator(DateTimeBaseModule(start_date_time='2021-04-01 00:00:00+02:00',\n",
" end_date_time='2021-04-12 00:00:00+02:00'), circuit_type=circuit_type)"
"fgc_pm_search = FgcPmSearchModuleMediator(DateTimeBaseModule(start_date_time='2021-05-01 00:00:00+02:00',\n",
" end_date_time='2021-05-02 00:00:00+02:00'), circuit_type=circuit_type)"
]
},
{
......@@ -439,7 +439,6 @@
},
"outputs": [],
"source": [
"#%matplotlib notebook\n",
"%matplotlib inline\n",
"rb_analysis.analyze_i_meas_pc(circuit_name, timestamp_fgc, timestamp_fgc_ref, min(timestamp_pic), i_meas_df, i_meas_ref_df)\n",
"rb_analysis.calculate_current_miits_i_meas_i_a(i_meas_df, i_a_df, t_quench=0, col_name='MIITS_circ')\n",
......@@ -493,7 +492,7 @@
},
"outputs": [],
"source": [
"%matplotlib notebook\n",
"%matplotlib inline\n",
"rb_analysis.analyze_i_earth_pcnt_pc(circuit_type, circuit_name, timestamp_fgc, i_meas_df, i_meas_ref_df, i_earth_pcnt_df, i_earth_pcnt_ref_df, xlim=(-50, 350))"
]
},
......@@ -707,7 +706,7 @@
},
"outputs": [],
"source": [
"%matplotlib notebook\n",
"%matplotlib inline\n",
"u_diode_with_quench_rb_dfs = rb_analysis.filter_quenched_magnets(u_diode_rb_dfs, results_table['Position'])\n",
"rb_analysis.analyze_u_diode_nqps(circuit_name, timestamp_fgc, i_meas_df, u_diode_with_quench_rb_dfs, 'U_DIODE_RB', 'DIODE_RB', legend=True, xlim=(-25, 350))\n",
"print(\"done!\")"
......
......@@ -122,7 +122,13 @@
"deletable": false
},
"outputs": [],
"source": []
"source": [
"hwc_test = 'PLIM.b3' \n",
"circuit_name = 'RQD.A34' \n",
"campaign= 'Recommissioning post LS2' \n",
"t_start = '2021-03-12 06:55:46.833000000'\n",
"t_end = '2021-03-12 07:11:44.608000000'"
]
},
{
"cell_type": "code",
......@@ -323,7 +329,7 @@
"import matplotlib as mpl\n",
"mpl.rcParams['savefig.dpi'] = 80\n",
"mpl.rcParams['figure.dpi'] = 80\n",
"%matplotlib notebook\n",
"%matplotlib inline\n",
"title = create_hwc_plot_title_with_circuit_name(circuit_name=circuit_name, hwc_test=hwc_test, t_start=t_start, t_end=t_end, signal='I_MEAS')\n",
"i_meas_rqd_nxcals_df = i_meas_rqd_nxcals_df.rename(columns={i_meas_rqd_nxcals_df.columns[0]: '%s:I_MEAS' % (circuit_names[0])})\n",
"i_meas_rqf_nxcals_df = i_meas_rqf_nxcals_df.rename(columns={i_meas_rqf_nxcals_df.columns[0]: '%s:I_MEAS' % (circuit_names[1])})\n",
......@@ -452,7 +458,7 @@
},
"outputs": [],
"source": [
"%matplotlib notebook\n",
"%matplotlib inline\n",
"rq_analysis.plot_i_earth_pc(circuit_names[0], timestamp_fgc_rqd, i_earth_rqd_df)\n",
"rq_analysis.calculate_max_i_earth_pc(i_earth_rqd_df, col_name='Earth Current')"
]
......@@ -465,7 +471,7 @@
},
"outputs": [],
"source": [
"%matplotlib notebook\n",
"%matplotlib inline\n",
"rq_analysis.plot_i_earth_pc(circuit_names[1], timestamp_fgc_rqf, i_earth_rqf_df)\n",
"rq_analysis.calculate_max_i_earth_pc(i_earth_rqf_df, col_name='Earth Current')"
]
......@@ -476,7 +482,7 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib notebook\n",
"%matplotlib inline\n",
"rq_analysis.analyze_i_earth_pcnt_pc(circuit_names[0], timestamp_fgc_rqd, i_meas_rqd_df, i_meas_rqd_ref_df, i_earth_pcnt_rqd_df, i_earth_pcnt_rqd_ref_df, xlim=(float('nan'), float('nan')))"
]
},
......@@ -486,7 +492,7 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib notebook\n",
"%matplotlib inline\n",
"rq_analysis.analyze_i_earth_pcnt_pc(circuit_names[1], timestamp_fgc_rqf, i_meas_rqf_df, i_meas_rqf_ref_df, i_earth_pcnt_rqf_df, i_earth_pcnt_rqf_ref_df, xlim=(float('nan'), float('nan')))"
]
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment