sasdata.file_converter.ascii2d_loader module¶
ASCII 2D Loader
- class sasdata.file_converter.ascii2d_loader.ASCII2DLoader(data_path)¶
Bases:
object- __annotate_func__ = None¶
- __annotations_cache__ = {}¶
- __dict__ = mappingproxy({'__module__': 'sasdata.file_converter.ascii2d_loader', '__firstlineno__': 22, '__init__': <function ASCII2DLoader.__init__>, 'load': <function ASCII2DLoader.load>, '__static_attributes__': ('data_path',), '__dict__': <attribute '__dict__' of 'ASCII2DLoader' objects>, '__weakref__': <attribute '__weakref__' of 'ASCII2DLoader' objects>, '__doc__': None, '__annotations_cache__': {}})¶
- __doc__ = None¶
- __firstlineno__ = 22¶
- __init__(data_path)¶
- Parameters:
data_path – The path to the file to load
- __module__ = 'sasdata.file_converter.ascii2d_loader'¶
- __static_attributes__ = ('data_path',)¶
- __weakref__¶
list of weak references to the object
- load()¶
Load the data from the file into a Data2D object
- Returns:
A Data2D instance containing data from the file
- Raises:
ValueError – Raises a ValueError if the file is incorrectly formatted