stilt.observations.Background#

class stilt.observations.Background(value: 'float', per_particle: 'pd.Series', weights: 'pd.Series') → None[source]#

Result of background().

value is the background at the receptor, weighted like the footprint: Σ weights × per_particle. per_particle is the field at each particle’s endpoint, indexed by indx; NaN where the endpoint lies outside the field. weights is each particle’s share, indexed the same way: 1 / N each without transforms, so they sum to one; with pressure weighting they sum to the fraction of the column’s air mass the particles cover. Particles without a value are left out of value and the others carry their weight, as if they had the same mean.

Attributes#

value

per_particle

weights