spacetelescope / STScI-STIPS

STScI-STIPS
https://stips.readthedocs.io
14 stars 16 forks source link

Handling of Sersic profile normalization #183

Open gmzsebastian opened 5 months ago

gmzsebastian commented 5 months ago

It makes more sense to do the reverse operation. We should remove sersic_lum from here and place it in oldSersicProfile instead. That way the default will be such that the input magnitude of an extended source will be normalized to infinity.

https://github.com/spacetelescope/STScI-STIPS/blob/b5a5e608d26294dda0a6894b354a125a93cc8ab0/stips/astro_image/astro_image.py#L758C9-L758C13