|
|
__init__(self,
data=None,
header=None,
header_keys=None,
frames=None)
Set up initial values |
source code
|
|
|
|
_readheader(self,
infile)
Read all headers in a file and populate self.header data is not yet
populated |
source code
|
|
|
|
|
|
|
swap_needed(self)
Decide if we need to byteswap |
source code
|
|
|
|
unpack(self)
Unpack a binary blob according to the specification given in the
header and return the dataset |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
write(self,
fname,
force_type=None)
Try to write a file check we can write zipped also mimics that fabian
was writing uint16 (we sometimes want floats) |
source code
|
|
|
|
|
|
|
|
|
|
getNbFrames(self)
Getter for number of frames |
source code
|
|
|
|
|
|
|
|
|
|
setHeader(self,
_dictHeader)
Enforces the propagation of the header to the list of frames |
source code
|
|
|
|
|
|
|
getHeaderKeys(self)
Getter for edf header_keys |
source code
|
|
|
|
|
|
|
delHeaderKeys(self)
Deleter for edf header_keys |
source code
|
|
|
numpy.ndarray
|
|
|
|
setData(self,
_data)
Enforces the propagation of the data to the list of frames |
source code
|
|
|
|
|
|
dict
|
|
|
|
|
|
|
delCapsHeader(self)
deleter for edf capsHeader |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from fabioimage.fabioimage:
add,
getheader,
getmax,
getmean,
getmin,
getstddev,
integrate_area,
make_slice,
readheader,
rebin,
resetvals,
toPIL16,
update_header
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|