Skip to content

Commit 48f6d51

Browse files
author
crodger
committed
patch from jnowacki -- header description extension for protocol reading
git-svn-id: https://neuralensemble.org/svn/neo/branches/neo0.2@338 acbc63fc-6c75-0410-9d68-8fa99cba188a
1 parent 20ab7f0 commit 48f6d51

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

neo/io/axonio.py

+66
Original file line numberDiff line numberDiff line change
@@ -638,4 +638,70 @@ def read_header(self, ):
638638
('nVoiceTagNumber_or_AnnotationIndex','h'),
639639
]
640640

641+
DACInfoDescription = [
642+
('nDACNum','h'),
643+
('nTelegraphDACScaleFactorEnable','h'),
644+
('fInstrumentHoldingLevel', 'f'),
645+
('fDACScaleFactor','f'),
646+
('fDACHoldingLevel','h'),
647+
('fDACCalibrationFactor','f'),
648+
('fDACCalibrationOffset','f'),
649+
('lDACChannelNameIndex','i'),
650+
('lDACChannelUnitsIndex','i'),
651+
('lDACFilePtr','i'),
652+
('lDACFileNumEpisodes','i'),
653+
('nWaveformEnable','h'),
654+
('nWaveformSource','h'),
655+
('nInterEpisodeLevel','h'),
656+
('fDACFileScale','f'),
657+
('fDACFileOffset','f'),
658+
('lDACFileEpisodeNum','i'),
659+
('nDACFileADCNum','h'),
660+
('nConditEnable','h'),
661+
('lConditNumPulses','i'),
662+
('fBaselineDuration','f'),
663+
('fBaselineLevel','f'),
664+
('fStepDuration','f'),
665+
('fStepLevel','f'),
666+
('fPostTrainPeriod','f'),
667+
('fPostTrainLevel','f'),
668+
('nMembTestEnable','h'),
669+
('nLeakSubtractType','h'),
670+
('nPNPolarity','h'),
671+
('fPNHoldingLevel','f'),
672+
('nPNNumADCChannels','h'),
673+
('nPNPosition','h'),
674+
('nPNNumPulses','h'),
675+
('fPNSettlingTime','f'),
676+
('fPNInterpulse','f'),
677+
('nLTPUsageOfDAC','h'),
678+
('nLTPPresynapticPulses','h'),
679+
('lDACFilePathIndex','i'),
680+
('fMembTestPreSettlingTimeMS','f'),
681+
('fMembTestPostSettlingTimeMS','f'),
682+
('nLeakSubtractADCIndex','h'),
683+
('sUnused','124s'),
684+
]
685+
686+
EpochInfoPerDACDescription = [
687+
('nEpochNum','h'),
688+
('nDACNum','h'),
689+
('nEpochType','h'),
690+
('fEpochInitLevel','f'),
691+
('fEpochLevelInc','f'),
692+
('lEpochInitDuration','f'),
693+
('lEpochDurationInc','f'),
694+
('lEpochPulsePeriod','f'),
695+
('lEpochPulseWidth','f'),
696+
('sUnused','18s'),
697+
]
641698

699+
EpochInfoDescription = [
700+
('nEpochNum','h'),
701+
('nDigitalValue','h'),
702+
('nDigitalTrainValue','h'),
703+
('nAlternateDigitalValue','h'),
704+
('nAlternateDigitalTrainValue','h'),
705+
('bEpochCompression','b'),
706+
('sUnused','21s'),
707+
]

0 commit comments

Comments
 (0)