Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
    # Initialization
    fname = '/reg/d/psdm/cxi/cxii0114/calib/CsPad::CalibV1/CxiDs1.0:Cspad.0/geometry/0-end.data'
    list_of_geos = load_pars_from_file(fname)

	# Information printout
    for geo in list_of_geos : geo.print_geo()
    for geo in list_of_geos : geo.print_geo_children()

    # Access to the pixel coordinate arrays 
	top_geo = list_of_geos[-1] # the top parent object is appaended as a last element of the list
	xarr, yarr, zarr = top_geo.get_pixel_coords()

 

References

2014-07-18 Status & Todo list

Status

Modules GeometryObject and GeometryAccess are implemented in C++ (ImgAlgos) and Python (pyimgalgos)

Todo list just before vacation

  • In addition to X, Y, Z pixel coordanate arrays add pixel "area" array
  • Make better interface for basic elements (2x1) pixel geometry
  • Use new geometry in image producers
  • Add geometry file producers for xpp-CSPAD and ePix
  • Automated GUI-based system for alignment of geometry objects

References