From 312b241e967ad25db3b0524e34f6f891e0d84a67 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bayle <j2b.bayle@gmail.com> Date: Wed, 3 Feb 2021 18:48:28 +0100 Subject: [PATCH] Use vanishing `d_pprs` for default orbits --- lisainstrument/instrument.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lisainstrument/instrument.py b/lisainstrument/instrument.py index 563c5d0..47ec2c4 100644 --- a/lisainstrument/instrument.py +++ b/lisainstrument/instrument.py @@ -266,16 +266,13 @@ class Instrument: ) orbitf.close() elif orbits is None: - logging.info("No orbit file provided, using default set of proper pseudo-ranges and derivatives thereof") + logging.info("No orbit file provided, using default set of constant proper pseudo-ranges") self.orbit_file = None self.pprs = ForEachMOSA({ # Default PPRs based on first samples of Keplerian orbits (v1.0) '12': 8.3324, '23': 8.3028, '31': 8.3324, '13': 8.3315, '32': 8.3044, '21': 8.3315, }) - self.d_pprs = ForEachMOSA({ # Default PPR derivatives based on first samples of Keplerian orbits (v1.0) - '12': 3.1977E-9, '23': -5.0241E-9, '31': -3.1977E-9, - '13': -3.1977E-9, '32': -5.0252E-9, '21': 3.1977E-9, - }) + self.d_pprs = ForEachMOSA(0) else: raise TypeError(f"invalid orbits '{orbits}', should be path to orbit file or None") -- GitLab