effective_temperature

effective_temperature

frei.effective_temperature(grid, spec, dtaus, final_temps)[source]

Compute effective temperature of an atmosphere given the outputs from emit.

This is the mean of the effective temperatures computed from Milne’s solution and the Stefan-Boltzmann law.

Parameters
  • grid (Grid) – Wavelength, pressure and temperature grid

  • spec (Spectrum1D) – Emission spectrum

  • dtaus (ndarray) – Change in optical depth in final iteration

  • final_temps (Quantity) – Temperature grid in the final iteration