List of commits:
Subject Hash Author Date (UTC)
Add option to method for_each_evaluation_get in meta_ev.m 3aa2fd8ab0567a782073a0eba67f3bd5a2e2ba57 Jason Hoelscher-Obermaier 2017-05-30 14:46:02
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
Commit 3aa2fd8ab0567a782073a0eba67f3bd5a2e2ba57 - Add option to method for_each_evaluation_get in meta_ev.m
- 'transform_func', allows to provide a handle to a function
which is applied to the requested element (from each evaluation)
before it is returned (in a cell array)

- also: add gridtype 'scalar' in meta_ev.m
Author: Jason Hoelscher-Obermaier
Author date (UTC): 2017-05-30 14:46
Committer name: Jason Hoelscher-Obermaier
Committer date (UTC): 2017-05-30 14:46
Parent(s): 69c13a5ae1b4265cc760addb9089d180d4a0f895
Signing key:
Tree: d286ef6e1932a7272854640653adb8af5e8d4e17
File Lines added Lines deleted
data_analysis/@meta_ev/meta_ev.m 6 1
File data_analysis/@meta_ev/meta_ev.m changed (mode: 100644) (index 650d2d7..f3518a5)
... ... classdef meta_ev < class_conveniences
171 171 end end
172 172 function cellarray = for_each_evaluation_get(meta, fieldname, varargin) function cellarray = for_each_evaluation_get(meta, fieldname, varargin)
173 173 get_element = @(x) x; get_element = @(x) x;
174 transform_func = @(x) x;
174 175 for k=1:2:length(varargin) for k=1:2:length(varargin)
175 176 switch lower(varargin{k}) switch lower(varargin{k})
176 177 case 'index' case 'index'
177 178 index = varargin{k+1}; index = varargin{k+1};
178 179 get_element = @(array)array(index); get_element = @(array)array(index);
180 case {'transform', 'postprocess', 'transform_func'}
181 transform_func = varargin{k+1};
179 182 otherwise otherwise
180 183 error(['Unrecognized varargin-argument ', varargin{k}]); error(['Unrecognized varargin-argument ', varargin{k}]);
181 184 end end
182 185 end end
183 get_field = @(ev)get_element(getfield(ev, fieldname));
186 get_field = @(ev)transform_func(get_element(getfield(ev, fieldname)));
184 187 cellarray = meta.for_each_evaluation_do(get_field); cellarray = meta.for_each_evaluation_do(get_field);
185 188 end end
186 189 function set_default_sample_no(meta, default_sample_no) function set_default_sample_no(meta, default_sample_no)
 
... ... classdef meta_ev < class_conveniences
209 212 end end
210 213 function gridtype = get.gridtype(meta) function gridtype = get.gridtype(meta)
211 214 switch sum(meta.dimensions>1) switch sum(meta.dimensions>1)
215 case 0
216 gridtype = 'scalar';
212 217 case 1 case 1
213 218 gridtype = 'vector'; gridtype = 'vector';
214 219 case 2 case 2
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