From 5e503a8ad345e1965beb5f83c8f863ede3f6d24c Mon Sep 17 00:00:00 2001 From: arrell_c Date: Tue, 18 Jun 2024 19:31:09 +0200 Subject: [PATCH] Create SATOP11 PSAS079 --- SATOP11-PSAS079.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 SATOP11-PSAS079.md diff --git a/SATOP11-PSAS079.md b/SATOP11-PSAS079.md new file mode 100644 index 0000000..0513c50 --- /dev/null +++ b/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