WITec |
public class WITecReader
The WITecReader type exposes the following members.
| Name | Description | |
|---|---|---|
| WITecReader | 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. |
| Name | Description | |
|---|---|---|
| Spectra | List of extracted spectra (TDGraphClass instances) found in the file. | |
| TextEncoding | Gets the text encoding that is used in WITec projects (Windows-1252). |
| Name | Description | |
|---|---|---|
| BuildNodeWithIDT | 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. | |
| Create_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. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| ExtractSpectra | 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. | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
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