![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
DPT TXT loader only.
DPT - Data Points Table
Format saved by OPUS. First column is wavenumbers, then subsequence columns are spectra.
Definition at line 9 of file dataio_txt_dpt.m.
Public Member Functions | |
function | dataio_txt_dpt () |
function | load (in o) |
Loader. More... | |
function | save (in o, in data) |
Saver. More... | |
function | load (in filename, in range) |
function | get_description (in o, in flag_short) |
function | setbatch (in o, in params) |
Sets several properties of an object at once. More... | |
function | get_methodname (in o, in flag_short) |
function | get_report (in o) |
Object reports are plain text. HTML would be cool but c'mon, we don't need that sophistication. More... | |
function | get_html (in o, in flag_stylesheet) |
function | get_params (in o, in data) |
Calls Parameters GUI. More... | |
function | extract_log (in o) |
function | get_ancestry (in o, in flag_title) |
Public Attributes | |
Property | height |
(optional) Image height. If specified, will assign it the loaded dataset More... | |
Property | direction |
Constant Property | defaultrange = [1801.47, 898.81] |
Property | filename |
Property | title |
Property | color |
Protected Member Functions | |
function | do_get_report (in o) |
Default report. More... | |
function | do_get_html (in o) |
Abstract. HTML inner body. More... | |
Protected Attributes | |
Property | flag_xaxis |
Property | classtitle |
Class Title. Should have a descriptive name, as short as possible. More... | |
Property | short |
Short for the method name. More... | |
Property | flag_params |
Property | flag_ui |
(GUI setting) Whether to "publish" in blockmenu and datatool. Note that a class can be "published" without a GUI (set flag_params=0 in this case, at the class constructor). More... | |
Property | moreactions |
(GUI setting) String cell containing names of methods that may be called from the GUIs More... | |
function dataio_txt_dpt::dataio_txt_dpt | ( | ) |
|
protectedinherited |
Abstract. HTML inner body.
|
protectedinherited |
Default report.
|
inherited |
o |
|
inherited |
o | |
flag_title=1 |
|
inherited |
Returns description string
Precedence according with flag_short:
flag_short=0 | I am sealing this to make sure that no class will try to improvise on this function. |
|
inherited |
flag_stylesheet=1 | Whether to include the stylesheet in the HTML |
|
inherited |
This is used only to compose sequence string e.g. xxx->yyy->zzz
flag_short=0 |
|
inherited |
Calls Parameters GUI.
If flag_params
, tries uip_<class>.m. If fails, tries uip_<ancestor>.m and so on
|
inherited |
Object reports are plain text. HTML would be cool but c'mon, we don't need that sophistication.
|
inherited |
function dataio_txt_dpt::load | ( | in | o | ) |
Loader.
function dataio_txt_dpt::save | ( | in | o, |
in | data | ||
) |
Saver.
|
inherited |
Sets several properties of an object at once.
o | |
params | Cell followint the pattern{'property1', value1, 'property2', value2, ...} |
|
protectedinherited |
|
inherited |
|
inherited |
Property dataio_txt_dpt::direction |
='hor'. Whether the pixels are taken horizontally ('hor') or vertically ('ver') to form the image. It was found that OPUS numbers the point in the image map left-right, bottom-up, hence 'hor'. Same as irdata.direction (although irdata.direction has a different default).
Definition at line 20 of file dataio_txt_dpt.m.
|
protectedinherited |
=1. (GUI setting) Whether to call a GUI when the block is selected in blockmenu.m . If true, a routine called "uip_"<class name> will be called.
|
protectedinherited |
Property dataio_txt_dpt::height |
(optional) Image height. If specified, will assign it the loaded dataset
Definition at line 15 of file dataio_txt_dpt.m.
|
protectedinherited |
|
protectedinherited |