From b3c745b408f547fcec2a437431abaa2b4ddcd89f Mon Sep 17 00:00:00 2001 From: Artur Glavic Date: Fri, 23 Feb 2024 11:05:01 +0100 Subject: [PATCH] Polarization from Enum --- neos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neos.py b/neos.py index 9d2625e..108512b 100644 --- a/neos.py +++ b/neos.py @@ -387,7 +387,7 @@ class AmorData: self.mu+self.kap+self.kad+0.5*self.div, 'deg'), wavelength = fileio.ValueRange(defs.lamdaCut, clas.lambdaRange[1], 'angstrom'), - polarization = 'unpolarized', + polarization = fileio.Polarization.unpolarized, ) header.measurement_instrument_settings.mu = fileio.Value(self.mu, 'deg', comment='sample angle to horizon') header.measurement_instrument_settings.nu = fileio.Value(self.nu, 'deg', comment='detector angle to horizon')