%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                    c f g C 1 . m
% - Optickle Configuration files for Clatech 40m interferomter
%         updated 14/Oct/2011 by KI
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% paramC1    : parameters of Caltech 40m prptotype
% paramC1_00 : LSC - definition of demodulation phases (for tickle)
% optC1      : optical model, it has the parameters in paramEligo as argument
% probesC1_00: probes (for tickle)
%

% tell Matlab where the Optickle package resides
% My prefrence is to call $OPTICKLE_PATH which is a user-defined shell evironment variable
% The path should include
% (1) iscmodeling/Optickle
% (2) iscmodeling/Optickle/lib
    addpath(getenv('OPTICKLE_PATH'));

% call some parameter files
    par = paramC1DRMI;
    %par = paramC1_00(par); % for future expansion

% build an optic instance
    opt = optC1(par);
    opt = probesC1_00(opt, par);