stilt.observations.PlumeBackground#

class stilt.observations.PlumeBackground(value: 'float', uncertainty: 'float', n: 'int', in_plume: 'np.ndarray', used: 'np.ndarray', sides: 'pd.DataFrame') → None[source]#

Result of plume_background().

value is the background: the median of the soundings used. uncertainty combines their spread with their retrieval uncertainty in quadrature (NaN for the retrieval part when none was given). in_plume marks the soundings inside the plume, used those the value came from; both are boolean arrays aligned with the input. sides is the same statistic for each side of the plume separately, one row per side (north, south, east, west) with n, mean, median, std, retrieval_std and uncertainty columns, so you can see whether the sides agree and pick one with side=.

Attributes#

value

uncertainty

n

in_plume

used

sides