recon_to_step#

anri.geom.recon_to_step(ri, rj, recon_shape)[source]#

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

Parameters:
  • ri (float | Array) – Recon space - i direction

  • rj (float | Array) – Recon space - j direction

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

Returns: