IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
classmap_compile.m
Go to the documentation of this file.
1 %> @file
2 %> @ingroup introspection globals
3 %> @brief Creates the @c CLASSMAP global and saves it into the "misc" directory
4 %> @sa classmap_assert.m
5 
6 function classmap_compile()
7 global CLASSMAP;
8 % Uses temp variable to make sure CLASSMAP will be assigned only if map built is successful
9 temp = classmap();
10 temp.build('irdata');
11 temp.build('block');
12 temp.build('sgs');
13 temp.build('fsg');
14 temp.build('peakdetector');
15 temp.build('irlog');
16 temp.build('vectorcomp');
17 temp.build('soitem');
18 CLASSMAP = temp;
19 
20 
21 fn = fullfile(get_rootdir(), 'CLASSMAP.mat');
22 save(fn, 'CLASSMAP');
function classmap_compile()
Base Sub-dataset Generation Specification (SGS) class.
Definition: sgs.m:6
function classmap_assert()
Dataset class.
Definition: irdata.m:30
Scans IRootLab directories and build hierarchical class maps.
Definition: classmap.m:7
Peak Detector.
Definition: peakdetector.m:6
function get_rootdir()
Base Block class.
Definition: block.m:2
FSG - Feature Subset Grader.
Definition: fsg.m:6
Paired Vector Comparer base class.
Definition: vectorcomp.m:9
Log base class.
Definition: irlog.m:5