KCD image reader
|
Methods
|
|
Read ReadFile __init__ ccp4frames rawframes scaleandshift
|
|
|
Read
|
Read ( self, filename )
Send the image in filename down the client sink |
|
|
ReadFile
|
ReadFile (
self,
file,
filename,
)
Send the image in the open file file down the client sink |
|
|
__init__
|
__init__ ( self, sink )
Requires one argument: the destination image sink.
|
|
|
ccp4frames
|
ccp4frames (
self,
file,
h,
)
Read frames from the file in ccp4 mode |
|
|
rawframes
|
rawframes (
self,
file,
h,
)
Read frames from the file in raw 16 bit mode
|
Exceptions
|
|
ValueError( "Probably incomplete frame read from KCD file" )
|
|
|
|
scaleandshift
|
scaleandshift (
self,
a,
h,
)
Undo the scaling and shifting that was done before writing the image |
|