Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running gui with default values results in error, no acquisition is displayed #5

Open
fofusa opened this issue Aug 28, 2024 · 0 comments

Comments

@fofusa
Copy link

fofusa commented Aug 28, 2024

After a default install as described in README.md, running python main.py and using the default values for each tab (Dataset, Optical Design, Coded Aperture, Acquisition), running each stage results in an error at the "Run Acquisition" stage:

Traceback (most recent call last):
  File "/pathto/simca/gui_elements/AcquisitionWidget.py", line 208, in run
    self.cassi_system.image_acquisition(use_psf=self.acquisition_config["psf"]["use_psf"],chunck_size=50)
  File "/pathto/simca/simca/CassiSystem.py", line 291, in image_acquisition
    measurement_in_3D = generate_dd_measurement(scene, self.filtering_cube, chunck_size)
  File "/pathto/simca/simca/functions_acquisition.py", line 53, in generate_dd_measurement
    filtered_scene[i:i + chunk_size, j:j + chunk_size, :] = filtering_cube[i:i + chunk_size,
ValueError: could not broadcast input array from shape (50,17,3) into shape (50,1,3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant