Skip to content
Snippets Groups Projects
Commit 28a974d6 authored by Charlotte Bond's avatar Charlotte Bond
Browse files

switching maxtem back on before mich or prm tuned

parent 2896ec54
Branches
No related tags found
No related merge requests found
......@@ -186,9 +186,10 @@ function [tunings] = FT_DR_FP_MICH_initial_tuning(infile,outfile,commands,mirror
end
end
if strcmp(srm,'off')
ntimes = 2;
else
if ~strcmp(prm,'off')
ntimes = 3;
elseif ~strcmp(srm,'off')
ntimes = 3;
end
......@@ -239,6 +240,11 @@ function [tunings] = FT_DR_FP_MICH_initial_tuning(infile,outfile,commands,mirror
%======================================================================
%======================================================================
% HOMs can greatly effect dark fringe
if isnan(maxtem)==0
blocks = FT_replace_maxtem_in_blocks(blocks,maxtem);
end
%======================================================================
%============ 2. Tuning BS to minimise power at AS port ===============
%======================================================================
......@@ -291,13 +297,6 @@ function [tunings] = FT_DR_FP_MICH_initial_tuning(infile,outfile,commands,mirror
%==============================================================
end
% HOMs can greatly effect SRM tuning, so return to original maxtem
% at this point.
if isnan(maxtem)==0
blocks = FT_replace_maxtem_in_blocks(blocks,maxtem);
end
if ~strcmp(srm,'off')
if i==2
%==============================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment