runtraj.transforms.FirstOrderLifetime#
- class runtraj.transforms.FirstOrderLifetime(*, kind: Literal['first_order_lifetime'] = 'first_order_lifetime', lifetime_hours: Annotated[float, Gt(gt=0)]) None[source]#
Transform that decays each row’s
weightbyexp(-age / lifetime).ageis the particle’s time since release, itsagecolumn (minutes), and the lifetime is the species’ e-folding lifetime.
Methods#
|
Return the particles with |