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]; }
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); } }