core.elements.superposed_field_map module

Define a SuperposedFieldMap.

Note

The initialisation of this class is particular, as it does not correspond to a specific line of the .dat file.

Todo

Maybe move this to the field_map package once it is implemented

class SuperposedFieldMap(line: list[str], dat_idx: int, total_length: float | None = None, name: str | None = None, **kwargs: str)

Bases: Element

A single element holding several field maps.

__init__(line: list[str], dat_idx: int, total_length: float | None = None, name: str | None = None, **kwargs: str) None

Save length of the superposed field maps.

_abc_impl = <_abc._abc_data object>
is_implemented: bool = True
n_attributes: int | range | Collection = -1