ALBULA  4.0.1
dectris.albula.DNeXusAttribute Class Reference

Read an image from a file and return an image object. More...

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

Additional Inherited Members

- 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

Read an image from a file and return an image object.

class DNeXusGroup represents an attribute in the NeXus tree.

If timeout > 0 wait timeout milliseconds for file to be created. Caveat: There is no way to figure out when writing to a file ALBULA is waiting for is finished. Hence write image first to a temporary file and rename it atomically to fileName. (rename, mv are atomic operations on unix systems)

Parameters
fileNamePath to file from where the image is read.
timeoutWait timeout milliseconds for file to be created (timeout == 0: return immediately, timeout < 0: wait forever)
Returns
DImage

Attributs are attached to groups or datasets in order to describe the nature or intention of its parent.