示例#1
0
文件: ABF.cs 项目: swharden/vsABF
 public Sweep(AbfInfo info)
 {
     this.info   = info;
     length      = info.sweepLengthPoints;
     lengthSec   = info.sweepLengthSec;
     lengthMin   = info.sweepLengthMin;
     intervalSec = info.sweepIntervalSec;
     intervalMin = info.sweepIntervalMin;
     values      = new double[info.sweepLengthPoints];
 }
示例#2
0
文件: ABF.cs 项目: swharden/vsABF
        private bool[,] dataLoaded; // sweep, channel

        public ABF(string filePath, bool preLoadSweepData = true)
        {
            abffio = new AbffioInterface(filePath);
            info   = new AbfInfo(filePath, abffio.header);
            sweep  = new Sweep(info);
            ReadTags();

            if (preLoadSweepData)
            {
                LoadAllSweeps();
                SetSweep(0, 0);
            }
        }