Hrmethodreadr

From Eigenvector Research Documentation Wiki
Revision as of 13:21, 10 July 2009 by imported>Jeremy (New page: ===Purpose=== Converts HoloReact method into preprocessing structure. ===Synopsis=== :pp = hrmethodreadr(''filename'') ===Description=== Converts method files created by Kaiser Optica...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Converts HoloReact method into preprocessing structure.

Synopsis

pp = hrmethodreadr(filename)

Description

Converts method files created by Kaiser Optical System's HoloReact software into a preprocessing method for use with PLS_Toolbox or Solo. Input is a HoloReact Method file (.mat format). If omitted, the user is prompted to locate a valid method file.

The output is a preprocessing structure which can be used with Preprocess (through Analysis GUI, Preprocess, or at the command line) that will take a spectrum and convert it into discrete variables based on baselining, integrating, and/or point measurements.

When a spectrum is processed, each marked region will be converted into a single new variable in the output spectrum. These new variables are stored starting at the first included variable of the original spectrum. All remaining variables are zeroed out. Thus the entire spectrum is replaced with the integration results plus many uninteresting (all-zero) variables. All excluded variables are zeroed out and ignored.

This converter works with Kaiser Analysis methods:

baseline
integrate
point

It does not allow the peak height, peak width, PCA, or MCR analysis methods in the HoloReact software. Baseline method works with either global points and order settings or peak-specific points and order settings. No other preprocessing steps are converted from the Method file.

Optional Inputs

filename = A .mat file saved from the HoloReact software.

Outputs

pp = A preprocessing structure which can be used with preprocess.m or loaded into the preprocessing GUI (e.g. via Analysis)

See Also

baseline, preprocess