Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
titodalcanton committed Jul 12, 2024
1 parent 01de4e0 commit 9626c00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycbc/tmpltbank/sky_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ def calculate_antenna_patterns(self, detector_names, gps_time):
result[det_name] = np.empty((len(self), 2))
for i, (ra, dec) in enumerate(self):
result[det_name][i] = det.antenna_pattern(
ra, dec, 0, polarization=0, t_gps=gps_time
ra, dec, 0, t_gps=gps_time
)
return result

def calculate_time_delays(self, detectors, gps_time):
def calculate_time_delays(self, detector_names, gps_time):
"""Calculate the time delays from the Earth center to a list of GW
detectors at each point in the grid. Return a dict, keyed by detector
name, whose items are 1-dimensional Numpy arrays containing the time
Expand Down

0 comments on commit 9626c00

Please sign in to comment.