Temporal analysis - CNR-Engineering/PyTelTools GitHub Wiki

These tools require a 2D Serafin file with multiple frames.

Max/Min/Mean

Compute maximum, minimum or mean at all nodes for a set of variables on a serie of frames.

Mean computation correponds to arithmetic mean and is only relevant in case of constant time step between frames.

Variables defining a vector field are considered together to extract values (on each direction) when the magnitude is maximum (or minimal). Vector field variables are defined in slf/misc.py.

Arrival/Duration

Compute time of arrival and duration at all nodes of a set of conditions.

Time of arrival corresponds to first time verifying the condition, whereas duration is the sum of all period during which the condition is true.

SynchMax

Compute maximum at all nodes for a reference variable (scalar variable) and extract corresponding time. The other variables are extracted at same time.

It can be useful for example to get time and water depth when velocity magnitude is maximum.