diff --git a/src/new/finesse/prepare_files/FT_DR_FP_MICH_initial_tuning.m b/src/new/finesse/prepare_files/FT_DR_FP_MICH_initial_tuning.m index 2584612b7a7401ebd83ecfe2abd033a40c386ba7..ff50baccd8c829be2c6636e3f362219ef0996d5b 100644 --- a/src/new/finesse/prepare_files/FT_DR_FP_MICH_initial_tuning.m +++ b/src/new/finesse/prepare_files/FT_DR_FP_MICH_initial_tuning.m @@ -97,7 +97,7 @@ function [tunings] = FT_DR_FP_MICH_initial_tuning(infile,outfile,commands,mirror zooms = 4; % Number of points and ranges for the first and second round of scans npoints = 1000; - range = 180; + range = 120; zoom_npoints = 500; zoom_range = 20; @@ -108,7 +108,7 @@ function [tunings] = FT_DR_FP_MICH_initial_tuning(infile,outfile,commands,mirror Run1 = FT_create_new_kat_run(); % Set temporary filename - tmpfile='tmpfile.kat'; + tmpfile='tmpfile_tuning.kat'; Run1.filename=tmpfile; % Read in blocks from infile @@ -150,7 +150,7 @@ function [tunings] = FT_DR_FP_MICH_initial_tuning(infile,outfile,commands,mirror % Read in intial maxtem maxtem = FT_read_maxtem_from_blocks(blocks); % Start off with maxtem at minimum (i.e. max order of tem modes) - [gc,max_order] = FT_read_TEM_from_blocks(blocks) + [gc,max_order] = FT_read_TEM_from_blocks(blocks); blocks = FT_replace_maxtem_in_blocks(blocks,max_order); % Perform tunigns twice, once with maxtem 0 and once with the value for @@ -199,7 +199,7 @@ function [tunings] = FT_DR_FP_MICH_initial_tuning(infile,outfile,commands,mirror %---------------------------------------------------------------------- %====================================================================== %====================================================================== - + %====================================================================== %============ 2. Tuning BS to minimise power at AS port =============== %====================================================================== @@ -217,7 +217,7 @@ function [tunings] = FT_DR_FP_MICH_initial_tuning(infile,outfile,commands,mirror fprintf('setting %s tuning to %g\n',bs,phi_BS); %====================================================================== %====================================================================== - + if ~strcmp(prm,'off') %============================================================== %======= 3. Tuning PRM to maximise power at POP port ========== @@ -242,6 +242,7 @@ function [tunings] = FT_DR_FP_MICH_initial_tuning(infile,outfile,commands,mirror %============================================================== end + % if ~strcmp(srm,'off') % %============================================================== % %======= 4. Tuning SRM to maximise power at POP port ==========