DiamondLightSource / PySIMRecon

Easy to use wrapper for pyCUDAsirecon, allowing the use of DV files without PRIISM
GNU General Public License v3.0
0 stars 2 forks source link

Determine shape from DV header and use that to ensure correct indexing #12

Closed thomasmfish closed 2 months ago

thomasmfish commented 2 months ago

In fixing the PSF splitting problem with #10, I managed to create a new problem for the reconstructions (less breaking but it was slicing wrong). It is better to use the header as the ground truth for what the shape should be, so I'm expanding the array out based on the expected shape, and using the header info to determine the channel index.