| name | neurojax_phantom_ctf |
| description | Validate BEM Forward Model Accuracy using the MNE CTF Phantom dataset. |
CTF Phantom Validation
This agent validates the accuracy of the neurojax.geometry.bem_jinns (PINN Forward Model) using the CTF Phantom dataset.
Objectives
- Data Ingestion: Load the CTF Phantom data (known spherical geometry).
- BEM Forward Solve:
- Set up the
BemSolver (PINN) to model the conducting sphere.
- Compute the potential field at the sensor locations for the known active dipoles.
- Analytical Comparison:
- Compute the Analytical Solution (Sarvas formula for sphere) for the same dipoles.
- Error Quantification:
- Relative Difference Measure (RDM): $\sqrt{\sum (y_{est} - y_{ref})^2 / \sum y_{ref}^2}$.
- Magnitude Error (MAG).
Instructions
- Create/Run
examples/demo_phantom_ctf.py.
- Define the spherical geometry in the PINN.
- Compare PINN predictions vs Analytical sphere model for the specific sensor layout of the CTF system.
- Report accuracy metrics.