Skip to content

Commit

Permalink
add flr warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
acorreia61201 committed Nov 14, 2024
1 parent 446d186 commit 70569b0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pycbc/detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -1193,6 +1193,8 @@ def __init__(self, use_gpu=False, **kwargs):
"""
super().__init__(**kwargs)
self.use_gpu = use_gpu
logging.warning('WARNING: FastLISAResponse TDI implementation is a work in progress. ' +
'Currently unable to reproduce LDC or BBHx waveforms.')

def orbits_init(self, orbits):
"""
Expand Down Expand Up @@ -1228,13 +1230,12 @@ def orbits_init(self, orbits):
class CustomOrbits(detector.Orbits):
def __init__(self):
super().__init__(orbits)

o = CustomOrbits()

self.orbits = o
self.orbit_start_time = self.orbits.t_base[0]
self.orbit_end_time = self.orbits.t_base[-1]

def get_links(self, hp, hc, lamb, beta, polarization=0,
reference_time=None, use_gpu=None):
"""
Expand Down Expand Up @@ -1382,7 +1383,7 @@ def project_wave(self, hp, hc, lamb, beta, polarization, reference_time=None,
# set use_gpu
if use_gpu is None:
use_gpu = self.use_gpu

# generate the Doppler time series
self.pad_data = pad_data
self.remove_garbage = remove_garbage
Expand Down

0 comments on commit 70569b0

Please sign in to comment.