IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
def_biocomparer.m
Go to the documentation of this file.
1 %>@ingroup idata globals
2 %> @file
3 %> @brief Returns the default biocomparer
4 %>
5 %> Some options are defined in the MORE global.
6 %>
7 %> @sa more_assert.m, setup_write.m
8 %
9 %> @param out If passed, returns it; otherwise, returns a default object
10 function out = def_biocomparer(out)
11 if nargin == 0 || isempty(out)
12  more_assert();
13  global MORE; %#ok<TLEV>
14  irverbose(sprintf('INFO: Default biocomparer... (halfheight = %d)', MORE.bc_halfheight), 2);
15  out = biocomparer();
16  out.flag_use_weights = 1;
17  out.halfheight = MORE.bc_halfheight;
18 end;
function irverbose(in s, in level)
function more_assert()
function setup_write()
function def_biocomparer(in out)