Table of Contents

Module: reflections filetype/reflections.py

Generalized interface to reflection files

Functions   
Sink
Source
  Sink 
Sink (
        filename,
        reportinterval=None,
        ciftype=None,
        )

Return a reflection sink that can write the named file.

If a reportinterval (integer) is given, a progress line is printed every reportinterval reflections that are written.

Exceptions   
ValueError( "Cannot write reflection files of this type : %s" % filename )
ValueError( "Invalid value for ciftype. Should be 'skb' or 'maxus'" )
  Source 
Source ( filename,  swap=( config.acceptdenzosign < 1 ) )

Return a reflection source that can read the named file.

If the swap parameter is true, scalepack.sca files will swap hkl<>-h-k-l upon reading.

Exceptions   
ValueError( "Cannot read reflection files of this type : %s" % filename )

Table of Contents

This document was automatically generated on Tue Nov 25 12:18:58 2008 by HappyDoc version WORKING