SSantosLab / Main-Injector

2 stars 4 forks source link

Multi-order skymaps - long term #15

Open seanmacb opened 6 months ago

seanmacb commented 6 months ago

See #14, but a proper treatment of multi-order skymaps to enhance efficiency of Main-Injector

seanmacb commented 6 months ago

can we close this if flattened skymaps are identical? @nixnyxnyx

seanmacb commented 6 months ago

from @and-santos

I can see some ideas, and had tried a few, unsuccessfully though :disappointed: Adapting strategy to use multiorder would help a lot, given its describes the same credible region with far less pixels. There is redundant calculation or / not optimal in functions that are being called multiple times (like calc_mag_fractions for example). I belive that come up with smart ways to get rid of the loops/list comprehensions and using multiorder skymaps would improve a lot the total time its take to come up with a strategy.