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

Issue in examples file : examples/figures_of_merit_single.py #107

Open
Soham13anerjee opened this issue Dec 31, 2024 · 0 comments
Open

Issue in examples file : examples/figures_of_merit_single.py #107

Soham13anerjee opened this issue Dec 31, 2024 · 0 comments
Assignees
Labels

Comments

@Soham13anerjee
Copy link

Error : ---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
in <cell line: 12>()
10 from pyeit.mesh.wrapper import PyEITAnomaly_Circle
11 from pyeit.mesh.external import place_electrodes_equal_spacing
---> 12 from pyeit.eit.render import render_2d_mesh
13 from pyeit.visual.plot import create_plot
14 from pyeit.quality.merit import calc_greit_figures_of_merit

ImportError: cannot import name 'render_2d_mesh' from 'pyeit.eit.render' (/usr/local/lib/python3.10/dist-packages/pyeit/eit/render.py)


NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.

now it cannot import the module. But as I looked up the module, it is present in folder :
pyeit/eit/render.py
and the function is render_2d_mesh()

@liubenyuan liubenyuan added the bug label Jan 2, 2025
@liubenyuan liubenyuan self-assigned this Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants