nel-lab / mesmerize-core

High level pandas-based API for batch analysis of Calcium Imaging data using CaImAn
Other
58 stars 15 forks source link

Module 'fpl' has no attribute 'ImageWidget' #290

Closed lea-danics closed 5 months ago

lea-danics commented 5 months ago

Hi Everyone! I'm running into an attribure error when I'm trying to run this code from cnmfe.ipynb demo notebook:

input movie will be shown on left, filtered on right

iw_gs = fpl.ImageWidget( data=[input_movie, input_movie.copy()], frame_apply=funcs, names=["raw", "filtered"], grid_plot_kwargs={"size": (1200, 600)}, cmap="gnuplot2" )

The error is the following: AttributeError Traceback (most recent call last) Cell In[3], line 2 1 # input movie will be shown on left, filtered on right ----> 2 iw_gs = fpl.ImageWidget( 3 data=[input_movie, input_movie.copy()], 4 frame_apply=funcs, 5 names=["raw", "filtered"], 6 grid_plot_kwargs={"size": (1200, 600)}, 7 cmap="gnuplot2" 8 ) AttributeError: module 'fpl' has no attribute 'ImageWidget'

I installed and imported fpl.

I tried to find similar issues, but I couldn't find solution to my problem.

kushalkolar commented 5 months ago

Did you install mesmerize-viz?

On Tue, Mar 12, 2024, 11:38 lea-danics @.***> wrote:

Hi Everyone! I'm running into an attribure error when I'm trying to run this code from cnmfe.ipynb demo notebook: input movie will be shown on left, filtered on right

iw_gs = fpl.ImageWidget( data=[input_movie, input_movie.copy()], frame_apply=funcs, names=["raw", "filtered"], grid_plot_kwargs={"size": (1200, 600)}, cmap="gnuplot2" )

The error is the following: AttributeError Traceback (most recent call last) Cell In[3], line 2 1 # input movie will be shown on left, filtered on right ----> 2 iw_gs = fpl.ImageWidget( 3 data=[input_movie, input_movie.copy()], 4 frame_apply=funcs, 5 names=["raw", "filtered"], 6 grid_plot_kwargs={"size": (1200, 600)}, 7 cmap="gnuplot2" 8 ) AttributeError: module 'fpl' has no attribute 'ImageWidget'

I installed and imported fpl.

I tried to find similar issues, but I couldn't find solution to my problem.

— Reply to this email directly, view it on GitHub https://github.com/nel-lab/mesmerize-core/issues/290, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHXXRGHPV4BGN5EVEG4UYLYX4OPLAVCNFSM6AAAAABESPSKZSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DCOJWGQ4DKMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

lea-danics commented 5 months ago

Yes, that solved the problem ,thank You very much!!!