MCPcopy
hub / github.com/mne-tools/mne-python / insert

Method insert

mne/annotations.py:141–142  ·  view source on GitHub ↗
(self, i, item)

Source from the content-addressed store, hash-verified

139 super().append(self._validate_value(item))
140
141 def insert(self, i, item):
142 super().insert(i, self._validate_value(item))
143
144 def extend(self, other):
145 if not isinstance(other, _AnnotationsExtrasList):

Callers 15

_ensure_authorFunction · 0.80
_ensure_licenseFunction · 0.80
_ensure_copyrightFunction · 0.80
_ensure_blankFunction · 0.80
generate_commands_rstFunction · 0.80
runMethod · 0.80
_trans_from_paramsFunction · 0.80
write_labels_to_annotFunction · 0.80
expandMethod · 0.80
_find_stim_stepsFunction · 0.80
_find_eventsFunction · 0.80

Calls 1

_validate_valueMethod · 0.95

Tested by 4

test_bino_to_monoFunction · 0.64
test_chunk_durationFunction · 0.64
test_sortingFunction · 0.64