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
It makes more sense to do the reverse operation. We should remove
sersic_lumfrom here and place it inoldSersicProfileinstead. 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