step_to_sample#

anri.geom.step_to_sample(si, sj, ystep)[source]#

Convert step space (integer steps leading from rotation axis) to sample space.

Parameters:
  • si (float | Array) – Step space - i direction

  • sj (float | Array) – Step space - j direction

  • ystep (float) – Y translation step size between bin centres

Returns:

  • sx (jax.Array) – Sample space - x direction

  • sy (jax.Array) – Sample space - y direction