Closed jsdillon closed 1 year ago
Base: 97.04% // Head: 97.04% // No change to project coverage :thumbsup:
Coverage data is based on head (
54694b2
) compared to base (466a027
). 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.
This PR avoids an unnecessary nanmedian speeding up calc_corr_stats() from 11.3s to 9.16s on a pre-loaded file from last night (which is the dominant component of ant_metrics, which takes 13.2 s).
I can't see a way of making calc_corr_stats much faster without vastly increasing the memory footprint by building a giant array of visibilities from many baselines and then doing some clever vectorization of the code. @tyler-a-cox if you have any ideas, I'm all ears.