pytuflow.DAT.times#
- DAT.times(filter_by=None, fmt='relative')#
Returns a list of times for the given filter.
In almost all cases, the time index will be shared by all datasets, so the
filter_by
argument is not necessary.- Parameters:
filter_by (str, optional) – Filter the times by a given string.
fmt (str, optional) – The format for the time values. Options are ‘relative’ or ‘absolute’.
- Returns:
The list of times.
- Return type:
list[TimeLike]
Examples
>>> mesh = ... # Assume mesh is a loaded Mesh result >>> mesh.times() [0.0, 0.016666666666666666, ..., 3.0]