Table of Contents

Module: poscalc goniometer/poscalc.py

Perform simple calculations with positions

Functions   
absdif
equal
fromheader
  absdif 
absdif ( p0,  p1 )

Calculate "Rotational" difference between two positions in radians.

  equal 
equal (
        p0,
        p1,
        crit=1.e-4,
        )

Are the two positions identical?

  fromheader 
fromheader (
        h,
        fraction,
        hardware=None,
        )

Calculate goniostat position at fraction of the scan

Will raise AttributeError if there is no scan info in the header.


Table of Contents

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