aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)