gonio_from_pars#

anri.io.gonio_from_pars(pars, y0)[source]#

Goniometer geometry from ImageD11 parameters.

Parameters:
  • pars (dict) – ImageD11 parameters: wedge and chi (degrees, default 0) and omegasign (default 1). ImageD11’s wedge has the opposite sign to anri’s, so the returned wedge is -pars["wedge"].

  • y0 (float) – dty at which the rotation axis is in the beam

Returns:

gonio (dict) – “wedge”, “chi” (degrees, anri convention) and “y0”