[yoda-svn] yoda: 7 new changesets

YODA Mercurial yoda at projects.hepforge.org
Fri Oct 23 16:15:02 BST 2015


details:   https://yoda.hepforge.org/hg/yoda/rev/674576527154
branches:  
changeset: 1160:674576527154
user:      Andy Buckley <andy at insectnation.org>
date:      Thu Oct 08 23:19:59 2015 +0100
description:
Add Point base class with generic accessors to Point*D properties via an integer axis ID argument.  Pass std::pairs by reference in Point*D error setting functions.

details:   https://yoda.hepforge.org/hg/yoda/rev/cb342d979796
branches:  
changeset: 1161:cb342d979796
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Oct 09 00:18:28 2015 +0100
description:
Rename set*Err to set*Errs for the asymmetric variants. Plural aliases are also provided for the symm case.

details:   https://yoda.hepforge.org/hg/yoda/rev/b99273af15d7
branches:  
changeset: 1162:b99273af15d7
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Oct 09 00:33:52 2015 +0100
description:
Provide dim() methods/attributes for the Point and Bin base classes.

details:   https://yoda.hepforge.org/hg/yoda/rev/a11ca883c1a7
branches:  
changeset: 1163:a11ca883c1a7
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Oct 09 00:41:36 2015 +0100
description:
Reinstate __getitem__  special methods for Scatters in Python.

details:   https://yoda.hepforge.org/hg/yoda/rev/412d4921e814
branches:  
changeset: 1164:412d4921e814
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Oct 09 15:41:55 2015 +0100
description:
Fix import in yodaplot

details:   https://yoda.hepforge.org/hg/yoda/rev/69d656605331
branches:  
changeset: 1165:69d656605331
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Oct 23 16:07:36 2015 +0100
description:
Change the default plotting backend to MPL rather than the much slower PGF.

details:   https://yoda.hepforge.org/hg/yoda/rev/de31663d95fd
branches:  
changeset: 1166:de31663d95fd
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Oct 23 16:08:11 2015 +0100
description:
Make the version() function inline, and the numerical constants static

diffs (truncated from 1468 to 50 lines):

--- a/ChangeLog	Wed Oct 21 21:13:26 2015 +0100
+++ b/ChangeLog	Fri Oct 23 16:08:11 2015 +0100
@@ -1,3 +1,25 @@
+2015-10-23  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Make the version() function inline, and the numerical constants static.
+
+	* Change the default plotting backend to MPL rather than the much slower PGF.
+
+2015-10-09  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Reinstate __getitem__  special methods for Scatters in Python.
+
+	* Provide dim() methods/attributes for the Point and Bin base classes.
+
+	* Rename set*Err to set*Errs for the asymmetric variants. Plural
+	aliases are also provided for the symm case.
+
+2015-10-08  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Pass std::pairs by reference in Point*D error setting functions.
+
+	* Add Point base class with generic accessors to Point*D
+	properties via an integer axis ID argument.
+
 2015-10-07  Andy Buckley  <andy.buckley at cern.ch>
 
 	* Version 1.5.5 release.
--- a/bin/yodaplot	Wed Oct 21 21:13:26 2015 +0100
+++ b/bin/yodaplot	Fri Oct 23 16:08:11 2015 +0100
@@ -31,7 +31,7 @@
 
 
 import numpy as np
-import yoda
+import yoda, yoda.plotting
 
 mpl, plt = yoda.plotting.setup_mpl(opts.ENGINE)
 COLORS = [plt.cm.jet(i) for i in np.linspace(0.2, 0.8, len(args))]
--- a/include/YODA/AnalysisObject.h	Wed Oct 21 21:13:26 2015 +0100
+++ b/include/YODA/AnalysisObject.h	Fri Oct 23 16:08:11 2015 +0100
@@ -245,7 +245,7 @@
     ///
     /// @note For fillable types this is the dimension of the fill space (e.g. Histo1D -> dim=1).
     ///    For scatter types, it is the total dimension of the points (e.g. Scatter3D -> dim=3).
-    virtual int dim() const = 0;
+    virtual size_t dim() const = 0;
 
     //@}
 


More information about the yoda-svn mailing list