Closed jsdillon closed 1 year ago
Base: 97.18% // Head: 97.18% // Increases project coverage by +0.00%
:tada:
Coverage data is based on head (
fd0651d
) compared to base (9b7c3f4
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Here's the after:
I noticed when running notebooks at NRAO that I was getting memory errors I didn't expect. Doing an mprof, I found a spike which I traced back to
RFI_delay_slope_cal
This PR takes part of of the calculation of the per-baseline delay in RFI cal out of np.einsum and puts it into a loop to improve memory usage. It's about 15% slower (on my laptop, it's 2.85 seconds vs. 2.48 seconds), but a factor of Nrfi_chans more memory efficient, which seems like a great trade-off.