Skip to content

Instrument Package

Donald Boyce edited this page Jun 9, 2020 · 1 revision

beam module

Properties

  • energy: (set/get) beam energy
  • vector: (set/get) beam direction 3-vector
  • angles: (set/get) azimuth and polar angle of beam vector

oscillation_stage module

Properties

  • chi: (set/get) angle
  • tvec: (set/get) translation vector

detector module

Properties

  • name: (set/get) name of detector
  • rows: (set/get) number of rows in detector
  • cols: (set/get) number of columns
  • pixel_size_row: (set/get) horizontal pixel size
  • pixel_size_col: (set/get) vertical pixel size
  • pixel_area: (get) area of pixel
  • saturation_level: (set/get) real or None
  • panel_buffer: (what is this?)
  • roi: (set/get) region of interest; a sequence of vertices defining a polygon
  • row_dim:
  • col_dim:
  • row_pixel_vec:
  • row_edge_vec:
  • col_pixel_vec:
  • col_edge_vec:
  • corner_ul: (get) needed?
  • corner_ll: (get)
  • corner_lr: (get)
  • corner_ur: (get)
  • tvec: (set/get)
  • tilt: (set/get)
  • evec: (set/get) eta vector
  • distortion: (set/get) distortion function (to be updated)
  • beam_position: (get) position of beam intersection in detector coordinates
  • pixel_coords: (get) system of pixel coordinates (is this used?)
  • calibration_parameters: (get) returns tilt, tvec and distortion parameters
  • calibration_flags: (set/get) true/false array ?