reconstruct#
- anri.index.reconstruct(H, n_rings, n_e, n_o, scan, b_o, nr)[source]#
Reconstruct the whole sample from the indexer’s histogram, for a mask (or to check y0).
- Parameters:
H (
Array|ndarray|bool|number|bool|int|float|complex) – [n_rings * n_e * n_o * n_rows] histogram, rows last (anri.index.histogram_pixels())n_rings (
int) – Its rings, eta bins and omega binsn_e (
int) – Its rings, eta bins and omega binsn_o (
int) – Its rings, eta bins and omega binsscan (
dict) – “y0”, “dty0”, “ystep”, “n_rows”, “om0” and optionally “ddty” (asanri.index.system())b_o (
float) – Omega bin width (degrees)nr (
int) – Voxels per side of the reconstruction grid (anri.geom.recon_positions())
- Returns:
np.ndarray– [nr, nr] image in reconstruction order