NaviNIBS.Navigator.Model.Session module

Bases: object

Bases: object

Primary data model for a NaviNIBS session. Contains all session-specific data and methods for saving/loading.

Parameters:
  • _filepath

  • _subjectID

  • _sessionID

  • _miscSettings

  • _MRI

  • _headModel

  • _coordinateSystems

  • _subjectRegistration

  • _targets

  • _tools

  • _samples

  • _digitizedLocations

  • _triggerSources

  • _dockWidgetLayouts

  • _addons

  • _compressedFileIsDirty

  • _lastAutosaveFilenamePrefix

  • _unpackedSessionDir

Includes list of keys in info that were changed. If list is None, subscribers should assume that all info changed.

Cached instance of json beautifier. This saves some time compared to initializing with each dumps call.

Result should not be modified.

Import session elements from another file. Specify sections to only read a subset of elements from the file to merge, e.g. sections=[‘targets’] to ignore everything but the targets section in the loaded file.