NaviNIBS.util.CoilOrientations module¶
- class NaviNIBS.util.CoilOrientations.MetricSpecification(getter, units, label, doShowByDefault=True)[source]¶
Bases:
object
- Parameters:
getter (
Callable
[[],float
])units (
str
)label (
str
)doShowByDefault (
bool
)
- getter: Callable[[], float]¶
- units: str¶
- label: str¶
- doShowByDefault: bool¶
- class NaviNIBS.util.CoilOrientations.PoseMetricCalculator(session, sample)[source]¶
Bases:
object
- Parameters:
_session
_sample
- _session: <module 'NaviNIBS.Navigator.Model.Session' from 'C:\\Users\\chris\\OneDrive - Stanford\\RTNaBS\\NaviNIBS\\Navigator\\Model\\Session.py'>¶
- sigCacheReset: Signal¶
Emitted whenever previously cached values are cleared, e.g. due to change in sample orientation, sample, or target.
- property supportedMetrics¶
- property session¶
- property sample¶
- getTargetErrorInBrain(doUseCache=True)[source]¶
Distance from target in brain to sample after projecting down to plane of cortical target.
Note: this determines depth of the target in the brain by finding closest point to the gm surf, so that we don’t need to assume that target.targetCoord is already at the cortical surface.
- Return type:
float