Config

From Mslice
Revision as of 10:40, 31 March 2011 by Alex Buts (talk | contribs) (Created page with "== Mslice Config == Current Mslice configuration has the following fields: <tt> function defaults=homer_defaults() % functuion builds the structure, which describes default ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Mslice Config

Current Mslice configuration has the following fields:

 function defaults=homer_defaults()
% functuion builds the structure, which describes default parameters used
% by mslice;
% This structure is used if no previous configuration has been defined on
% this machine,e.g. configuration file does not exist. 
% Ths function also can define the fields which will always have default
% values specifying their names in the field:
% fields_sealed
defaults = ...
    struct('last_copied_libisis',1620, ... % by default, this is the lowest Libisis version which supports copying
           'MSliceDir',,...  % -- sealed: Mslice folder
           'SampleDir',,...  % -- sealed: folder with msp configuration files 
           'MspDir',, ...    % folder with msp files which describe mslice configurations
           'MspFile','crystal_psd.msp',... % default msp file
           'DataDir',,...    % data files (spe files)
           'PhxDir',, ...    % phx files (detector angular positions)
           'cut_OutputDir', ...  % defauld folder to save cuts. 
           ) ;