Click or drag to resize

NicoletSPAReader Constructor

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

Namespace: Altaxo.Serialization.NicoletSPA
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public NicoletSPAReader(
	Stream stream
)

Parameters

stream  Stream
A seekable Stream that contains data in the Nicolet SPA file format.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when stream is null.
ArgumentExceptionThrown when stream is not seekable.
Remarks
The constructor reads fixed offsets from the SPA file header to determine comment text, number of points, minimum/maximum wavenumbers and the location of the binary data block. Existing inline comments in the implementation document the exact offsets and markers used.
See Also