Bspcgui

From Eigenvector Research Documentation Wiki
Revision as of 15:47, 30 August 2012 by imported>Scott (→‎Align)
Jump to navigation Jump to search

Introduction

Batch Statistical Process Control (BSPC) is the analysis of process data where the process inherently loops of "batches". Raw data is presumed to be in a 2 dimensional dataset with Variables as columns.


Model Types

BSPC Model Types
Model Modes (Dimensions) Equal Length Batches Steps Aligned Comments
Summary PCA 2 No No Orientation = batches x (step/summary)
Batch Maturity 2 No No Can have Y-Block to indicate maturity
MPCA 3 Yes Yes
PARAFAC 3 Yes Yes
Summary PARAFAC 3 No No Orientation = batches x step x summary
PARAFAC2 3 No No

Batch Processor Window

The goal of the Batch Processor interface is to make it easier to assemble “batch” data for multivariate analysis. Because different analyses and conditions require different data manipulation, assembling data for batch analysis can be very difficult and ‎ complicated.

BSPC GUI

The workflow of the interface flows from left to right. Loading data and choosing an Analysis Type will enable relevant tabs. Clicking the Next button will open the next enabled tab. Batches and steps are defined then alignment and summary information is added. When finished, "folded" data can be saved or exported to the analysis interface and or a model for folding new data can be saved.

Start

Load, append, edit, and or clear data. Selecting the Analysis type will automatically enable/disable relevant tabs.

  • Dropping data onto the status area will load data. If previously loaded exists, a prompt for overwrite or augment will appear.
    • If augment is chosen, two options will be given, augment as new batch or not. Augment as new batch adds a class for the data being augmented otherwise a "normal" augment will occur and if the new dataset has a matching class it will be merged.
  • Dragging and dropping multiple-selected (Excel) files from the system browsers (e.g., Windows Explorer or Finder) will pre-augment the files and create a label indicating file name. This label can be used to identify batches in the Batches tab.
  • Data can be edited in the DataSet Editor by clicking the Edit button. Editing will cause the model to be cleared.

Batch

Indicate source of Batch information in loaded dataset. Sources can be Class, Label, or Axisscale sets or a single Variable (column). If manually Loaded then a class is created. If the dataset contains a class with the default name of "BSPC Batch" then it will be automatically selected after loading.

  • If variable is used, data for that column will be excluded (not deleted) so other mechanisms (preprocessing) can work.
  • Once Batches have been identified, one or more batches can be plotted in the lower plot.

Steps

Steps (subdivisions of batches) can be indicated on the Steps tab. Steps can be created in the same manor as Batches or indicated manually.

Manually Selecting Steps

Manual Selection Interface

To manually select steps:

  1. Select the variable and batch to use from the plot list boxes at the bottom of the interface.
  2. Click the Select button and the interface will switch.
  3. Click the Add button to place the first step marker.
  4. Drag this marker to the first step location.
  5. Repeat until all steps are placed.
  6. Select different batch from list menu to display "aligned" step position.
  7. Adjust alignment algorithm as needed using toolbar button.
  8. Click check-mark button to finish and save steps.

Selected Steps Menu

Bspc selected steps.png

Once steps have been designated, they will appear the Step Selection list. If one or more steps should be ignored they can be deselected in this menu. Selected steps will appear in the batch plot as solid green lines and unselected steps appear as red dashed lines.

Align

Methods that require equal length batches use the methods available on the Align tab from the batchalign function.

Align Settings

NOTE: In the image above, the alignment batch is Class 0 (the default) which has no members. This must be changed before alignment will work.

  • Linear - Linear interpolation based on selected variable and batch.
  • COW - Correlation Optimized Warping with Alignment Settings values.
  • Pad With NaN - Infill with NaN to make equal length.

Plots switch to displaying selected variables and batches pre aligned on top and post align on bottom. Must click Update Plots button to refresh plot.