eitcom / pyEIT

Python based toolkit for Electrical Impedance Tomography
Other
170 stars 96 forks source link

Removed argument from build function #13

Closed spors closed 3 years ago

spors commented 3 years ago

The multi-shell example (examples/mesh_multi_shell.py) was throwing the error

Traceback (most recent call last):

  File "/Users/spors/Documents/src/pyEIT/examples/mesh_multi_shell.py", line 29, in <module>
    ppl=64)

  File "/Users/spors/Documents/src/pyEIT/pyeit/mesh/shell.py", line 125, in multi_circle
    p, t = build(_fd, _fh, pfix=p_fix, h0=h0, densityctrlfreq=10, deltat=0.2)

TypeError: build() got an unexpected keyword argument 'deltat'

Removing the argument and checking the results seem to provide the desired mesh. However, only the multi_circle results are plotted in the original code.