hfir1d_reader

sans.dataloader.readers.hfir1d_reader

class sans.dataloader.readers.hfir1d_reader.Reader

Bases: object

Class to load HFIR 1D 4-column files

__class__

alias of type

__delattr__

x.__delattr__(‘name’) <==> del x.name

__dict__ = <dictproxy object at 0x0284D830>
__getattribute__

x.__getattribute__(‘name’) <==> x.name

__hash__

x.__hash__() <==> hash(x)

__init__

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

__module__ = 'sans.dataloader.readers.hfir1d_reader'
static __new__(S, ...) → a new object with type S, a subtype of T
__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

x.__repr__() <==> repr(x)

__setattr__

x.__setattr__(‘name’, value) <==> x.name = value

__str__

x.__str__() <==> str(x)

__weakref__

list of weak references to the object (if defined)

ext = ['.d1d']
read()

Load data file

Parameters:

path – file path

Returns:

Data1D object, or None

Raises:
  • RuntimeError – when the file can’t be opened
  • ValueError – when the length of the data vectors are inconsistent
type = ['HFIR 1D files (*.d1d)|*.d1d']
type_name = 'HFIR 1D'

Table Of Contents

Previous topic

danse_reader

Next topic

IgorReader

This Page