UPennEoR / ml_rfi

Machine learning applied to RFI flagging
BSD 2-Clause "Simplified" License
8 stars 4 forks source link

Optimize fold() and unfold() functions #1

Closed jkerrigan closed 6 years ago

jkerrigan commented 6 years ago

Both functions can be optimized but aren't any specific bottleneck as of now.

jkerrigan commented 6 years ago

A new fold() has been added but not implemented, it uses a reshape and map to hopefully (?) be a bit more optimized than several loops. It still requires an unfold() inverse however.

jkerrigan commented 6 years ago

I think I've accomplished this, and map scales better than using for loops.