Click or drag to resize

CorrectionFileCreate(String, OpticalParameters, Stream, Boolean, String, ScannerInfo, DictionaryString, String) Method

Creates a new correction file.

Namespace: RAYLASE.SPICE3
Assembly: RAYLASE.SPICE3 (in RAYLASE.SPICE3.dll) Version: 3.6.0
Syntax
C#
public static CorrectionFile Create(
	string filename,
	OpticalParameters header,
	Stream correction,
	bool compressPayload = true,
	string extraInfo = null,
	ScannerInfo scannerInfo = null,
	Dictionary<string, string> metadata = null
)

Parameters

filename  String
Full path to the place where the correction file should be created.
header  OpticalParameters
Optical parameters of the correction file.
correction  Stream
Stream containing one raw correction table.
compressPayload  Boolean  (Optional)
Whether to compress the payload (default) or not.
extraInfo  String  (Optional)
Optional extra info stored in the correction file.
scannerInfo  ScannerInfo  (Optional)
Optional additional fields to be included into the correction file.
metadata  DictionaryString, String  (Optional)
Optional additional metadata to be included into the correction file.

Return Value

CorrectionFile
Abstract view of the correction file
See Also