Table of Contents

Module: distortion experiment/distortion.py

Distortion correction using polynomial fits.

Functions   
allmms
allpixels
get
resolutionlimits
  allmms 
allmms ( header,  corner=0 )

Return mm coordinates mmx,mmy for all pixels in an image, as 2 arrays.

  allpixels 
allpixels ( header,  corner=0 )

Return pixel coordinates v,r for all pixels in an image, as 2 arrays.

if corner=1, give all corner coordinates (i.e 1 more than the number of pixels in both directions), otherwise center coordinates (i.e. as many points as there are pixels).

  get 
get ( header )

Returns a Distortion() object for the detector used to make the image with the given header.

  resolutionlimits 
resolutionlimits ( header )

Calculate the resolution limits visible on the detector for the image with the given header.

Classes   
Distortion

Distortion correction class.

error

Distortion calibration exception.


Table of Contents

This document was automatically generated on Tue Nov 25 12:18:58 2008 by HappyDoc version WORKING