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
Essentials
import ex # read mtz file and store it in a reflection list object rlist = ex.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()
