Table of Contents

Class: SimpleReader filetype/kcd.py

KCD image reader

Methods   
Read
ReadFile
__init__
ccp4frames
rawframes
scaleandshift
  Read 
Read ( self,  filename )

Send the image in filename down the client sink

Exceptions   
IOError( 2, "File does not exist" )
  ReadFile 
ReadFile (
        self,
        file,
        filename,
        )

Send the image in the open file file down the client sink

  __init__ 
__init__ ( self,  sink )

  1. 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


Table of Contents

This document was automatically generated on Fri Jul 3 09:28:36 2009 by HappyDoc version WORKING