summaryrefslogtreecommitdiff
path: root/loadSimulation.m
blob: e5f0be37cb84fb87135a30b4ef8dc2d9605dae84 (plain)
1
2
3
4
5
6
7
function [width, minAbsorption, detunings, absorptions] = loadSimulation(dataFile)
	data = load(dataFile);
	detunings = data(:,1);
	absorptions = data(:,2);
	[width, minAbsorption] = getPeak(detunings, absorptions);
	plot(detunings, absorptions);
end