Table Of Contents

Previous topic

Spatial and Reciprocal Unit Cells

Next topic

Reflection List

Overview: Reflections in IPLT

IPLT contains several dedicated classes and functions for comprehensive handling of reflection data from crystallographic processing. The ReflectionList serves as the container for all reflections, from which individual reflections retrieved by means of ReflectionProxyters, addressed by ReflectionIndexes. These ReflectionLists can be imported from and exported to CCP4 style mtz files by using the ReflectionIO functions.

Example Code

import iplt

# read mtz file and store it in a reflection list object
rlist = iplt.ImportMtz("file.mtz")

# iterate over all reflections in the list, returning each
# as a reflection proxyter
for rp in rlist:
  # use the reflection proxyter interface to work with each reflection
  print rp.GetIndex()