From 0319b091d55e3764e167ec19d5aa59bcf8a81816 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Wed, 27 Apr 2016 11:10:12 -0400 Subject: more descriptive name for the simple MOR directory --- MOR_simple_thin_layer_model/Makefile | 37 ++++++ .../delta_2photon_noise.xmds | 148 +++++++++++++++++++++ MOR_simple_thin_layer_model/pp.m | 21 +++ 3 files changed, 206 insertions(+) create mode 100644 MOR_simple_thin_layer_model/Makefile create mode 100644 MOR_simple_thin_layer_model/delta_2photon_noise.xmds create mode 100644 MOR_simple_thin_layer_model/pp.m (limited to 'MOR_simple_thin_layer_model') diff --git a/MOR_simple_thin_layer_model/Makefile b/MOR_simple_thin_layer_model/Makefile new file mode 100644 index 0000000..83877ee --- /dev/null +++ b/MOR_simple_thin_layer_model/Makefile @@ -0,0 +1,37 @@ +### -*- make -*- +### This file is part of the Debian xmds package +### Copyright (C) 2006 Rafael Laboissiere +### This file is relased under the GNU General Public License +### NO WARRANTIES! + +### This makefile can be used to build and run the XMDS examples + +XMDS_FILES = $(shell ls *.xmds) +RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES)) +CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES)) +XSIL_FILES = delta_2photon_noise.xsil +M_FILES = $(patsubst %.xsil,%.m,$(XSIL_FILES)) + +XMDS = xmds2 +XSIL2GRAPHICS = xsil2graphics2 + +all: $(M_FILES) + +%.run: %.xmds + $(XMDS) $< + mv $(patsubst %.xmds,%,$<) $@ + +$(XSIL_FILES): %.xsil: $(RUN_FILES) + ./$< + +$(M_FILES): %.m : %.xsil + $(XSIL2GRAPHICS) $< + +plot: $(M_FILES) + octave pp.m + +clean: + rm -f $(CC_FILES) $(RUN_FILES) $(M_FILES) $(XSIL_FILES) *.wisdom.fftw3 *.dat octave-core *.wisdom *.pdf + +.PRECIOUS: %.run %.xsil %.m +.PHONY: all clean diff --git a/MOR_simple_thin_layer_model/delta_2photon_noise.xmds b/MOR_simple_thin_layer_model/delta_2photon_noise.xmds new file mode 100644 index 0000000..2cb3a52 --- /dev/null +++ b/MOR_simple_thin_layer_model/delta_2photon_noise.xmds @@ -0,0 +1,148 @@ + + + + delta_2photon_noise + + E. Mikhailov, M. Guidry + + Solving 3 level atom in lambda field configuration, + no field propagation included. Noise on delta_2photon. + + + + + + + + + + + + + + + t + + + + + + + + + Eta + + + + raa rbb rcc rab rca rcb rAB rCA rCB + + + + + + + + 100 + + density_matrix + drivingNoise + + + + + + + + + + + + + + density_matrix + eit_signal mor_signal rab_rlOut rab_imOut rca_rlOut rca_imOut raaOut rbbOut rccOut noiseOut PDl PDr + + + + + + + + + diff --git a/MOR_simple_thin_layer_model/pp.m b/MOR_simple_thin_layer_model/pp.m new file mode 100644 index 0000000..f59f19c --- /dev/null +++ b/MOR_simple_thin_layer_model/pp.m @@ -0,0 +1,21 @@ +delta_2photon_noise + +figure(1) +plot(delta_2photon_1, mean_mor_signal_1(end,:) ) +hold all +plot(delta_2photon_1, mean_eit_signal_1(end,:) ) + +legend( {'mor', 'eit'} ) + +figure(2) +plot(delta_2photon_1, stderr_mor_signal_1(end,:) ) +hold all +plot(delta_2photon_1, stderr_eit_signal_1(end,:) ) + +legend( {'mor', 'eit'} ) + +figure(3) +plot(delta_2photon_1, stderr_eit_signal_1(end,:)./stderr_mor_signal_1(end,:) ) +hold all + +legend( {'noise eit/mor'} ) -- cgit v1.2.3