/// <summary> /// Initializes a new instance of the <see cref="SeismicTrace" /> class. /// </summary> /// <param name="data">The data.</param> public SeismicTrace(float[] data) { _data = data; _header = new TraceHeader { Npts = _data.Length }; Instrument = new SeismographInfo(); }
/// <summary> /// Initializes a new instance of the <see cref="SeismicTrace" /> class. /// </summary> /// <param name="data">The data.</param> /// <param name="header">The header.</param> /// <param name="seisInfo">The seis information.</param> public SeismicTrace(float[] data, TraceHeader header, SeismographInfo seisInfo) { _data = data; _header = header; Instrument = seisInfo; }
/// <summary> /// Initializes a new instance of the <see cref="SeismicTrace" /> class. /// </summary> /// <param name="data">The data.</param> /// <param name="header">The header.</param> public SeismicTrace(float[] data, TraceHeader header) { _data = data; _header = header; Instrument = new SeismographInfo(); }