You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a graduate student working with EIT tech and I'm trying to implement this code for 2D static/dynamic scans using a phantom tank and 3D volumetric scans in the phantom tank. It's a 32 electrode set-up. I've tested a variety of things, unfortunately given my files are in .eit they cannot be shared.
My confusion: the examples I've seen typically involve simulating data, therefore making me unsure where I need to start implementing the code because I have recorded data. Do I still need both the protocol and mesh objects to be created and then use the JAC code? I apologize if this is a simple question. I copied a sample of the code below, it is the comment solve the simulated data that originally caused the confusion of how to apply this for my real data. Thank you in advance!!!
""" 1. problem setup """
#mesh_obj["alpha"] = np.random.rand(tri.shape[0]) * 200 + 100 # NOT USED
anomaly = PyEITAnomaly_Circle(center=[0.5, 0.5], r=0.1, perm=1000.0)
mesh_new = mesh.set_perm(mesh_obj, anomaly=anomaly)
""" 2. FEM simulation """
#setup EIT scan conditions
protocol_obj = protocol.create(n_el, dist_exc=8, step_meas=1, parser_meas="std")
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I am a graduate student working with EIT tech and I'm trying to implement this code for 2D static/dynamic scans using a phantom tank and 3D volumetric scans in the phantom tank. It's a 32 electrode set-up. I've tested a variety of things, unfortunately given my files are in .eit they cannot be shared.
My confusion: the examples I've seen typically involve simulating data, therefore making me unsure where I need to start implementing the code because I have recorded data. Do I still need both the protocol and mesh objects to be created and then use the JAC code? I apologize if this is a simple question. I copied a sample of the code below, it is the comment solve the simulated data that originally caused the confusion of how to apply this for my real data. Thank you in advance!!!
""" 1. problem setup """
#mesh_obj["alpha"] = np.random.rand(tri.shape[0]) * 200 + 100 # NOT USED
anomaly = PyEITAnomaly_Circle(center=[0.5, 0.5], r=0.1, perm=1000.0)
mesh_new = mesh.set_perm(mesh_obj, anomaly=anomaly)
""" 2. FEM simulation """
#setup EIT scan conditions
protocol_obj = protocol.create(n_el, dist_exc=8, step_meas=1, parser_meas="std")
#calculate simulated data
fwd = EITForward(mesh_obj, protocol_obj)
v0 = fwd.solve_eit()
v1 = fwd.solve_eit(perm=mesh_new.perm)
""" 3. JAC solver """
#Note: if the jac and the real-problem are generated using the same mesh, then, data normalization in solve are not needed.
Beta Was this translation helpful? Give feedback.
All reactions