[yoda-svn] yoda: 2 new changesets

YODA Mercurial yoda at projects.hepforge.org
Tue Jul 18 22:45:02 BST 2017


details:   https://yoda.hepforge.org/hg/yoda/rev/e528e3c2be75
branches:  release-1-6
changeset: 1340:e528e3c2be75
user:      Andy Buckley <andy at insectnation.org>
date:      Sat Jul 08 15:12:37 2017 +0100
description:
Add xyVals/Errs and other 'bin array property' accessors to the Python Histo1D and Profile1D types: important for connection to matplotlib.

details:   https://yoda.hepforge.org/hg/yoda/rev/5e4fbf5c7a5c
branches:  release-1-6
changeset: 1341:5e4fbf5c7a5c
user:      Andy Buckley <andy at insectnation.org>
date:      Tue Jul 18 22:44:09 2017 +0100
description:
Add convenience aliases H1D, H2D, P1D, P2D, and S1D, S2D, S3D for the HistoXD, ProfileXD, and ScatterXD classes respectively.

diffs (truncated from 277 to 50 lines):

--- a/ChangeLog	Wed Jun 28 17:38:01 2017 +0100
+++ b/ChangeLog	Tue Jul 18 22:44:09 2017 +0100
@@ -1,3 +1,14 @@
+2017-07-18  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Add convenience aliases H1D, H2D, P1D, P2D, and S1D, S2D, S3D
+	for the HistoXD, ProfileXD, and ScatterXD classes respectively.
+
+2017-07-08  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Add xyVals/Errs and other 'bin array property' accessors to the
+	Python Histo1D and Profile1D types: important for connection to
+	matplotlib.
+
 2017-06-28  Andy Buckley  <andy.buckley at cern.ch>
 
 	* Use Python natsort library to sort yodals output if available.
--- a/include/YODA/Histo1D.h	Wed Jun 28 17:38:01 2017 +0100
+++ b/include/YODA/Histo1D.h	Tue Jul 18 22:44:09 2017 +0100
@@ -411,6 +411,10 @@
   };
 
 
+  /// Convenience typedef
+  typedef Histo1D H1D;
+
+
   /// @name Combining histos: global operators
   //@{
 
--- a/include/YODA/Histo2D.h	Wed Jun 28 17:38:01 2017 +0100
+++ b/include/YODA/Histo2D.h	Tue Jul 18 22:44:09 2017 +0100
@@ -436,6 +436,10 @@
   };
 
 
+  /// Convenience typedef
+  typedef Histo2D H2D;
+
+
   /// @name Combining histos: global operators
   //@{
 
--- a/include/YODA/Profile1D.h	Wed Jun 28 17:38:01 2017 +0100
+++ b/include/YODA/Profile1D.h	Tue Jul 18 22:44:09 2017 +0100
@@ -351,6 +351,10 @@
   };
 
 
+  /// Convenience typedef


More information about the yoda-svn mailing list