diff options
author | Matt Argao <mcargao@email.wm.edu> | 2012-11-08 17:09:49 -0500 |
---|---|---|
committer | Matt Argao <mcargao@email.wm.edu> | 2012-11-08 17:09:49 -0500 |
commit | 9d74955612c8b1689cc481aa3f741f186460b221 (patch) | |
tree | 5000ac9f052caa5cd831d85d03f330468c5d8b2c | |
parent | a89dc9b6d1499bd446a5d36dd2252c98548e6a45 (diff) | |
download | mode_match-9d74955612c8b1689cc481aa3f741f186460b221.tar.gz mode_match-9d74955612c8b1689cc481aa3f741f186460b221.zip |
New Line
-rw-r--r-- | fitness.m | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ function [Energy, Waist, Penalty] = fitness( q_0, q_final, x_final, optics_posit Energy = 0;
Penalty_waist_mismatch = sum(abs((Waist_trial_forward-Waist_trial_backward)./min(Waist_trial_forward, Waist_trial_backward)))/Np;
- Penalty_waist_mismatch
+
Energy = 1e-2*Penalty_waist_mismatch;
% penalty calculation
|