decode.correct module#

for_atmosphere(dems: DataArray, include_on: Sequence[T] | T, include_off: Sequence[T] | T, include_r: Sequence[T] | T, /, method_off: str = 'linear', method_r: str = 'nearest', T_amb: float = 273.0) DataArray[source]#

Correct for the atmospheric transmission of DEMS.

Parameters:
  • dems (DataArray) – Input DEMS DataArray with a correct state coordinate.

  • include_on (Sequence[T] | T) – State value(s) to be assigned to on-source samples.

  • include_off (Sequence[T] | T) – State value(s) to be assigned to off-source samples.

  • include_r (Sequence[T] | T) – State value(s) to be assigned to hot-load samples.

  • method_off (str) – Interpolation method of the off-source samples to the measured time of the on-source samples.

  • method_r (str) – Interpolation method of the hot-load samples to the measured time of the on-source samples.

  • T_amb (float) – Ambient temperature assumed for correction.

Returns:

DEMS DataArray of the on-source samples in the Ta* scale.

Return type:

DataArray