-
Notifications
You must be signed in to change notification settings - Fork 26
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
flux density shift to rest frame is not correct #294
Comments
I looked into this again, with some equations on paper, and I don't think the mixed units are relevant for the line you indicated above. I can't find those notes, so I'm typing it out here for preservation. We should not try to preserve (or make sense of ) the area spanned by The fact that we express the intensity as a function of the wavelength, That being said, here is how I obtained the factor (1+z) in my equation. The quantity that we are converting in the code mentioned above, is simply with
Filling this all in yields In the above, the equation remains the same regardless of putting |
Agree. And our analytic power formulations all respect this. They are based on So it is not the "plotting convenience" of the x-axis using for (Drude, Gaussian). Notice, importantly, that two identical features with the same amplitudes Executive SummaryFeature powers are BackgroundAgain imagine for simplicity that some combination of dust features in the Universe produced a source with an exact top-hat spectrum and no continuum: Gathering the integrated power (in C.f. the expression above for Gaussian power, which includes an implicit and now we can integrate the power again, this time in the rest frame, as: By inspection, you can see that to recover the same power no matter whether the integral is performed in the observed-frame or rest-frame, we must set Actual PAHFIT implementationNow, you may object, this integrals above are not what we are actually doing. And you have a point. We perform the fit in the rest frame, but what matters is how we interpret the fitted values (here, for simplicity, LinesThe FWHM of our unresolved lines is set by an instrument model, naturally in the observed frame. As we discussed in the PR, in the rest frame, these widths are narrowed (by Dust FeaturesThis is basically the same case, except for the fact that BTW, the fact that dust features have intrinsic widths in the rest frame is the main reason we want to fit in that frame. So both of these case (and the simple thought experiment above) indicate that we should scale our |
Thanks for the write-up JD. I did notice, while implementing the power-features, that the definition of the FWHM as a wavelength quantity makes things less intuitive. I will have to re-read my code, and see if what I did for PowerDrude and PowerGaussian is consistent with the above. What you wrote down explains how the power of one of our features transforms with redshift. And to obtain your preferred transformation for However, I don't fully understand why you would want to preserve the integrated power. Doesn't the integrated power of a spectrum scale with redshift, physically speaking? It sounds like you are trying to set up some sort of "convenience property" of the data we are fitting: the convenience that fitting the redshift-corrected data would result in the same integrated power value. But which integrated power do we want then? The one in the observed frame, or the one in the rest frame? |
In terms of power changing with wavelength, the easiest way to think about it is that all our functions are
It simply must be. Imagine two JWST users examining the same spectrum of a z=1 galaxy with a bright [ArII] line (7µm rest). They see it at 14µm.
Suppose User 1 (observed frame fitter) and User 2 (rest frame fitter) got different values for the integrated intensity of the [ArII] line, and published those values? Which one is correct? Both have done something sensible. There is one and only one true integrated intensity of [ArII] for this galaxy (at the location of the Earth anyway). The only possible resolution is that they should get the same value. Power certainly scales with redshift, when you consider physically moving a given source with redshift, to a different distance. But that's not what we're doing here. What we're doing is imagining a fictitious source in the rest frame that has just the perfect properties (by our arrangement) to ensure we get the same integrated intensity for the same features as we would have measured them in the observed frame. So rather than an assumption, constant power is an a priori edict. The point of our scaling |
Ok, then it seems like we had different purposes in mind for the "redshift" utility. My thought process was that the following two cases should yield the same result
So then the question would be: how does a typical high-redshift observer correct their data. Do they adjust the value of We can certainly implement it the way you envision it, and I see how it would be useful. But I don't know which of our two ideas would be the most expected behavior, or should I say: what would provide the "least astonishment" for someone who is experienced with redshifted spectra. |
I worried about this too, but it falls in the category of "protecting users from their own mistakes". There may in fact be optical observers who do
I fear that the issue of mixed units will be indeed somewhat astonishing to people when they finally understand it. But we can't read what's in their mind. Maybe the best way to describe it is we implement features in an But I can guarantee one thing: if an observer fits the line in the observed frame, does a proper integral to get an integrated intensity, they will 100% expect that same value to obtain if the fit is instead done in the rest frame. @sarduval plans to do a short experiment testing that, just to be completely confident of our choice here. |
pahfit/pahfit/model.py
Line 330 in 45d1497
Because of our "mixed"
f_nu
vs.lambda
units, shifting to the rest frame requires dividing the observed flux density by(1+z)
, not multiplying by it.The way to see this is to imagine a top-hat feature with some constant flux
f_nu
, widthdlam
, and powerP=f_nu dlam
. The width corresponds to frequency widthdnu = c/lam^2 dlam
. When de-redshifting back to the rest frame, bothlam
anddlam
decrease by a factor of(1+z)
, sodnu
correspondingly increases by this factor. Shifting to the rest frame shifts to higher frequency and higherdnu
.To preserve the power measured in our hypothetical top-hat feature, I think we need to divide
f_nu
by(1+z)
, not multiply. Mixed units strike again.The text was updated successfully, but these errors were encountered: