HERA-Team / hera_pspec

HERA power spectrum estimation code and data formats
http://hera-pspec.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Speed up V, G, H, W, and M matrix calculations with FFTs #258

Open aewallwi opened 4 years ago

aewallwi commented 4 years ago

Many of the matrices we care about can be computed with ffts when sampling=True and Ndlys == Nfreqs. Lets do that. We should also consider making computations default to ffts when Ndlys == Nfreqs and sampling=True.

philbull commented 3 years ago

This can be cherry-picked out of #236

aewallwi commented 3 years ago

@philbull , sounds good. I think we can also use FFTs even when Ndlys != Nfreqs by padding out to a number that is divisible by Ndlys.