NaviNIBS.Navigator.Model.Targets module

Bases: GenericCollectionDictItem[str]

Can specify (targetCoord, entryCoord, angle, [depthOffset]) to autogenerate coilToMRITransf, or (coilToMRITransf, [targetCoord]) to use transform directly.

Parameters:
  • _key

  • _targetCoord

  • _entryCoord

  • _angle – Typical coil handle angle, defined relative to “midline”

  • _depthOffset – Offset beyond entryCoord, e.g. due to EEG electrode thickness, coil foam

  • _coilToMRITransf – Uses convention where -y axis is along handle of typical coil and -z axis is pointing down into the head; origin is bottom face center of coil

  • _isVisible – Whether currently visible in views that render subsets of targets

  • _isHistorical – If True, will be hidden in almost all views, but may be referenced by samples (e.g. used when a target with associated samples is edited with a new orientation, but the associated samples should still be connected to the old version of the target)

  • _mayBeADependency – Can be used to mark (e.g. when an associated sample is created) that this target is a dependency for other data elements, and a copy should be created and stored in history if this is edited

  • _isSelected

  • _color

  • _session – Used to access head model for determining angle from coilToMRITransf and vice versa

Typical coil handle angle, defined relative to “midline”

Offset beyond entryCoord, e.g. due to EEG electrode thickness, coil foam

Uses convention where -y axis is along handle of typical coil and -z axis is pointing down into the head; origin is bottom face center of coil

Whether currently visible in views that render subsets of targets

If True, will be hidden in almost all views, but may be referenced by samples (e.g. used when a target with associated samples is edited with a new orientation, but the associated samples should still be connected to the old version of the target)

Can be used to mark (e.g. when an associated sample is created) that this target is a dependency for other data elements, and a copy should be created and stored in history if this is edited

Angle from midline, in degrees.

Can be manually specified. If not specified, will be autocalculated based on coilToMRITransf (if available)

Angle from midline (in degrees), calculated from coilToMRITransf (if available)

Return type:

float

Return type:

float

Return type:

Optional[ndarray]

Note: this assumes the target coordinate is far inside the scalp (e.g. on cortical surface, not on the scalp itself)

Return type:

Dict[str, Any]

Bases: GenericCollection[str, Target]

Parameters:
  • _items

  • _session – Used to access head model for determining angle from coilToMRITransf and vice versa

Used to access head model for determining angle from coilToMRITransf and vice versa

Return type:

Targets