From 5b4e8fefc444432b2badf1b3eaa09298b075da70 Mon Sep 17 00:00:00 2001 From: arrell_c Date: Tue, 18 Jun 2024 19:39:39 +0200 Subject: [PATCH] Create Athos spectral diagnostics/SATOP11 PSAS079 --- Athos-spectral-diagnostics/SATOP11-PSAS079.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Athos-spectral-diagnostics/SATOP11-PSAS079.md diff --git a/Athos-spectral-diagnostics/SATOP11-PSAS079.md b/Athos-spectral-diagnostics/SATOP11-PSAS079.md new file mode 100644 index 0000000..0513c50 --- /dev/null +++ b/Athos-spectral-diagnostics/SATOP11-PSAS079.md @@ -0,0 +1,7 @@ +## Setting energy axis + +If energy axis PV has been reset, the length of the axis will need to be set again for the pipeline to run. The energy axis needs to have the same length as the spectrometer camera width + +`length = ep.caget('SATOP11-PSAS079:WIDTH')` +`e_axis =np.arange(length)` +`ep.caput('SATOP11-PSAS079:SPECTRUM_X',e_axis)` \ No newline at end of file