stilt.transforms.PressureWeighting.apply#

PressureWeighting.apply(particles, context=None)[source]#

Weight each particle by its share of the column’s air mass.

Return type:

DataFrame

Parameters:
  • particles (DataFrame)

  • context (TransformContext | None)