From 53ca29f00c0760274a7d4af04123f33bcbfee836 Mon Sep 17 00:00:00 2001 From: Colm Talbot <colm.talbot@monash.edu> Date: Thu, 14 Jun 2018 18:36:24 +1000 Subject: [PATCH] fix detector tensor --- tupak/gw/detector.py | 4 ++-- tupak/gw/detectors/H1.interferometer | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tupak/gw/detector.py b/tupak/gw/detector.py index ac17539cf..c2e7273bd 100644 --- a/tupak/gw/detector.py +++ b/tupak/gw/detector.py @@ -292,9 +292,9 @@ class Interferometer(object): n - unit vector along arm in cartesian Earth-based coordinates """ if arm == 'x': - return self.__calculate_arm(self.xarm_tilt, self.xarm_azimuth) + return self.__calculate_arm(self.__xarm_tilt, self.__xarm_azimuth) elif arm == 'y': - return self.__calculate_arm(self.yarm_tilt, self.yarm_azimuth) + return self.__calculate_arm(self.__yarm_tilt, self.__yarm_azimuth) else: logging.warning('Not a recognized arm, aborting!') return diff --git a/tupak/gw/detectors/H1.interferometer b/tupak/gw/detectors/H1.interferometer index 7289cf0b9..b524b929d 100644 --- a/tupak/gw/detectors/H1.interferometer +++ b/tupak/gw/detectors/H1.interferometer @@ -10,6 +10,6 @@ latitude = 46 + 27. / 60 + 18.528 / 3600 longitude = -(119 + 24. / 60 + 27.5657 / 3600) elevation = 142.554 xarm_azimuth = 125.9994 -yarm_azimuth = 215.994 +yarm_azimuth = 215.9994 xarm_tilt = -6.195e-4 yarm_tilt = 1.25e-5 -- GitLab