Expand description
Distortion extraction and characterization.
Given the photon distortion Δn(x), extract the standard distortion parameters (μ, y, temperature shift) and compute residuals.
Structs§
- Distortion
Params - Complete distortion decomposition result.
Constants§
- DEFAULT_
DECOMP_ X_ MAX - DEFAULT_
DECOMP_ X_ MIN - Default frequency band for Gram-Schmidt and B&F decompositions.
- FIRAS_
MU_ LIMIT - FIRAS 95% CL upper limits on spectral distortion parameters.
- FIRAS_
Y_ LIMIT
Functions§
- decompose
- Convenience wrapper: returns (mu, y, delta_t_over_t) tuple.
- decompose_
distortion - Decompose a spectral distortion into μ, y, and temperature shift components.
- decompose_
gram_ schmidt - CJ2014 Appendix A: Gram-Schmidt decomposition over a frequency band.
- decompose_
nonlinear_ be - Bianchini & Fabbian (2022) nonlinear fit: μ inside the BE exponential.
- decomposition_
band_ count - Number of grid points falling inside the default μ/y decomposition
band [
DEFAULT_DECOMP_X_MIN,DEFAULT_DECOMP_X_MAX]. - delta_
n_ to_ intensity_ mjy - Convert distortion Δn(x) to specific intensity ΔI_ν in MJy/sr.
- firas_
check - Check distortion parameters against FIRAS limits. Returns (mu_fraction, y_fraction) as fraction of the FIRAS limit.