EIT3DProblem
- class nrv.eit.EIT3DProblem(nervefile, res_dname=None, label='3deit_1', **parameters)[source]
End-used class for Electrical Impedance Tomography (EIT) forward simulation in neural contexts In a 3D.
- This class extends eit_forward to provide specialized methods for setting up, meshing, and solving EIT problems in a 2D (Oyz) plan. It supports:
mesh generation with axons
physical domain assignment
finite element method (FEM) initialization
conductivity updates during the simulation.
Note
Mesh generation and FEM setup rely on
nrv.fmod.FEM.mesh_creator.NerveMshCreatorandnrv.fmod.FEM.fenics_utils.FEMSimulationclasses.Conductivity calculations support various methods, including myelinated and unmyelinated axons.
Attributes
Spatial dimension of the FEM problem. |
|
File where the fem results are saved |
|
Injected current in A |
|
Injection protocole. |
|
Check if the injection protocol contains more than one pattern. |
|
Number of electrodes. |
|
Number of frequency step in the EIT simulation. |
|
Number of injection paterns in the protocol. |
|
Number of time step in the EIT simulation. |
|
File where the nerve mesh is saved |
|
File where the nerve simulation results are saved |
|
Duration of all the simulations |
|
Axial extent of the 3D FEM subdomain centered on the recorder position. |
|
current amplitude injected in uA. |
|
if true simulation resutls are save on the fligth |
Methods
|
Create a 3D EIT forward problem from a nerve description. |
|
creation of mesh file |
Clear all simulations outputs. |
|
Clear FEM results and reset result file. |
|
|
return the number of process of a given simualtion step |
Generic method returning all the atributes of an NRV_class instance |
|
|
Generic loading method for |
Rerun failed FEM simulation steps. |
|
|
Run the FEM simulation for all time step of a given task (process). |
|
Compute only a few time step of the EIT simulation and save the computed electric field in the whole domain |
|
Run the FEM simulation for all time step of a given task (process). |
|
|
|
Generic saving method for |
|
Generic method to set any attribute of |
|
Run the eit problem for all time steps |
|
Simulate the neural context: fibres conductivity and extracellular context. |
|
Simulate the neural context: fibres conductivity and extracelullar context. |
Get the shape of the voltage results array. |