step_grid_from_ybincens#

anri.geom.step_grid_from_ybincens(ybincens, step_size, gridstep, y0)[source]#

Create reconstruction grid in “step” space (integer units of the step size).

Parameters:
  • ybincens (Array) – [N] Bin centres for dty translations - from the scan command

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

  • gridstep (float) – Downsampling step size for grid

  • y0 (float) – The true value of dty when the rotation axis (untilted by wedge, chi) intersects the beam

Returns:

  • si (jax.Array) – Step space - array of integer steps in the i direction

  • sj (jax.Array) – Step space - array of integer steps in the j direction