sasdata.dataloader.readers.abs_reader module

IGOR 1D data reader

class sasdata.dataloader.readers.abs_reader.Reader

Bases: FileReader

Class to load IGOR reduced .ABS files

__annotate_func__ = None
__annotations_cache__ = {}
__doc__ = '\nClass to load IGOR reduced .ABS files\n'
__firstlineno__ = 23
__module__ = 'sasdata.dataloader.readers.abs_reader'
__static_attributes__ = ('current_datainfo', 'current_dataset', 'output')
ext = ['.abs', '.cor']
get_file_contents()

Get the contents of the file

Raises:
  • RuntimeError – when the file can’t be opened

  • ValueError – when the length of the data vectors are inconsistent

type = ['IGOR 1D files (*.abs)|*.abs', 'IGOR 1D USANS files (*.cor)|*.cor']
type_name = 'IGOR 1D'