summaryrefslogtreecommitdiff
path: root/fitter_check.m
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2013-03-20 18:36:24 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2013-03-20 18:36:24 -0400
commit48bd430e85c404e75ad86ed126d184d39de1d86a (patch)
treebe44146a2737b635ceaad04ff0f6126fb9b26c50 /fitter_check.m
parent5c83224f3a938c19eb8fbfd47ae5367da210cc22 (diff)
downloadmode_match-48bd430e85c404e75ad86ed126d184d39de1d86a.tar.gz
mode_match-48bd430e85c404e75ad86ed126d184d39de1d86a.zip
removed debug output of fitter energy
Diffstat (limited to 'fitter_check.m')
-rw-r--r--fitter_check.m11
1 files changed, 7 insertions, 4 deletions
diff --git a/fitter_check.m b/fitter_check.m
index c4c5fbf..9491295 100644
--- a/fitter_check.m
+++ b/fitter_check.m
@@ -23,7 +23,7 @@ qf=wr2q(wf,rf,lambda);
n_truncate = 3; %number of digits in truncated solution
[ possible_lens_placement_uniq, possible_lens_placement, possible_sample_energy, possible_lens_set, index ] = remove_similar_soln( possible_sample_energy, possible_lens_placement, possible_lens_set, n_truncate );
-n_visualizations = 2; %number of best solutions to visualize
+n_visualizations = 5; %number of best solutions to visualize
pick_visualization( possible_sample_energy, possible_lens_placement_uniq, possible_lens_placement, possible_lens_set, index, n_visualizations, q0, qf, Ltot, lambda );
%Visualize fitness function for fixed f2 and f3
@@ -31,6 +31,9 @@ lens_set = [.075, .075, .203];
f2= 0.40361319425309 ;
f3= 0.80361319425309 ;
-fitness_simplified=@(x) fitness(q0, qf, Ltot, [x, f2, f3], lens_set, lambda );
-figure(6)
-ezplot(fitness_simplified, [0,Ltot]) \ No newline at end of file
+%fitness_simplified=@(x) fitness(q0, qf, Ltot, [x, f2, f3], lens_set, lambda );
+%figure(6)
+%ezplot(fitness_simplified, [0,Ltot])
+
+[ w, w_pos ] = self_gbeam_propagation( w0, possible_lens_placement, possible_lens_set, x0, lambda )
+%solution_visualization(q0,x0,qf,xf, optics_placer(possible_lens_placement, possible_lens_set), lambda)