Skip to content

Commit

Permalink
make polarization optional in project_wave
Browse files Browse the repository at this point in the history
  • Loading branch information
acorreia61201 committed Nov 18, 2024
1 parent 28e37d4 commit 3589c23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pycbc/detector/space.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ def get_links(self, hp, hc, lamb, beta, polarization=0,

return wf_proj

def project_wave(self, hp, hc, lamb, beta, polarization, reference_time=None,
def project_wave(self, hp, hc, lamb, beta, polarization=0, reference_time=None,
tdi=1, tdi_chan='AET', use_gpu=None, pad_data=False,
remove_garbage=True, t0=1e4):
"""
Expand Down Expand Up @@ -756,7 +756,7 @@ def project_wave(self, hp, hc, lamb, beta, polarization, reference_time=None,
beta : float
The ecliptic latitude in the SSB frame.
polarization : float
polarization : float (optional)
The polarization angle of the GW in radians.
reference_time : float (optional)
Expand Down Expand Up @@ -867,5 +867,5 @@ def orbits_init(self, **kwargs):
def get_links(self, hp, hc, lamb, beta, **kwargs):
return self.backend.get_links(hp, hc, lamb, beta, **kwargs)

def project_wave(self, hp, hc, lamb, beta, polarization, **kwargs):
return self.backend.project_wave(hp, hc, lamb, beta, polarization, **kwargs)
def project_wave(self, hp, hc, lamb, beta, **kwargs):
return self.backend.project_wave(hp, hc, lamb, beta, **kwargs)

0 comments on commit 3589c23

Please sign in to comment.