imas_paraview.cli.parse_index

imas_paraview.cli.parse_index(index)

Parses the index parameter and returns a list of IDS time indices to convert. Either a single integer ("5"), a list of integers ("2,3,4") or a range of integers ("2:4") may be provided.

Parameters:
index

String containing either a single index, a list of indices or a range of indices.

Returns:

A list containing the time indices to convert.


Last update: 2026-03-11