Skip to content
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

Units of (modified) Blackbody amplitude #296

Open
drvdputt opened this issue Jul 9, 2024 · 2 comments
Open

Units of (modified) Blackbody amplitude #296

drvdputt opened this issue Jul 9, 2024 · 2 comments

Comments

@drvdputt
Copy link
Contributor

drvdputt commented Jul 9, 2024

Currently, tau is used as the strength of the blackbody (stellar continuum) and modified Blackbody (dust continuum) components, and the equation for evaluating the blackbody looks like this

            amplitude
            * 3.97289e13
            / x**3
            / (np.exp(1.4387752e4 / x / temperature) - 1.0)

where the fitted amplitude is reported as tau in the Features table.

In general, the fact the we often have to deal with the tails of the blackbody profile, makes them hard to use. In my experience, the typical order of magnitude of the resulting tau values can be very different, scaling strongly with the temperature of the blackbody. I feel like this causes numerical issues sometimes; very often, the minimizer will use only two components, while all the rest of the tau values are set to 0.

We could think of an alternate parameterization / normalization for these components. A few ideas:

  • Amplitude at the peak wavelength. This becomes a problem however when the peak is far "off screen", and only the tail of the blackbody is seen
  • Amplitude at a fixed wavelength, say 20 or 30 microns. Would be ok for most dust components, since at most dusty temperatures, the blackbody profile will have a reasonable contribution there. This will not work for the stellar component however.
  • Total power: we could introduce something like "PowerBlackbody". Again, this might be problematic for components that peak far outside the wavelength range. But at least it would allow us to set reasonable and perhaps physically motivated upper limits.
@jdtsmith
Copy link
Contributor

Missed this.

I'm not actually sure the zero amplitudes result from numerical instability or "tail fitting", but rather their unimportance to the final continuum shape. $\tau$ is roughly the "amplitude at the peak", which as you say may be far higher and off to the red from the fitted wavelength regime. I don't think total power of a blackbody makes a lot of sense, since that is not anywhere constrained, and might encourage people to interpret it as total IR luminosity. Fixed wavelength amplitude might be OK, but given the fixed temperatures (typically) this would just be a constant numerical scaling of the amplitude by some set of factors of order 1-10 (guessing).

$\tau$ does intrinsically have surface brightness unit scaling. $\tau_\star$ can thus be interpreted as the fraction of the aperture occupied by the surface of stars (which we consider equivalent). We could normalize that to some fixed fractional value and use those for our internal $\tau$ units, but I'd like to be convinced there's a numerical issue in the first place.

@jdtsmith
Copy link
Contributor

jdtsmith commented Dec 2, 2024

very often, the minimizer will use only two components, while all the rest of the tau values are set to 0.

BTW, I have seen this recently, and suspect it might have to do with #301 sticking near bounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants