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