runtraj.transforms.PressureWeighting.apply#
- PressureWeighting.apply(particles, release=None, directory=None)[source]#
Return the particles with
weightmultiplied by the pressure weight.The release heights are in the release’s
altitude_ref, and taken to be above ground without a release. A table of several simulations is weighted one simulation at a time.