Closed gschlafly closed 6 months ago
The mask is not able to be indexed because it is a 1D array instead of a 2D array. https://github.com/PolarizedLightFieldMicroscopy/GeoBirT/blob/8e36b81ad4bb45202409d7e2f7fedd6f3c3f7905/VolumeRaytraceLFM/birefringence_implementations.py#L1575-L1577
The mask is also a 1D array when created from the mla_image. https://github.com/PolarizedLightFieldMicroscopy/GeoBirT/blob/8e36b81ad4bb45202409d7e2f7fedd6f3c3f7905/VolumeRaytraceLFM/abstract_classes.py#L578-L614
mla_image
Run run_recon.py.
run_recon.py
Before identify_rays_from_pixels_mla() is called, self.nonzero_pixels_dict[(0,0)] is a 2D array.
identify_rays_from_pixels_mla()
self.nonzero_pixels_dict[(0,0)]
Description
The mask is not able to be indexed because it is a 1D array instead of a 2D array. https://github.com/PolarizedLightFieldMicroscopy/GeoBirT/blob/8e36b81ad4bb45202409d7e2f7fedd6f3c3f7905/VolumeRaytraceLFM/birefringence_implementations.py#L1575-L1577
The mask is also a 1D array when created from the
mla_image
. https://github.com/PolarizedLightFieldMicroscopy/GeoBirT/blob/8e36b81ad4bb45202409d7e2f7fedd6f3c3f7905/VolumeRaytraceLFM/abstract_classes.py#L578-L614Files
To Reproduce
Run
run_recon.py
.