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 whose foot is 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 weights stilt.Footprint.calculate() gives the particles.

Return type:

Series

Parameters: