Skip to content

Commit 1093e08

Browse files
author
sprenger
committed
[neuralynx] add support for 'Cheetah64' subsystem
1 parent fd7bf28 commit 1093e08

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

neo/rawio/neuralynxrawio/ncssections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def build_for_ncs_file(ncsMemMap, nlxHdr):
411411

412412
# digital lynx style with fractional frequency and micros per samp determined from
413413
# block times
414-
elif acqType == "DIGITALLYNX" or acqType == "DIGITALLYNXSX":
414+
elif acqType == "DIGITALLYNX" or acqType == "DIGITALLYNXSX" or acqType == 'CHEETAH64':
415415
nomFreq = nlxHdr['sampling_rate']
416416
nb = NcsSectionsFactory._buildForMaxGap(ncsMemMap, nomFreq)
417417

neo/rawio/neuralynxrawio/nlxheader.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,13 @@ def type_of_recording(self):
288288
elif self['HardwareSubSystemType'] == 'DigitalLynxSX':
289289
return 'DIGITALLYNXSX'
290290

291+
# Cheetah64
292+
elif self['HardwareSubSystemType'] == 'Cheetah64':
293+
return 'CHEETAH64'
294+
295+
else:
296+
return 'UNKNOWN'
297+
291298
elif 'FileType' in self:
292299

293300
if self['FileVersion'] in ['3.3', '3.4']:

0 commit comments

Comments
 (0)