sasdata.file_converter.ascii2d_loader module

ASCII 2D Loader

class sasdata.file_converter.ascii2d_loader.ASCII2DLoader(data_path)

Bases: object

__dict__ = mappingproxy({'__module__': 'sasdata.file_converter.ascii2d_loader', '__init__': <function ASCII2DLoader.__init__>, 'load': <function ASCII2DLoader.load>, '__dict__': <attribute '__dict__' of 'ASCII2DLoader' objects>, '__weakref__': <attribute '__weakref__' of 'ASCII2DLoader' objects>, '__doc__': None, '__annotations__': {}})
__doc__ = None
__init__(data_path)
Parameters:

data_path – The path to the file to load

__module__ = 'sasdata.file_converter.ascii2d_loader'
__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