fabio.mar345image.mar345image

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

# Class mar345image

source code

               object --+
                        |
    fabioimage.fabioimage --+
                            |
                           mar345image

Instance Methods | [hide private]
__init__(self, *args, **kwargs) Set up initial values | source code
read(self, fname, frame=None) Read a mar345 image | source code
_readheader(self, infile=None) Read a mar345 image header | source code
write(self, fname) Try to write mar345 file. | source code
_writeheader(self, linesep=`'``\n``'`, size=4096) | source code
_high_intensity_pixel_records(self) | source code
nb_overflow_pixels(self) | 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` 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]
| _need_a_real_file = `True`
Inherited from `fabioimage.fabioimage` (private): `_need_a_seek_to_read`

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

Method Details | [hide private]

### __init__(self, *args, **kwargs) (Constructor) | source code
Set up initial values Overrides: object.__init__ (inherited documentation)

### read(self, fname, frame=None) | source code
Read a mar345 image Overrides: fabioimage.fabioimage.read

### _readheader(self, infile=None) | source code
Read a mar345 image header Overrides: fabioimage.fabioimage._readheader

### write(self, fname) | source code
Try to write mar345 file. This is still in beta version. It uses CCP4 (LGPL) PCK1 algo from JPA Overrides: fabioimage.fabioimage.write

### _writeheader(self, linesep=`'``\n``'`, size=4096) | source code
Parameters: `linesep` - end of line separator @return string/bytes containing the mar345 header

### 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)