Closed jsdillon closed 1 year ago
Patch coverage: 100.00%
and no project coverage change.
Comparison is base (
f716161
) 95.99% compared to head (f3f271d
) 95.99%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR replaces a couple of lingering
freq_array[0]
with np.squeeze() which works for both past and future array shapes.I've added a unit test that fails on the current main branch and passes (I hope!) on this branch.
Finally, while searching the repo for
freq_array[0]
I found a couple of calculations of delta nu that aren't quite right (they take the middle freq of the first and last bin and divide by the number of bins, when really want you want to do is a diff... that calculation will be wrong by a factor of 2 in the limit where there are only 2 frequency channels). So I fixed those too.