API#
Design and manufacture nulling coils#
Optimize stream functions, discretize into current loops, join interactively, and export to KiCAD.
|
Biplanar coil. |
|
|
|
Set field in target region using spherical harmonics. |
Evaluation metrics#
Evaluate performance using efficiency and homogeneity.
|
Compute efficiency with discretized current loops. |
|
Compute homogeneity percentage with discretized current loops. |
Simulating PCBs#
Load the completed coil path from KiCAD and compute the total magnetic field from a combination of PCBs.
|
|
|
|
|
Loads and returns PCBPanel |
|
Compute field from multiple sets of panels |
|
Plot colormap of one field axis along an x-z plane between panels. |
|
Plot line profile for panel. |
|
Creates 2d colormap, line profile, and arrow field map for coil. |
|
Plots multiple panels and their combined fields in 3D |
Data Analysis#
Analyze the performance of a coil design.
|
Get good channels from txt files with residual fields. |
|
Load remnant fields from txt file. |
|
Add channel locations. |
|
Read info for OPM. |
|
Find events in OPM-MEG data. |