wonambi.attr package
- Packages containing all the possible attributes to recordings, such as
- channels (module “chan”) with class:
Chan
- anatomical info (module “anat”) with class:
Surf
- annotations and sleep scores (module “annotations”) with class:
Annotations
Possibly include forward and inverse models.
These attributes are only “attached” to the DataType, there should not be any consistency check when you load them. The risk is that attributes do not refer to the correct datatype, but the advantage is that we cannot keep track of all the possible inconsistencies (f.e. if the channel names are not the same between the actual channels and those stored in the Channels class).
In addition, these classes are often used in isolation, even without a dataset, so do not assume that any of the classes in the module can call the main dataset. In other words, these classes shouldn’t have methods calling the datatype, but there can be functions in the modules that use both the dataset and the classes below.
Submodules
- wonambi.attr.anat module
- wonambi.attr.annotations module
Annotations
Annotations.add_bookmark()
Annotations.add_event()
Annotations.add_event_type()
Annotations.add_events()
Annotations.add_rater()
Annotations.clear_cycles()
Annotations.create_epochs()
Annotations.current_rater
Annotations.dataset
Annotations.epoch_length
Annotations.epochs
Annotations.event_types
Annotations.export()
Annotations.export_events()
Annotations.export_sleep_stats()
Annotations.first_second
Annotations.get_bookmarks()
Annotations.get_cycles()
Annotations.get_epoch_start()
Annotations.get_epochs()
Annotations.get_events()
Annotations.get_rater()
Annotations.get_stage_for_epoch()
Annotations.import_events()
Annotations.import_staging()
Annotations.last_second
Annotations.latency_to_consolidated()
Annotations.load()
Annotations.raters
Annotations.remove_bookmark()
Annotations.remove_cycle_mrkr()
Annotations.remove_event()
Annotations.remove_event_type()
Annotations.remove_rater()
Annotations.rename_event_type()
Annotations.rename_rater()
Annotations.save()
Annotations.set_cycle_mrkr()
Annotations.set_stage_for_epoch()
Annotations.slp_frag()
Annotations.start_time
Annotations.switch()
Annotations.time_in_stage()
Annotations.to_bids()
create_annotation()
create_empty_annotations()
parse_iso_datetime()
update_annotation_version()
- wonambi.attr.chan module