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

3D data #1

Open
rajlakshmi-sawale opened this issue Aug 14, 2024 · 1 comment
Open

3D data #1

rajlakshmi-sawale opened this issue Aug 14, 2024 · 1 comment

Comments

@rajlakshmi-sawale
Copy link

rajlakshmi-sawale commented Aug 14, 2024

Hi @chenhungling,
Does the GUI work on 3D data? I have 3D data and I'm getting this error when I try to load it:
Can we solve this?

(caiman) C:\Users\au711234\CaimanGUI\gui>python caiman_gui.py
Traceback (most recent call last):
  File "C:\Users\au711234\CaimanGUI\gui\caiman_gui.py", line 126, in <lambda>
    openHDF5.triggered.connect(lambda: self.load_data(click=True))
  File "C:\Users\au711234\CaimanGUI\gui\caiman_gui.py", line 243, in load_data
    img_components = [A[:,i].reshape(dims,order='F').toarray() for i in range(A.shape[1])]
  File "C:\Users\au711234\CaimanGUI\gui\caiman_gui.py", line 243, in <listcomp>
    img_components = [A[:,i].reshape(dims,order='F').toarray() for i in range(A.shape[1])]
  File "C:\ProgramData\Anaconda3\envs\caiman\lib\site-packages\scipy\sparse\_base.py", line 161, in reshape
    shape = check_shape(args, self.shape, allow_1d=is_array)
  File "C:\ProgramData\Anaconda3\envs\caiman\lib\site-packages\scipy\sparse\_sputils.py", line 362, in check_shape
    raise ValueError('matrix shape must be two-dimensional')
ValueError: matrix shape must be two-dimensional
@chenhungling
Copy link
Owner

chenhungling commented Sep 2, 2024 via email

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

2 participants