blob: 2626cdba4fb74c64b351066eff3292ec4e8f8393 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
function [width, minAbsorption, detunings, absorptions] = loadSimulation(dataFile)
data = load(dataFile);
detunings = data(:,1);
absorptions = data(:,2);
[width, minAbsorption, transmission, features] = getPeak(detunings, absorptions);
figure
hold all
plot(detunings, absorptions)
plot(features(:,1), features(:,2), 'r*')
end
|