% MCL_Optimization
% 27 August 2007

% change_gain - changes the damping gain of the
% specified mirror and degree

% MCL_change_damping - will raster through different pos damping gain values
% for the suspended optics in the cavity specified.  

% get_MCL_spectrum - gets a calibrated MCL spectrum

% rms - find the rms value of y(x)

% MCL_getdata - collects dttfft2 data for the MCL channel for the time from  
% start_time and end_tim

% tfplot_RMS -  gets the maximum RMS values for the 1hz and
% 3hz peaks in the MCL spectrum at times between start_time and end_time.

% get_MCL_spectra - gets spectra for MCL with the pos 
% degree set to the same damping gain value for MC1, MC2 and MC3.  

% MCL_data - MC-L_DATA rasters through the different damping gains in a 
% specified range and collects the MCL spectrum data for the mirrors in
% the cavity specified 

% Set_damping - sets the damping gain values for all of the degrees of
% freedom of the mode cleaner suspended optics to 0.5.

% transfer_func - the length calibration for MCL

% set_ramp_time -  sets the ramp time for pos for the mode cleaner suspended 
% optics to 2 s
