IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
gridsearchparam Class Reference

Detailed Description

Grid Searc Parameter: auxiliary class for Grid Searches. I think this is deprecated.

Attention
Works in log base 10
See also
gridsearch

Definition at line 10 of file gridsearchparam.m.

Public Member Functions

function gridsearchparam (in name_, in values_, in flag_log_)
 
function get flag_numeric (in o)
 
function get_ticklabels (in o)
 
function get_label (in o)
 
function get_value (in o, in idx)
 
function get_value_string (in o, in idx)
 
function get_values_numeric (in o)
 If log, takes log. More...
 
function get_legends (in o)
 
function move_to (in o, in idx)
 Keeps the span. More...
 
function shrink_around (in o, in idx)
 

Public Attributes

Property name
 name: name of a field in '.obj' More...
 
Property values
 
Property flag_log
 
Property flag_numeric
 

Constructor & Destructor Documentation

function gridsearchparam::gridsearchparam ( in  name_,
in  values_,
in  flag_log_ 
)

Member Function Documentation

function get gridsearchparam::flag_numeric ( in  o)
function gridsearchparam::get_label ( in  o)
function gridsearchparam::get_legends ( in  o)
function gridsearchparam::get_ticklabels ( in  o)
function gridsearchparam::get_value ( in  o,
in  idx 
)
function gridsearchparam::get_value_string ( in  o,
in  idx 
)
function gridsearchparam::get_values_numeric ( in  o)

If log, takes log.

function gridsearchparam::move_to ( in  o,
in  idx 
)

Keeps the span.

function gridsearchparam::shrink_around ( in  o,
in  idx 
)

[1 3 5 7] around 2 –> [1 2.3333 3.6667 5]

Member Data Documentation

Property gridsearchparam::flag_log

=0. Indicates whether the ticks and axis label should be formatted to show log values

This parameter is ignored if the gridsearchparam is not numeric

Definition at line 25 of file gridsearchparam.m.

Property gridsearchparam::flag_numeric

Definition at line 31 of file gridsearchparam.m.

Property gridsearchparam::name

name: name of a field in '.obj'

Definition at line 15 of file gridsearchparam.m.

Property gridsearchparam::values

Double vector (numeric) / cell of strings

If numeric, it is essential to be increasing.

Definition at line 20 of file gridsearchparam.m.


The documentation for this class was generated from the following file: