Difference between revisions of "Config"

From Mslice
Jump to navigationJump to search
(Created page with "== Mslice Config == Current Mslice configuration has the following fields: <tt> function defaults=homer_defaults() % functuion builds the structure, which describes default ...")
 
 
Line 16: Line 16:
 
     struct('last_copied_libisis',1620, ... % by default, this is the lowest Libisis version which supports copying
 
     struct('last_copied_libisis',1620, ... % by default, this is the lowest Libisis version which supports copying
 
             'MSliceDir','',...  % -- sealed: Mslice folder
 
             'MSliceDir','',...  % -- sealed: Mslice folder
             'SampleDir','',...  % -- sealed: folder with msp configuration files  
+
             'SampleDir','',...  % -- sealed: folder with msp sample configuration files  
 
             'MspDir','', ...    % folder with msp files which describe mslice configurations
 
             'MspDir','', ...    % folder with msp files which describe mslice configurations
 
             'MspFile','crystal_psd.msp',... % default msp file
 
             'MspFile','crystal_psd.msp',... % default msp file

Latest revision as of 11:06, 31 March 2011

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 sample 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. 
           ) ;