From d10acdce17eb3766587bda56d3e5a75bd9ab26d6 Mon Sep 17 00:00:00 2001 From: jochenstahn Date: Thu, 29 Feb 2024 13:26:05 +0100 Subject: [PATCH] applied round() to mu and nu --- neos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neos.py b/neos.py index 2dab074..f9b7bb3 100644 --- a/neos.py +++ b/neos.py @@ -389,8 +389,8 @@ class AmorData: wavelength = fileio.ValueRange(defs.lamdaCut, clas.lambdaRange[1], 'angstrom'), 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') + header.measurement_instrument_settings.mu = fileio.Value(round(self.mu, 3), 'deg', comment='sample angle to horizon') + header.measurement_instrument_settings.nu = fileio.Value(round(self.nu, 3), 'deg', comment='detector angle to horizon') if norm: header.measurement_additional_files.append(fileio.File(file=fileName.split('/')[-1], timestamp=fileDate)) else: