Closed texadactyl closed 2 years ago
Starting at line 103:
# Compute drift rate values in Hz/s corresponding to dedopp axis=0
dd_vals = dd_shifts * delta_dd
metadata['drift_rate_start'] = dd_vals[0] * u.Hz / u.s
metadata['drift_rate_step'] = delta_dd * u.Hz / u.s
metadata['drift_rates'] = dd_vals # <------------------------------------------------------------- insert this
Fixed in PR #45.
Function
hitsearch
in hits.py is expecting the metadata to contain a numpy array calleddrift_rates
. But, none of its callers are creating it.