Loading minke/mdctools.py +7 −7 Original line number Diff line number Diff line Loading @@ -6,7 +6,6 @@ from minke.antenna import response from lal import TimeDelayFromEarthCenter as XLALTimeDelayFromEarthCenter from pylal.xlal.datatypes.ligotimegps import LIGOTimeGPS #from pylal import inject from glue.ligolw.utils import process import glue Loading Loading @@ -255,10 +254,11 @@ class MDCSet(): The LAL object describing the detector """ # get detector if det not in lal.cached_detector_by_prefix.keys(): raise ValueError, "%s is not a cached detector. "\ "Cached detectors are: %s" % (det, inject.cached_detector.keys()) return lal.cached_detector_by_prefix[det] return lalsimulation.DetectorPrefixToLALDetector(det) #if det not in lal.cached_detector_by_prefix.keys(): # raise ValueError, "%s is not a cached detector. "\ # "Cached detectors are: %s" % (det, inject.cached_detector.keys()) #return lal.cached_detector_by_prefix[det] def _timeDelayFromGeocenter(self, detector, ra, dec, gpstime): """ Loading Loading
minke/mdctools.py +7 −7 Original line number Diff line number Diff line Loading @@ -6,7 +6,6 @@ from minke.antenna import response from lal import TimeDelayFromEarthCenter as XLALTimeDelayFromEarthCenter from pylal.xlal.datatypes.ligotimegps import LIGOTimeGPS #from pylal import inject from glue.ligolw.utils import process import glue Loading Loading @@ -255,10 +254,11 @@ class MDCSet(): The LAL object describing the detector """ # get detector if det not in lal.cached_detector_by_prefix.keys(): raise ValueError, "%s is not a cached detector. "\ "Cached detectors are: %s" % (det, inject.cached_detector.keys()) return lal.cached_detector_by_prefix[det] return lalsimulation.DetectorPrefixToLALDetector(det) #if det not in lal.cached_detector_by_prefix.keys(): # raise ValueError, "%s is not a cached detector. "\ # "Cached detectors are: %s" % (det, inject.cached_detector.keys()) #return lal.cached_detector_by_prefix[det] def _timeDelayFromGeocenter(self, detector, ra, dec, gpstime): """ Loading