We not only keep a list of reflections, but also
the number of times each reflection has been encountered.
|
Methods
|
|
|
|
|
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,
)
Similar to DataSet(), but less optional parameters.
|
|
|
__repr__
|
__repr__ ( self )
String representation of the Redundancy |