Skip to content

Commit 6a8c7d4

Browse files
Merge pull request #1234 from GeezleCode/NeuralynxIORawDataSystem
added RAWDATAFILE to neuralynx type_of_recording
2 parents 47e109d + a4a67e8 commit 6a8c7d4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

neo/rawio/neuralynxrawio/ncssections.py

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

439439
# digital lynx style with fractional frequency and micros per samp determined from
440440
# block times
441-
elif acqType == "DIGITALLYNX" or acqType == "DIGITALLYNXSX" or acqType == 'CHEETAH64':
441+
elif acqType == "DIGITALLYNX" or acqType == "DIGITALLYNXSX" or acqType == 'CHEETAH64' or acqType == 'RAWDATAFILE':
442442
nomFreq = nlxHdr['sampling_rate']
443443
nb = NcsSectionsFactory._buildForMaxGap(ncsMemMap, nomFreq)
444444

neo/rawio/neuralynxrawio/nlxheader.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,10 @@ def type_of_recording(self):
293293
# Cheetah64
294294
elif self['HardwareSubSystemType'] == 'Cheetah64':
295295
return 'CHEETAH64'
296+
297+
# RawDataFile
298+
elif self['HardwareSubSystemType'] == 'RawDataFile':
299+
return 'RAWDATAFILE'
296300

297301
else:
298302
return 'UNKNOWN'

0 commit comments

Comments
 (0)