fabio.OXDimage.OXDimage

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

# Class OXDimage

source code

               object --+
                        |
    fabioimage.fabioimage --+
                            |
                           OXDimage

Oxford Diffraction Sapphire 3 images reader/writer class

Instance Methods | [hide private]
_readheader(self, infile) Must be overridden in classes | source code
read(self, fname, frame=None) Read in header into self.header and... | source code
_writeheader(self) @return a string containing the header for Oxford images | source code
write(self, fname) Write Oxford diffraction images: this is still beta | source code
getCompressionRatio(self) calculate the compression factor obtained vs raw data | source code
Inherited from `fabioimage.fabioimage`: `__init__`, `add`, `convert`, `getclassname`, `getframe`, `getheader`, `getmax`, `getmean`, `getmin`, `getstddev`, `integrate_area`, `load`, `make_slice`, `next`, `previous`, `readROI`, `readheader`, `rebin`, `resetvals`, `save`, `toPIL16`, `update_header` 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]
checkData(data=None) Empty for fabioimage but may be populated by others classes, especially for format accepting only integers | source code
Inherited from `fabioimage.fabioimage`: `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]

### _readheader(self, infile) | source code
Must be overridden in classes Overrides: fabioimage.fabioimage._readheader (inherited documentation)

### read(self, fname, frame=None) | source code
    Read in header into self.header and
        the data   into self.data
Overrides: fabioimage.fabioimage.read

### write(self, fname) | source code
Write Oxford diffraction images: this is still beta Parameters: `fname` - output filename Overrides: fabioimage.fabioimage.write

### checkData(data=None) Static Method | source code
Empty for fabioimage but may be populated by others classes, especially for format accepting only integers Overrides: fabioimage.fabioimage.checkData (inherited documentation)