ALBULA  4.0.1
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 (name)
 
Return attribute with given name. More...
 
def addAttribute (name)
 Add new attribute. More...
 
def attributes ()
 Return list of attributes. More...
 
def eraseAttribute (name)
 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 (value)
 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

◆ addAttribute()

def dectris.albula.DNeXusData.addAttribute (   name)

Add new attribute.

Parameters
nameof the attribuete
Returns
DNeXusAttribute referencing the new attribute

◆ 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

◆ attributes()

def dectris.albula.DNeXusData.attributes ( )

Return list of attributes.

Returns
python list of DNeXusAttribute objects

◆ eraseAttribute()

def dectris.albula.DNeXusData.eraseAttribute (   name)

Remove the attribute with the given name.

Parameters
nameString with the name of the attribute to erase