1""" Field class defining common header fields in tractogram files
2"""
3
4
5class Field(object):
6    """ Header fields common to multiple streamline file formats.
7
8    In IPython, use `nibabel.streamlines.Field??` to list them.
9    """
10    NB_STREAMLINES = "nb_streamlines"
11    STEP_SIZE = "step_size"
12    METHOD = "method"
13    NB_SCALARS_PER_POINT = "nb_scalars_per_point"
14    NB_PROPERTIES_PER_STREAMLINE = "nb_properties_per_streamline"
15    NB_POINTS = "nb_points"
16    VOXEL_SIZES = "voxel_sizes"
17    DIMENSIONS = "dimensions"
18    MAGIC_NUMBER = "magic_number"
19    ORIGIN = "origin"
20    VOXEL_TO_RASMM = "voxel_to_rasmm"
21    VOXEL_ORDER = "voxel_order"
22    ENDIANNESS = "endianness"
23