sambit-giri / tools21cm

MIT License
22 stars 18 forks source link

Model foreground for 3D data #31

Closed micbia closed 2 years ago

micbia commented 2 years ago

Modified the foreground_model.py script so that now can automatically calculate galactic and extra-galactic foreground models for a cube or lightcone (3D data) and not only images (2D data). Based on the redshift provided, if a list, it assumes that the third dimension is the frequency axis, otherwise it works as always