List of commits:
Subject Hash Author Date (UTC)
Collect values of all evaluation-properties shared by all evaluations in a struct 'common' 8db1a37897d8db64d26c600900ecfb198f2291a6 Jason Hoelscher-Obermaier 2017-03-28 16:29:20
Allow convenient extraction of optimal entanglement and pulse width from all evaluations inside meta-ev 66e26078ccb9ca86dad55a62617ec8605fb759ce Jason Hoelscher-Obermaier 2017-03-28 16:09:40
Add meta_ev-class for more convenient postprocessing of multiple entanglement_evaluation-objects 147dd9b11bc1f950416d48142adfecc0dcc3f814 Jason Hoelscher-Obermaier 2017-03-28 14:36:08
Delete any previously calculated optima of log.neg. or pulse width at the end of calculate_log_neg edee9ece25f4249891ccc8485aaedc10c01c4386 Jason Hoelscher-Obermaier 2017-03-28 12:02:11
Refactor calibratePulsedCMs and trace_out c108334ad59fd087cef91e002a992e50652dc6e4 Jason Hoelscher-Obermaier 2017-03-28 11:56:13
Add logging of git-status via status_git_repos_on_path to simulate_entanglement 3658991dd37a657cad1a3aba5933a276b649fbd1 Jason Hoelscher-Obermaier 2017-03-28 10:08:52
Improve logging of git status in class_conveniences: dirty working tree state is also logged 96a3acca155c3ad47edaa625368e5a25875c332b Jason Hoelscher-Obermaier 2017-03-28 09:51:53
Add 3rd-party convenience fct printstruct.m to print a tree-view of a struct d6595191240086e6c8247a6e055c8e4a161d4459 Jason Hoelscher-Obermaier 2017-03-27 14:39:19
Improve plot appearance in plotLogneg.m and add option to reposition legend. 81d281f0f354594af42a13722ed6994cb1b0d0fb Jason Hoelscher-Obermaier 2017-03-27 11:43:15
Improve legend in plotLogneg to also include entries for interpolated data and optima 805cb3e67bad3be9bddafada3258f5a8a7e60707 Jason Hoelscher-Obermaier 2017-03-27 11:14:06
Add function tex_escape which escapes characters forbidden in tex 136b200a3a98f06f36b4ae3a18a97c66ce1b8c88 Jason Hoelscher-Obermaier 2017-03-27 10:03:53
Store interpolated pulse widths and entanglement (used in calulate_optimal_entanglement) for later inspection. c76c9b0d1be1bd00425949fb12cd59f2c743ff5f Jason Hoelscher-Obermaier 2017-03-27 10:35:10
Add options to show grid and zero-line to plotLogneg.m 0e7dff29041930f205c30113c72595f60545182d Jason Hoelscher-Obermaier 2017-03-27 08:43:56
Update submodule export_fig ea150793f485ff88cad104d7f4493f22904f3df6 Jason Hoelscher-Obermaier 2017-03-25 06:30:12
Bug fix: Remove line yielding unneeded output d11c6eae8bf5f2ad38c858a4b9618acd3af4bd8b Jason Hoelscher-Obermaier 2017-03-24 19:45:04
Add method calulate_optimal_entanglement.m to entanglement_evaluation-class 894eef46922695d0f451773d4d8c9df64d2922e0 Jason Hoelscher-Obermaier 2017-03-24 19:35:40
Add test: Ensure orthonormality is checked for mode functions (instead of columns of mode fct matrices) aa1dd49269c45e2e070f4ab5cdef23a59246ae65 Jason Hoelscher-Obermaier 2017-03-22 10:33:40
Bug fix in calculate_mode_vectors_gammalist.m aa18a37ba8fd5108c5fa47f48bffcf021a4534bd Jason Hoelscher-Obermaier 2017-03-22 09:50:15
Copy mechadd.mat (file with info reg. higher mechanical modes) to simulation output folder 595b486a19a22f66bedd754780cb38dac6d523e6 Jason Hoelscher-Obermaier 2017-03-17 15:53:03
Improve orthonormilsation b84ccfcaf4ec12a6136f954670d3147b406096eb corentin-gut 2017-03-17 14:59:20
Commit 8db1a37897d8db64d26c600900ecfb198f2291a6 - Collect values of all evaluation-properties shared by all evaluations in a struct 'common'
- useful for quickly inspecting those shared properties / debugging
- NOTE: only works for scalar properties so far
--> TODO: implement the same for vector- and matrix-valued properties
Author: Jason Hoelscher-Obermaier
Author date (UTC): 2017-03-28 16:29
Committer name: Jason Hoelscher-Obermaier
Committer date (UTC): 2017-03-28 16:30
Parent(s): 66e26078ccb9ca86dad55a62617ec8605fb759ce
Signer:
Signing key:
Signing status: N
Tree: 04f31c152b641ef85f59df78aeb5dd24c46cddc9
File Lines added Lines deleted
data_analysis/@meta_ev/meta_ev.m 31 1
File data_analysis/@meta_ev/meta_ev.m changed (mode: 100644) (index 4e0929d..9a619b4)
... ... classdef meta_ev < class_conveniences
17 17 opt_logneg_corrected@cell % cell array (index corresponding to tracepair) of optimal entanglement opt_logneg_corrected@cell % cell array (index corresponding to tracepair) of optimal entanglement
18 18 opt_pulse_gammas@cell % cell array (index corresponding to tracepair) of optimal pulse gammas opt_pulse_gammas@cell % cell array (index corresponding to tracepair) of optimal pulse gammas
19 19 tracepairs_no@double % number of tracepairs used for each evaluation (enforced to be the same) tracepairs_no@double % number of tracepairs used for each evaluation (enforced to be the same)
20 common@struct % struct which contains all those evaluation_properties which are shared by all evaluations
20 21 end end
21 22
22 23 methods methods
 
... ... classdef meta_ev < class_conveniences
69 70 opt_pulse_gammas{k} = cell2mat(obj.for_each_evaluation('opt_pulse_gammas', k)); opt_pulse_gammas{k} = cell2mat(obj.for_each_evaluation('opt_pulse_gammas', k));
70 71 end end
71 72 end end
73 function common = get.common(obj)
74 fields = {'inverted_evaluation';...
75 'mech_frequencies';...
76 'mech_frequencies_no';...
77 'detection_efficiency';...
78 'homodyne_visibility';...
79 'pulse_gammas_no';...
80 'pulse_duration_seconds';...
81 'samplingrate';...
82 'samples_per_trace';...
83 'samples_per_pulse';...
84 'pulse_pairs_per_trace';...
85 'tracepairs_no';...
86 'signal_power_muW'};
87 for k=1:numel(fields)
88 field = fields{k};
89 try
90 values = obj.for_each_evaluation(field);
91 if numel(values{1})==1
92 value = unique(cell2mat(values));
93 if numel(value)==1
94 common.(field) = value;
95 end
96 %% TODO: implement the same for vector- and matrix-valued properties
97 end
98 catch
99 common.(field) = NaN;
100 end
101 end
102 end
72 103 end end
73
74 104 end end
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/gutc61/Membrane

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/gutc61/Membrane

Clone this repository using git:
git clone git://git.rocketgit.com/user/gutc61/Membrane

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main