-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: support for spectral flux-per-area #261
Comments
How do astronomers convert between MJy/sr and MJy? How exactly do you envision Thanks! |
I can't speak for most astronomers (extragalactic work was not my field) but in the JWST ETC, the backgrounds are given in Megajanskies per steradian, converted to millijanskies per cm^2, and then to millijanskies per pixel to be applied to our model scene. It's then integrated over our apertures to provide scalar numbers. |
Can JWST ETC please provide a standalone and real-life example with such a conversion? |
it's a surface brightness. to convert to integrated flux (i.e. Jy) you provide an area to integrate over.
the background is 1 MJy/sr and this calculates the integrated background in a 0.15"x0.15" pixel (0.52884969 𝜇Jy). |
So, a pixel scale is needed, which means it is instrument specific. 🤔 Do you simply want |
it's not instrument-specific, per se, it just needs an area (more precisely solid angle) to integrate over. this can be a pixel scale or aperture size or whatever has valid solid angle units (e.g. sr or arcsec**2). i think ideally |
It's more about thinking carefully how it would interact with all the other existing objects and methods. What happens when you pass surface brightness into an Observation? What happens when you add it to some other source? What does calculating |
in principle, most if not all of the spectral operations should pass thru and not care if it's flux or flux/solid angle. e.g. |
Yes, I agree. Therefore, I would like to know what exactly that JWST ETC needs here first. |
Apparently, a 1.0 release is going to happen by Fall (not my choice), so if you want this in, please let me know how to proceed. cc @vglaidler |
JWST ETC has confirmed that this is not needed for 1.0 release as they have a workaround from the PySynphot days. |
@talister also requested this in #372 (comment) . However, it is still unclear to me whether there is an universal standard to obtain the pixel scale to get rid of the "per area" from various instruments/observatories to make coding this up less painful. And how this "per area" should be accounted for in the various photometric calculations that are already supported. If there is a write-up somewhere that I can implement, would be possible. Without that, I do not have time to dive into this. |
The JWST ETC uses backgrounds given in MJy/sr (extended source brightness units), but synphot does not support this.
It would be convenient to the project (and presumably astronomers working with extended sources like galaxies or nebulae) to support MJy/sr as a spectral unit.
The text was updated successfully, but these errors were encountered: