Preprocessiterator: Difference between revisions
Jump to navigation
Jump to search
imported>Scott (Created page with "===Purpose=== Create array of preprocessing combinations. ===Synopsis=== : pplist = preprocessiterator(inpp);%Shows gui for iterator settings. : pplist = preprocessiterator...") |
imported>Scott No edit summary |
||
Line 30: | Line 30: | ||
# Data_Type - Allowed values for Min and Max. | # Data_Type - Allowed values for Min and Max. | ||
# Min - First value. | # Min - First value. | ||
# | # Step - Size of each step. | ||
# Max - Last value. | # Max - Last value. | ||
# Use_Log - Use a log scale to create values. | # Use_Log - Use a log scale to create values. |
Revision as of 19:42, 16 October 2013
Purpose
Create array of preprocessing combinations.
Synopsis
- pplist = preprocessiterator(inpp);%Shows gui for iterator settings.
- pplist = preprocessiterator(inpp,imatrix);%Command line call.
Description
For given input preprocessing structure (inpp), create combinations of preprocessing based on PP methods that can be iterated over using simple min/steps/max values. If iteration matrix (imatrix) is not provided a window will appear allowing user to specify iterations.
Supported Preprocessing Methods:
- Derivative
- Normalize
- GLS Weighting
- Whittaker
- Gapsegment
- Normalize
- Poisson (sqmnsc)
Iterator Matrix (imatrix) example. Cell array n x 9 with following fields:
- Rel_Index - Relative index of method.
- PP_Name - Name of preprocess method.
- Param_nName - Name of .userdata parameter.
- Param_Var - Name of .userdata field.
- Data_Type - Allowed values for Min and Max.
- Min - First value.
- Step - Size of each step.
- Max - Last value.
- Use_Log - Use a log scale to create values.
inpp = preprocess('default','mean center','derivative','normalize', 'mean center','sqmnsc','normalize','log10','whittaker'); imatrix = { 1 'derivative' 'Width' 'width' 'int(1:inf)' 1 1 1 0; 1 'derivative' 'Derivative' 'deriv' 'int(1:inf)' 1 1 1 0;... 1 'derivative' 'Order' 'order' 'int(1:inf)' 1 1 1 0; 2 'Normalize' 'Norm Type' 'normtype' 'int(1:inf)' 1 2 2 0;... 1 'GLS Weighting' 'Alpha' 'a' 'float(0:inf)' 1 1 1 1}; pplist = preprocessiterator(inpp,imatrix)
NOTE: If the original preprocess structure contains 2 Normalize steps, the second Normalize will be iterated over.