summaryrefslogtreecommitdiff
path: root/loadSimulation.m
diff options
context:
space:
mode:
authorHunter Rew <hbrew@email.wm.edu>2014-04-23 22:44:37 -0400
committerHunter Rew <hbrew@email.wm.edu>2014-04-23 22:44:37 -0400
commitee48a590f2b518adc4d478f4c68c95fdfede8385 (patch)
tree68cbb275247c952d9b14cd9447ba2637aad40041 /loadSimulation.m
parentaddbb92ff06b21d2188eeefdb17692beb85e4b1c (diff)
downloadeit_filter_simulations-ee48a590f2b518adc4d478f4c68c95fdfede8385.tar.gz
eit_filter_simulations-ee48a590f2b518adc4d478f4c68c95fdfede8385.zip
Updated to latest versions of this codeHEADmaster
Diffstat (limited to 'loadSimulation.m')
-rw-r--r--loadSimulation.m8
1 files changed, 6 insertions, 2 deletions
diff --git a/loadSimulation.m b/loadSimulation.m
index e5f0be3..2626cdb 100644
--- a/loadSimulation.m
+++ b/loadSimulation.m
@@ -2,6 +2,10 @@ function [width, minAbsorption, detunings, absorptions] = loadSimulation(dataFil
data = load(dataFile);
detunings = data(:,1);
absorptions = data(:,2);
- [width, minAbsorption] = getPeak(detunings, absorptions);
- plot(detunings, absorptions);
+ [width, minAbsorption, transmission, features] = getPeak(detunings, absorptions);
+ figure
+ hold all
+ plot(detunings, absorptions)
+ plot(features(:,1), features(:,2), 'r*')
+
end \ No newline at end of file