1 %> @brief DPT TXT *loader* only
3 %> DPT - Data Points Table
5 %> Format saved by OPUS. First column is wavenumbers, then subsequence columns
11 %> (optional) Image height. If specified, will assign it the loaded dataset
13 %> =
'hor'. Whether the pixels are taken horizontally (
'hor') or vertically (
'ver') to form the image.
14 %> It was found that OPUS numbers the point in the image map left-right, bottom-up, hence 'hor'.
15 %> Same
as irdata.direction (although
irdata.direction has a different default).
22 o.flag_params = 1; % uip_data_txt.dpt.(fig/m)
33 ds.filename = o.filename;
34 ds.filetype = 'txt_dpt';
36 mask = ['p%0', int2str(ceil(log10(ds.no))), 'd'];
37 ds.obsnames = arrayfun(@(i) sprintf(mask, i), (0:ds.no-1)', 'UniformOutput', 0);
42 ds.direction = o.direction;
48 function o = save(o, data)
49 irerror('Sorry, DPT saving not supported at the moment.');
Dataset loader/saver common class.
Analysis Session (AS) base class.