tjlane / pypad

Intuitive, high-level interface to the CSPAD
Other
2 stars 1 forks source link

amigeom script #54

Open tjlane opened 10 years ago

tjlane commented 10 years ago

Addresses #53 , not quite ready for merge yet. Still need to:

tjlane commented 10 years ago

Currently running:

amigeom cxi80410 -g examples/ds1_jun2011_opticalmetrology.txt

from the home dir produces a file

/reg/d/psdm/cxi/cxi80410/calib/CsPad::CalibV1/CxiDsd.0:Cspad.0/amigeometry/geo.pypad.dat

with contents

# This file contains a CSPAD geometry generated by PyPad: 
# http://www.github.com/tjlane/pypad
#
# The following are the centers of each 2x1 in units of microns
#
#"X"    "Y"   units are microns
#  Nominal Beam Center
88845   93130 # this was cp'd from a previous geom

# QUAD 0  2x1 centers
 33996.2   21944.3
 10567.0   21823.2
 68713.7   34262.8
 68724.6   10907.4
<snip>

tag: @koglin