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

Class GEimage

source code

           object --+    
                    |    
fabioimage.fabioimage --+
                        |
                       GEimage

Instance Methods [hide private]
 
_readheader(self, infile)
Read a GE image header
source code
 
read(self, fname, frame=0)
Read in header into self.header and the data into self.data
source code
 
_makeframename(self)
The thing to be printed for the user to represent a frame inside a file
source code
 
_readframe(self, filepointer, img_num)
# Load only one image from the sequence # Note: the first image in the sequence 0 # raises an exception if you give an invalid image # otherwise fills in self.data
source code
 
write(self, fname, force_type=<type 'numpy.uint16'>)
Not yet implemented
source code
 
getframe(self, num)
Returns a frame as a new fabioimage object
source code
 
next(self)
Get the next image in a series as a fabio image
source code
 
previous(self)
Get the previous image in a series as a fabio image
source code

Inherited from fabioimage.fabioimage: __init__, add, getheader, getmax, getmean, getmin, getstddev, integrate_area, make_slice, readheader, rebin, resetvals, 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__

Class Variables [hide private]
  _need_a_seek_to_read = True

Inherited from fabioimage.fabioimage (private): _need_a_real_file

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_readheader(self, infile)

source code 

Read a GE image header

Overrides: fabioimage.fabioimage._readheader

read(self, fname, frame=0)

source code 

Read in header into self.header and the data into self.data

Overrides: fabioimage.fabioimage.read

write(self, fname, force_type=<type 'numpy.uint16'>)

source code 

Not yet implemented

Overrides: fabioimage.fabioimage.write

getframe(self, num)

source code 

Returns a frame as a new fabioimage object

Overrides: fabioimage.fabioimage.getframe

next(self)

source code 

Get the next image in a series as a fabio image

Overrides: fabioimage.fabioimage.next

previous(self)

source code 

Get the previous image in a series as a fabio image

Overrides: fabioimage.fabioimage.previous