fabio.xsdimage.xsdimage

Package fabio :: Module xsdimage :: Class xsdimage |
[hide private]
[frames] | no frames]

# Class xsdimage

source code

               object --+
                        |
    fabioimage.fabioimage --+
                            |
                           xsdimage

Read the XSDataImage XML File data format

Instance Methods | [hide private]
__init__(self, data=None, header=None, fname=None) Constructor of the class XSDataImage. | source code
_readheader(self, infile) Read all headers in a file and populate self.header data is not yet populated | source code
read(self, fname, frame=None) To be overridden - fill in self.header and self.data | source code
Inherited from `fabioimage.fabioimage`: `add`, `convert`, `getclassname`, `getframe`, `getheader`, `getmax`, `getmean`, `getmin`, `getstddev`, `integrate_area`, `load`, `make_slice`, `next`, `previous`, `readROI`, `readheader`, `rebin`, `resetvals`, `save`, `toPIL16`, `update_header`, `write` Inherited from `fabioimage.fabioimage` (private): `_compressed_stream`, `_open` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Static Methods | [hide private]
Inherited from `fabioimage.fabioimage`: `checkData`, `checkHeader`

Class Variables | [hide private]
Inherited from `fabioimage.fabioimage` (private): `_need_a_real_file`, `_need_a_seek_to_read`

Properties | [hide private]
Inherited from `fabioimage.fabioimage`: `classname` Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, data=None, header=None, fname=None) (Constructor) | source code
Constructor of the class XSDataImage. Parameters: `_strFilename` (string) - the name of the file to open Overrides: object.__init__

### _readheader(self, infile) | source code
Read all headers in a file and populate self.header data is not yet populated Parameters: `infile` (file object open in read mode) Overrides: fabioimage.fabioimage._readheader

### read(self, fname, frame=None) | source code
To be overridden - fill in self.header and self.data Overrides: fabioimage.fabioimage.read