runtraj.transforms.release_coordinate#
- runtraj.transforms.release_coordinate(particles, coordinate)[source]#
Return each particle’s value of
coordinateat release, indexed byparticle.Some columns, such as
release_height, are constant along a trajectory. Others, such aspres, change at every time step. The release value is taken from the row nearest the release time (smallest|time|), or from the first row when there is no numericagecolumn.particles are one simulation’s: in a table of several, particle numbers repeat. Split it by simulation first.