stilt.observations.backgrounds.endpoint_weights#
- stilt.observations.backgrounds.endpoint_weights(particles, transforms=(), context=None)[source]#
Return each particle’s transform weight at its endpoint, indexed by
indx.Transforms multiply
foot, so applying them to particles whosefootis 1 leaves each particle’s weight: its averaging kernel and pressure weight, and the lifetime decay at its endpoint age. Without transforms every weight is 1. Divided by the particle count, these are the weightsstilt.Footprint.calculate()gives the particles.