grapa.datatypes.graphSpectrum.GraphSpectrum
- class grapa.datatypes.graphSpectrum.GraphSpectrum(filename: str | List[str] | List | ndarray = '', complement: dict | str | List[dict | str] = '', silent: bool = True, config: str | None = 'auto', log_active: bool = False)
Bases:
GraphThis is a generic class to open spectrum-like files. The purpose is to limit the endless multiplication of files in folder datatypes. Each child class of GraphSpectrum are constructed the same way as similar classes. Each types of
- __init__(filename: str | List[str] | List | ndarray = '', complement: dict | str | List[dict | str] = '', silent: bool = True, config: str | None = 'auto', log_active: bool = False)
default constructor. Calls method reset.
Methods
isFileReadable(filename, fileext, **kwargs)readDataFromFile(attributes, **kwargs)Attributes
AXISLABELSFILEIO_GRAPHTYPEWHICHSUBCLASS