List of commits:
Subject Hash Author Date (UTC)
Only attempt to export pulse_trace (to file pulsed_traces.mat) if not empty 69c13a5ae1b4265cc760addb9089d180d4a0f895 Jason Hoelscher-Obermaier 2017-05-30 14:44:49
Add more varargin-options to plotLogneg.m and plot_logneg_versus_gamma.m bd4d77856eaaf5afdf38e2fb22b177a18249d83c Jason Hoelscher-Obermaier 2017-05-30 14:27:35
Add options for colorbar position and data label background color to plot_matrix 261a772c66212e9b82d9125cfb059565dae41fba Jason Hoelscher-Obermaier 2017-05-22 17:35:34
Add fct set_legend_title be01bc463524c4943a3268b349f6a524a62c64f3 Jason Hoelscher-Obermaier 2017-05-16 13:34:19
Allow to set interpreter and fontsize in labels.m 24f21770d074737ed0b9d7e879cff39ee3f9fd63 Jason Hoelscher-Obermaier 2017-05-16 13:32:24
Attempt to open generated pdf in save_fig_pdf bcf7b91a892bc3cd6f1da5202cfff0825d3ba406 Jason Hoelscher-Obermaier 2017-05-16 13:30:56
Add hackish workaround for problems with wrong fontsize when exporting figures e977df7ea63dfb64d14244db41dcbdf34832fbe9 Jason Hoelscher-Obermaier 2017-05-13 12:18:19
Add option 'show_physicality' to plot_logneg_versus_gamma.m (class meta_ev) 33dba0173e7d446c08ab89b7f0d5bd7c00f6755d Jason Hoelscher-Obermaier 2017-05-13 12:02:12
Set default font size for legends and labels to 11 4f9be2e429605dd90ab6b1eabb88fea12c7e9ddb Jason Hoelscher-Obermaier 2017-05-13 12:01:05
Remove figure.m to avoid MATLAB warnings 3c8e854f1e48d28df090753f615e5e1028259531 Jason Hoelscher-Obermaier 2017-05-13 11:57:42
Copy generated png to clipboard autom.ly in save_fig_pdf 70897f3af36723888e59ae3421545d96d67db302 Jason Hoelscher-Obermaier 2017-05-10 10:18:00
Add option to hide legend entries for 'Physicality' to plotLogneg db263de99d27a86255cd724b06208c1cae93bd76 Jason Hoelscher-Obermaier 2017-05-10 10:17:12
Fix bug: surround arguments to 'system' by double quotes dffc09c758a8f55fb8dc2a4ddf68c8593be46a3d Jason Hoelscher-Obermaier 2017-05-09 10:24:55
Add property max_physical_logneg to entanglement_evaluation 865055eadb8c4b035321b2359b69dad4f48e33ec Jason Hoelscher-Obermaier 2017-05-08 09:37:40
Add option 'only_physical' to plotLogneg and plot_logneg_versus_gama a5510a09ab9ecb8239aef3853867884aefb28e3b Jason Hoelscher-Obermaier 2017-05-07 09:47:52
Add option 'two_sidebands' to trace_out 3f70b4498e116bf89ea2230e4a6b081d8d240bc3 Jason Hoelscher-Obermaier 2017-05-07 08:14:45
Fix bug in meta_ev 25d2497bf41eaf1198d88269dd3460812b38e18f Jason Hoelscher-Obermaier 2017-05-05 17:45:20
Allow plotting of abs. values with log. color scale in plot_CM 2147950f70bb2631656c1c20448eeda106acf6e2 Jason Hoelscher-Obermaier 2017-05-05 16:15:26
Improve plotLogneg 445bec4d79ec7c09efa92a878e9fc9d5b3a6801e Jason Hoelscher-Obermaier 2017-05-05 15:26:31
Add method plot_CM to entanglement_evaluation 54f9ca5aa51e96aedf3dddaa1609438c088a87b8 Jason Hoelscher-Obermaier 2017-05-05 14:29:23
Commit 69c13a5ae1b4265cc760addb9089d180d4a0f895 - Only attempt to export pulse_trace (to file pulsed_traces.mat) if not empty
... in exportResults.m
Author: Jason Hoelscher-Obermaier
Author date (UTC): 2017-05-30 14:44
Committer name: Jason Hoelscher-Obermaier
Committer date (UTC): 2017-05-30 14:44
Parent(s): bd4d77856eaaf5afdf38e2fb22b177a18249d83c
Signing key:
Tree: 23df62cf2fbea6cf0dcc4e4e0a8885d251203d0f
File Lines added Lines deleted
data_analysis/@entanglement_evaluation/exportResults.m 18 17
File data_analysis/@entanglement_evaluation/exportResults.m changed (mode: 100644) (index 30ff760..e3affd0)
... ... function ev = exportResults(ev, varargin)
6 6 save(fullfile(ev.evaluation_folder, 'ev.mat'), 'ev'); save(fullfile(ev.evaluation_folder, 'ev.mat'), 'ev');
7 7
8 8 function export_data_and_CM(obj) function export_data_and_CM(obj)
9 pulsed_traces = obj.pulse_trace;
10 pulsed_CMs = obj.pulse_CM;
9 if ~isempty(obj.pulse_trace)
10 pulsed_traces = obj.pulse_trace;
11 filename = 'pulsed_traces.mat';
12 save(fullfile(obj.evaluation_folder, filename), 'pulsed_traces', '-v7.3');
13 % the '-v7.3'-switch may be necessary if pulse_trace becomes very large
14 % (same for pulse_CM and pulse_CM_calibrated below)
11 15
12 filename = 'pulsed_traces.mat';
13 save(fullfile(obj.evaluation_folder, filename), 'pulsed_traces', '-v7.3');
14 % the '-v7.3'-switch may be necessary if pulse_trace becomes very large
15 % (same for pulse_CM and pulse_CM_calibrated below)
16 % create short snapshot (for quick inspection)
17 pow_ind = obj.tracepairs_no;
18 gam_ind = obj.pulse_gammas_no;
19 data = pulsed_traces{pow_ind}{gam_ind};
20 max_ind = min(size(data,1), 10);
21 data = data(1:max_ind,:);
22 filename = [sprintf('%02d_%02d',pow_ind,gam_ind) '.tsv'];
23 filename = ['.short_', filename];
24 dlmwrite(fullfile(obj.evaluation_folder,filename),...
25 data, 'delimiter', '\t','precision',6);
26 end
16 27
28 pulsed_CMs = obj.pulse_CM;
17 29 filename = 'pulsed_CMs.mat'; filename = 'pulsed_CMs.mat';
18 30 save(fullfile(obj.evaluation_folder, filename), 'pulsed_CMs', '-v7.3'); save(fullfile(obj.evaluation_folder, filename), 'pulsed_CMs', '-v7.3');
19 31
20 % create short snapshot (for quick inspection)
21 pow_ind = obj.tracepairs_no;
22 gam_ind = obj.pulse_gammas_no;
23 data = pulsed_traces{pow_ind}{gam_ind};
24 max_ind = min(size(data,1), 10);
25 data = data(1:max_ind,:);
26 filename = [sprintf('%02d_%02d',pow_ind,gam_ind) '.tsv'];
27 filename = ['.short_', filename];
28 dlmwrite(fullfile(obj.evaluation_folder,filename),...
29 data, 'delimiter', '\t','precision',6);
30
31 32
32 33 pulsed_CMs_calibrated = obj.pulse_CM_calibrated; pulsed_CMs_calibrated = obj.pulse_CM_calibrated;
33 34 if ~isempty(pulsed_CMs_calibrated) if ~isempty(pulsed_CMs_calibrated)
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