From f7ccce319052f6955deed5b474ebf0e0dec9c4d3 Mon Sep 17 00:00:00 2001 From: Marco Sertoli Date: Thu, 4 Jul 2024 13:23:38 +0100 Subject: [PATCH] Fixed XRCS wavelength rescaling --- indica/readers/st40reader.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/indica/readers/st40reader.py b/indica/readers/st40reader.py index fd9e1c88..4119b339 100644 --- a/indica/readers/st40reader.py +++ b/indica/readers/st40reader.py @@ -296,13 +296,8 @@ def _get_helike_spectroscopy( uid, instrument, ":time", results["revision"] ) wavelength, _ = self._get_signal( - uid, instrument, ":wavelength", results["revision"] + uid, instrument, ":wavelen", results["revision"] ) - # TODO: change once wavelength in MDS+ has been fixed to nanometers! - wavelength /= 10.0 - if self.pulse >= 10307: - dlambda = float(np.abs(wavelength[1] - wavelength[0])) * 4 - wavelength += dlambda results["wavelength"] = wavelength for q in quantities: