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

Class fit2dmaskimage

source code

           object --+    
                    |    
fabioimage.fabioimage --+
                        |
                       fit2dmaskimage

Read and try to write Andy Hammersley's mask format

Instance Methods [hide private]
 
_readheader(self, infile)
Read in a header from an already open file
source code
 
read(self, fname, frame=None)
Read in header into self.header and...
source code
 
write(self, fname)
Try to write a file check we can write zipped also mimics that fabian was writing uint16 (we sometimes want floats)
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]
Properties [hide private]

Inherited from fabioimage.fabioimage: classname

Inherited from object: __class__

Method Details [hide private]

_readheader(self, infile)

source code 

Read in a header from an already open file

Overrides: fabioimage.fabioimage._readheader

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 

Try to write a file check we can write zipped also mimics that fabian was writing uint16 (we sometimes want floats)

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)