Skip to content

Commit fd7bf28

Browse files
author
sprenger
committed
[neuralynx] add ATLAS acquisition type
1 parent 80f4bc1 commit fd7bf28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/rawio/neuralynxrawio/ncssections.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,8 @@ def build_for_ncs_file(ncsMemMap, nlxHdr):
415415
nomFreq = nlxHdr['sampling_rate']
416416
nb = NcsSectionsFactory._buildForMaxGap(ncsMemMap, nomFreq)
417417

418-
# BML style with fractional frequency and micros per samp
419-
elif acqType == "BML":
418+
# BML & ATLAS style with fractional frequency and micros per samp
419+
elif acqType == "BML" or acqType == "ATLAS":
420420
sampFreqUsed = nlxHdr['sampling_rate']
421421
nb = NcsSectionsFactory._buildGivenActualFrequency(ncsMemMap, sampFreqUsed,
422422
math.floor(sampFreqUsed))

0 commit comments

Comments
 (0)