next up previous contents index
Next: Continuum drift description (for Up: The Header and Data Previous: Hyperfine structure profile fit   Contents   Index

Hyperfine structure absorption profile fit results (for spectra)

Observation version 1 (dynamic size) since 22-feb-2021:
The section size is now dynamic and can offer space for less or more than 5 lines, always with mabslin $\ge$ nline. mabslin, and thus the array sizes (mabsfit), is implicit and can be guessed from the section length (by reverting the class_sec_abs_len formula below). Using mabslin $= 5$ ensures backward compatibility with older CLASS versions. Other values are read incorrectly with such versions.

Observation version 1 (static size):

  ! ABS: "Hyperfine Structure" absorption profile fit results (e.g. NH3, HCN, for spectra).
  integer(kind=4), parameter :: class_sec_abs_id=-18   ! Absorption fit
  integer(kind=4), parameter :: mabslin=5
  integer(kind=4), parameter :: nabspar=3  ! Number of parameters per line
  integer(kind=4), parameter :: mabsfit=1+nabspar*mabslin  ! First is continuum
  integer(kind=4), parameter :: class_sec_abs_len=3+2*mabsfit
  type absorption
     sequence
     integer(kind=4) :: nline          ! Number of components
     real(kind=4)    :: sigba          ! Sigma on base
     real(kind=4)    :: sigra          ! Sigma on line
     real(kind=4)    :: nfit(mabsfit)  ! Fit results
     real(kind=4)    :: nerr(mabsfit)  ! Errors
  end type absorption



Gildas manager 2024-04-19