-
Notifications
You must be signed in to change notification settings - Fork 21
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
Specifying an aperture changes effective wavelength of observation #64
Comments
Please also provide your |
|
If you look at the wavelengths and throughputs in acs_wfc_aper_002_syn.fits for aperture APER#0.4, you'll see that the throughput of the aperture is changing in the neighborhood of 9000 angstroms. Here are a few numbers: wavelength throughput |
@philhodge is right, APER throughput is not uniform across wavelength (see plot below). It is effectively shifting effective wavelength to bluer side. ETC claims that they don't use APER but rather just apply a scalar aperture correction (if I understood @vglaidler correctly), so that is why ETC result shows no change in effective wavelength. If you want PySynphot's |
Maybe the issue here is the order of operations. Shouldn't the aperture correction be applied AFTER the source and bandpass have been convolved? It sounds like maybe pysynphot is including the aperture correction table in the total system throughput. My understanding of what the ETC does is to calculate the effective wavelength of the observation (not including aperture correction), then use that effective wavelength to select a value from their encircled energy table (which is the same as the table in 'acs_wfc_aper_002_syn.fits'), and apply the result to the count rates. |
AFAIK the current behavior was inherited from IRAF SYNPHOT. @vglaidler could confirm since she did a very comprehensive commissioning campaign comparing the two. What you are suggesting is a completely different way of treating aperture correction within PySynphot. I am not sure whether I want to support this here or not since this package is no longer being actively developed. 😬 Aperture correction is documented at http://pysynphot.readthedocs.io/en/latest/appendixb.html#pysynphot-parameterized-aper but it is unclear from the text on how it is applied technically. |
If I create two Observation objects, one with an aperture size specified in the bandpass, and one without an aperture size specified, the effective wavelength of the two observations is different. I would expect that the effective wavelength of an observation would not depend on the aperture size used, only on the source spectrum and the system throughput.
Example:
Note also that specifying the largest recommended aperture size for this detector, 4.0 arcsec, gives the same effective wavelength as omitting the aperture size:
Edit: Syntax highlighting
The text was updated successfully, but these errors were encountered: