diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2013-03-20 18:41:08 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2013-03-20 18:41:08 -0400 |
commit | 82b79070349de134a1c847435bf0aa41853bb7c0 (patch) | |
tree | cb55beedb420d1e0b16d0ebb3a50024f2e069b88 | |
parent | 48bd430e85c404e75ad86ed126d184d39de1d86a (diff) | |
download | mode_match-82b79070349de134a1c847435bf0aa41853bb7c0.tar.gz mode_match-82b79070349de134a1c847435bf0aa41853bb7c0.zip |
increased collimated region penalty
-rw-r--r-- | fitness.m | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ function [Energy, Waist, Penalty] = fitness( q_0, q_final, x_final, optics_posit [w0, r0] = q2wr(q_0, lambda);
[ w, w_pos ] = self_gbeam_propagation( w0, optics_positions, optics_focal_length, x0, lambda );
- coef = 1;
+ coef = 10;
d_object = abs(optics_positions(end) - w_pos(end - 1));
d_lens = optics_positions(end) - optics_positions(end - 1);
penalty_not_collimated_beam = coef * exp(-(d_object/d_lens)^2);
|