step_to_recon#

anri.geom.step_to_recon(si, sj, recon_shape)[source]#

Convert step space (integer steps leading from rotation axis) to rotation space (origin in corner).

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

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

  • recon_shape (tuple[int, int]) – [2] Shape of the reconstruction array

Returns:

  • ri (jax.Array) – Recon space - i direction

  • rj (jax.Array) – Recon space - j direction