NaviNIBS.Navigator.TargetingCoordinator module

Bases: object

Specifiers to describe projection of an orientation down the depth axis to a target plane (or sphere)

Parameters:
  • _toOrientation

  • _toDepth

  • _toShape

Bases: object

Parameters:
  • _session

  • _currentTargetKey

  • _currentSampleKey

  • _positionsClient

  • _isOnTargetWhenDistErrorUnder

  • _isOnTargetWhenZAngleErrorUnder

  • _isOnTargetWhenHorizAngleErrorUnder

  • _isOnTargetWhenZDistErrorBetween – in mm. Uses span to allow greater error in negative region (i.e. coil closer to head than planned).

  • _isOnTargetMinTime

  • _isOffTargetWhenDistErrorExceeds

  • _isOffTargetWhenZAngleErrorExceeds

  • _isOffTargetWhenHorizAngleErrorExceeds

  • _isOffTargetWhenZDistErrorExceeds

  • _isOffTargetMinTime

  • _doMonitorOnTarget

  • _monitorOnTargetRate

  • _onTargetMaybeChangedAtTime

Emitted when a different target becomes current AND when an attribute of the current target changes.

Return type:

Optional[Target]

Return type:

Optional[Sample]

Return type:

PoseMetricCalculator

Return type:

PoseMetricCalculator

Return type:

Optional[str]

Return type:

Optional[ndarray]

Return type:

Target

Return type:

Target

Convenience function for getting a specific coordinate related to targeting orientations.

Abstracts some of the math needed for things like projecting the current coil orientation down the depth axis to plane of target.

May return None if we are currently missing pose information for a tracker, etc.

Return type:

Optional[ndarray]

Get the singleton instance of the TargetingCoordinator for the given session.

Return type:

TargetingCoordinator