public Trace(int instrumentId, long[] data, double samplingRate) { _data = data; _header = new TraceHeader(instrumentId, _data.Length); _header.SamplingRate = samplingRate; }
public Trace(long[] data, TraceHeader header) { _data = data; _header = header; }
public Trace(int instrumentId, long[] data) { _data = data; _header = new TraceHeader(instrumentId, _data.Length); }