Clsti model builder: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
Line 24: Line 24:
#*DataSet Object
#*DataSet Object
[[Image:CLSTI_Model_Builder_load_data_cropped.png|400px]]
[[Image:CLSTI_Model_Builder_load_data_cropped.png|400px]]
===Definition File===
Definition files must be formatted in a specific way for the import to work correctly. They must be in .csv, .txt, or .xlsx format and consist of two columns, where the fist column in the file name corresponding the data file and the second column contain the temperature at which that pure component spectrum was collected. Here is an example definition file for Acetone in .csv format:
<tt>
  Acetone,
  Acetone_25C.spc,25
  Acetone_40C.spc,40
  Acetone_55C.spc,55
  Acetone_70C.spc,70
</tt>
Important things to note:
*The pure component name should be in the fist element of the definition file
*The data files (Acetone_25C.spc, etc.) should be in the same folder as the definition file
**If not in the same folder then the file names should include the full path to the data file (example: myFolder1/myFolder2/Acetone_25C.spc)
===DataSet Object===


==Include/Exclude Pure Component Samples==
==Include/Exclude Pure Component Samples==

Revision as of 10:53, 6 December 2023

CLSTI Model Builder How To

This page describes how to use the CLSTI Model Builder interface.

Empty CLSTI Model Builder interface

This interface can be accessed by:

  • From the MATLAB command line, use the commands:
    • clsti('builder'), or
    • clsti_gui
  • From the CLSTI Analysis interface:
    • Click on the Open CLSTI Model Builder button

CLSTI Analysis Interface.png

Load Data

Follow these steps to load pure component data to use to build a CLSTI model:

  1. Use the CLSTI Model Builder plus.png button to add an empty Component tab.
  2. Right click on the new tab and choose the appropriate format to load your data. Choose from:
    • Definition file, or
    • DataSet Object

CLSTI Model Builder load data cropped.png

Definition File

Definition files must be formatted in a specific way for the import to work correctly. They must be in .csv, .txt, or .xlsx format and consist of two columns, where the fist column in the file name corresponding the data file and the second column contain the temperature at which that pure component spectrum was collected. Here is an example definition file for Acetone in .csv format:

  Acetone,
  Acetone_25C.spc,25
  Acetone_40C.spc,40
  Acetone_55C.spc,55
  Acetone_70C.spc,70

Important things to note:

  • The pure component name should be in the fist element of the definition file
  • The data files (Acetone_25C.spc, etc.) should be in the same folder as the definition file
    • If not in the same folder then the file names should include the full path to the data file (example: myFolder1/myFolder2/Acetone_25C.spc)

DataSet Object

Include/Exclude Pure Component Samples

Variable Selection

Build CLSTI Model

Save Model to the Workspace

Send Model to CLSTI Analysis Window

Load CLSTI Model