From 9e64eb67aec32fb8cdc8be1cd9ce998cd5bdcb36 Mon Sep 17 00:00:00 2001 From: Charlotte Bond <czb@star.sr.bham.ac.uk> Date: Mon, 27 May 2013 16:24:11 +0100 Subject: [PATCH] made zoom range slightly larger but increased number of zooms to avoid selecting the wrong peak for HOM input with frequency splitting --- .../prepare_files/FT_DR_FP_MICH_initial_tuning.m | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 2584612..ff50bac 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 ========== -- GitLab