astropy:docs

cde_correct

omnifit.utils.cde_correct(freq, m)[source] [edit on github]

Generate a CDE-corrected spectrum from a complex refractive index spectrum.

Parameters:

freq : numpy.ndarray

The frequency data of the input spectrum, in reciprocal wavenumbers (cm^-1).

m : numpy.ndarray

The complex refractive index spectrum.

Returns:

A list containing the following numpy arrays, in given order:

  • The spectrum of the absorption cross section of the simulated grain.
  • The spectrum of the absorption cross section of the simulated grain, normalized by the volume distribution of the grain. This parameter is the equivalent of optical depth in most cases.
  • The spectrum of the scattering cross section of the simulated grain, normalized by the volume distribution of the grain.
  • The spectrum of the total cross section of the simulated grain.

Page Contents