Click or drag to resize

WITecReader Class

Reader for WiTec project files (.wip).
Inheritance Hierarchy
SystemObject
  Altaxo.Serialization.WITecWITecReader

Namespace: Altaxo.Serialization.WITec
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class WITecReader

The WITecReader type exposes the following members.

Constructors
 NameDescription
Public methodWITecReader Initializes a new instance of the WITecReader class and parses the provided stream. The constructor reads the file header, the node tree and prepares the data dictionary.
Top
Properties
 NameDescription
Public propertySpectra List of extracted spectra (TDGraphClass instances) found in the file.
Public propertyStatic memberTextEncoding Gets the text encoding that is used in WITec projects (Windows-1252).
Top
Methods
 NameDescription
Public methodBuildNodeWithIDT Builds a data class instance for the node identified by the provided identifier. The method resolves the name of the data node from the internal ID dictionary and constructs the appropriate TDataClass derived instance.
Protected methodCreate_ID_Dictionary Populates the internal identifier dictionary from the provided data node. The method iterates over the child nodes of dataNode and extracts the integer ID from the child's "TData" node.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExtractSpectra Searches the parsed data node for all entries of class "TDGraph" and constructs corresponding TDGraphClass instances. Found instances are appended to the public Spectra list.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks

References:

[1] J.T.Holmi, H.Lipsanen, WITio: A MATLAB data evaluation toolbox to script broader insights into big data from WITec microscopes, SoftwareX 18 (2022), 101009, doi: https://doi.org/10.1016/j.softx.2022.101009

[2] Wit tag format description: https://gitlab.com/jtholmi/wit_io/-/blob/master/+WITio/+doc/README%20on%20WIT-tag%20format.txt

[3] Mathlab implementation: https://gitlab.com/jtholmi/wit_io

[4] Phyton implementation: https://git.photonicdata.science/py-packages/photonicdata-files-wip

See Also