pub struct SolverSnapshot {
pub z: f64,
pub delta_n: Vec<f64>,
pub rho_e: f64,
pub mu: f64,
pub y: f64,
pub delta_rho_over_rho: f64,
pub accumulated_delta_t: f64,
}Expand description
State of the photon distribution at a single redshift.
Returned by ThermalizationSolver::run_with_snapshots. The distortion
amplitudes (mu, y, accumulated delta_t) are extracted from delta_n
by a joint least-squares decomposition; see crate::distortion.
Fields§
§z: f64Redshift of this snapshot.
delta_n: Vec<f64>Photon occupation-number perturbation Δn(x) = n(x) − n_Planck(x)
on the solver’s frequency grid.
rho_e: f64Electron-to-photon temperature ratio ρ_e = T_e / T_z at this redshift.
mu: f64Bose-Einstein chemical-potential-like distortion amplitude μ.
y: f64Compton y-parameter distortion amplitude.
delta_rho_over_rho: f64Fractional energy injected by the active scenario up to this
redshift, Δρ / ρ.
accumulated_delta_t: f64Cumulative temperature shift ΔT/T subtracted by the number-conserving
machinery (non-zero only when number_conserving is enabled).
Implementations§
Source§impl SolverSnapshot
impl SolverSnapshot
Sourcepub fn brightness_temp(&self, x_grid: &[f64]) -> Vec<f64>
pub fn brightness_temp(&self, x_grid: &[f64]) -> Vec<f64>
Brightness-temperature deviation T(x)/T_CMB − 1 on the given grid.
Trait Implementations§
Source§impl Clone for SolverSnapshot
impl Clone for SolverSnapshot
Source§fn clone(&self) -> SolverSnapshot
fn clone(&self) -> SolverSnapshot
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more