ALBULA  4.0.1
 All Classes Namespaces Functions Variables Pages
dectris.albula.DNeXusData Class Reference

class DNeXusGroup represents a dataset in the NeXus tree. More...

Inheritance diagram for dectris.albula.DNeXusData:
dectris.albula.DAbstractNeXusData dectris.albula.DNeXusNode

Public Member Functions

def attribute
 Return attribute with given name. More...
 
def addAttribute
 Add new attribute. More...
 
def attributes
 Return list of attributes. More...
 
def eraseAttribute
 Remove the attribute with the given name. More...
 
- Public Member Functions inherited from dectris.albula.DAbstractNeXusData
def value
 Returns value stored in the NeXus node. More...
 
def numpy
 Returns value stored in the NeXus node as numpy array. More...
 
def setValue
 Set the value of the NeXus node. More...
 
- Public Member Functions inherited from dectris.albula.DNeXusNode
def path
 path() returns the full NeXus path. More...
 
def name
 Name of NeXus node. More...
 
def type
 NeXus Type. More...
 
def parent
 Parent NeXus Node. More...
 

Detailed Description

class DNeXusGroup represents a dataset in the NeXus tree.

NeXus datasets may contain attributes.

Member Function Documentation

def dectris.albula.DNeXusData.addAttribute (   name)

Add new attribute.

Parameters
nameof the attribuete
Returns
DNeXusAttribute referencing the new attribute
def dectris.albula.DNeXusData.attribute (   name)

Return attribute with given name.

If the attribute does not exist a DOutOfRangeException is thrown.

Parameters
nameof the attribute
Returns
DNeXusAttribute referencing attribute
def dectris.albula.DNeXusData.attributes ( )

Return list of attributes.

Returns
python list of DNeXusAttribute objects
def dectris.albula.DNeXusData.eraseAttribute (   name)

Remove the attribute with the given name.

Parameters
nameString with the name of the attribute to erase