Click or drag to resize

OmnicSPGReader Constructor

Initializes a new instance of OmnicSPGReader and reads the data from the provided stream.

Namespace: Altaxo.Serialization.Omnic
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public OmnicSPGReader(
	Stream stream
)

Parameters

stream  Stream
A seekable Stream that contains data in the Thermo Nicolet OMNIC SPG file format.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when stream is null.
ArgumentExceptionThrown when stream is not seekable.
Remarks
The constructor reads the OMNIC key table (starting at offset 304) to locate per-spectrum headers (key 0x02), intensity blocks (key 0x03) and title/date blocks (key 0x6B). It assumes that all spectra share a common x-axis.
See Also