Table of Contents

Class: RedundantDataSet experiment/symmetry.py

A special kind of data set for redundant measurements.

We not only keep a list of reflections, but also the number of times each reflection has been encountered.

Methods   
Add
AddReflections
Distrib
LowRedundancySubset
NumRefl
Redundancy
StrNumRefl
Zero
__init__
__repr__
  Add 
Add ( self,  other )

Add another DataSet or RedundantDataSet

  AddReflections 
AddReflections ( self,  data )

Add a list of reflections or a dictionary of redundant reflections

  Distrib 
Distrib ( self )

Count the redundancies.

Returns a dictionary of {redundancy: number of reflections} pairs.

  LowRedundancySubset 
LowRedundancySubset ( self,  minrefl=100 )

Return a DataSet of reflections with the lowest redundancy. If this would be less than minrefl reflections, all reflections with 1 higher redundancy are added.

  NumRefl 
NumRefl ( self )

Return the total number of observations.

  Redundancy 
Redundancy ( self,  fraction=0.9 )

Calculate the redundancy that is seen for fraction of all reflections

  StrNumRefl 
StrNumRefl ( self )

A string representation of the number of observations.

This takes the cell reduction factor into account

  Zero 
Zero ( self,  other )

Set all reflection counts to 0

  __init__ 
__init__ (
        self,
        spacegroup,
        cell=None,
        reduction=( 1, 1, 1 ),
        thetamax=None,
        )

  1. Similar to DataSet(), but less optional parameters.

  __repr__ 
__repr__ ( self )

String representation of the Redundancy


Table of Contents

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