Skip to content

Error in Demo Compression & Denoising  #2

Description

@sharonjsu

Importing util_plot throws this error:

from funimag.plots import util_plot

Traceback (most recent call last):

File "dir/anaconda3/envs/funImag/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2961, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)

File "", line 1, in
from funimag.plots import util_plot

File "dir/funimag/funimag/plots/util_plot.py", line 475
f"{np.where(unique_pix==pure_pix[ii])[0][0]}",
^
SyntaxError: invalid syntax

It seems like a fairly simple error to fix, but I'm not 100% sure what the line of code is aiming to do.

In addition, when I run parts of the demo on the sample movie, I do not end up reproducing the figures. Instead, I obtain the following:
fig1
fig2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions