Exemplo n.º 1
0
 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];
 }
Exemplo n.º 2
0
        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);
            }
        }