stilt.observations.backgrounds.endpoint_weights#
- stilt.observations.backgrounds.endpoint_weights(particles, transforms=(), context=None)[source]#
Each particle’s weight at its endpoint after the transforms, indexed by
indx.A transform is a multiplicative factor on
foot, so applying the transforms to a table whosefootis one everywhere leaves that factor behind: the averaging kernel and pressure weight of the particle, and the lifetime decay at its endpoint age. Without transforms every weight is one. Divided by the particle count, these are the weightsstilt.Footprint.calculate()gives the particles.