yoda

view ChangeLog @ 1447:dd17392b4da2

DIstcheck fix for python m4 script
author David Grellscheid <david.grellscheid@durham.ac.uk>
date Thu, 25 Jan 2018 23:49:44 +0000
parents 7ac806a002e8
children
line source
1 2017-12-21 Andy Buckley <andy.buckley@cern.ch>
3 * Version 1.7.0 release
5 2017-12-11 Andy Buckley <andy.buckley@cern.ch>
7 * Add Nentries printout to yodals -v
9 2017-09-18 Andy Buckley <andy.buckley@cern.ch>
11 * Patches for ROOT conversion from Robert Hatcher -- thanks!
13 2017-09-16 Andy Buckley <andy.buckley@cern.ch>
15 * Add YODA format version annotation, at version 2, and update
16 YODA reader to use version info and multiline YAML EOF marker.
18 * Write YODA annotations in YAML with a --- YAML break-line.
20 2017-09-14 Andy Buckley <andy.buckley@cern.ch>
22 * Enable compressed writing from Python.
24 2017-09-13 Andy Buckley <andy.buckley@cern.ch>
26 * Remove UNUSED macro in favour of anonymous args.
28 * Enable zipped writing... but only works from C++ so far.
30 2017-09-11 Andy Buckley <andy.buckley@cern.ch>
32 * Add HistoBin2D::area(), and provide a default normto=1.0
33 argument on the Python Histo2D.normalize() method.
35 2017-09-04 Andy Buckley <andy.buckley@cern.ch>
37 * Change license explicitly to GPLv3, cf. MCnet3 agreement.
39 * Parse YODA format AO headers as YAML (restriction to single-line dict entries for now).
41 2017-08-24 Andy Buckley <andy.buckley@cern.ch>
43 * Use a slightly enhanced fast numeric parser in ReaderYODA (taken
44 from LHAPDF, originally inspired by Gavin Salam).
46 * Add an UNSCALE spec option to yodascale, to undo ScaledBy effects.
48 2017-08-19 Andy Buckley <andy.buckley@cern.ch>
50 * Add optional zlib support via zstr -- massive thanks to Dmitry
51 Kalinkin for the lovely patch!
53 2017-08-16 Andy Buckley <andy.buckley@cern.ch>
55 * Fix setVal(i, x) numbered-axis methods on Point2D and Point3D:
56 switch break statements were missing.
58 * Explicitly load all ROOT objects as a list rather than
59 generator. Patch from Dmitry Kalinkin.
61 2017-07-24 Andy Buckley <andy.buckley@cern.ch>
63 * Improvements to yodaplot, including two operating modes: the
64 default CMP mode is suitable for plotting histos by path, from raw
65 .yoda files.
67 * Update yoda.plotting functions to treat plot-keys as args and AO
68 annotations via case-insensitive keys.
70 * Add annotationsDict to the Python AO interface.
72 * Add AO as an alias for AnalysisObject.
74 2017-07-23 Andy Buckley <andy.buckley@cern.ch>
76 * Add parallel/compatibility yoda1 package to aid eventual transition to YODA v2.
78 2017-07-22 Andy Buckley <andy.buckley@cern.ch>
80 * Add x,y,zMins and Maxs to all 1D data types and scatters (and
81 x,yMin/Max to the scatters) -- Python interface only.
83 * Rework some of the yoda.plotting tools, making it a bit more
84 compatible with user-scripted matplotlib.
86 2017-07-18 Andy Buckley <andy.buckley@cern.ch>
88 * Add convenience aliases H1D, H2D, P1D, P2D, and S1D, S2D, S3D
89 for the HistoXD, ProfileXD, and ScatterXD classes respectively.
91 2017-07-08 Andy Buckley <andy.buckley@cern.ch>
93 * Add xyVals/Errs and other 'bin array property' accessors to the
94 Python Histo1D and Profile1D types: important for connection to
95 matplotlib.
97 2017-06-28 Andy Buckley <andy.buckley@cern.ch>
99 * Use Python natsort library to sort yodals output if available.
101 2017-06-18 Andy Buckley <andy.buckley@cern.ch>
103 * Version 1.6.7 release.
105 2017-05-12 Andy Buckley <andy.buckley@cern.ch>
107 * pyext/yoda/rootcompat.pyx: Fix ordering of TH1 vs. TProfile
108 conversion -- TProfile *is* a TH1, so we have to test for the more
109 specific type-match first. Thanks to Dmitry Kalinkin for the
110 patch.
112 2017-05-02 Andy Buckley <andy.buckley@cern.ch>
114 * Add static Reader methods to match the Writer ones.
116 2017-02-23 Andy Buckley <andy.buckley@cern.ch>
118 * Fix Histo2D and Profile2D total distribution reading from YODA format.
120 2017-02-19 Holger Schulz <holger.schulz@durham.ac.uk>
122 * Convert TH1F to TH1D in root2flat. Much simpler than duplicating
123 the TH1D stuff in pyext.
125 2016-12-13 Andy Buckley <andy.buckley@cern.ch>
127 * Version 1.6.6 release.
129 2016-12-12 Holger Schulz <holger.schulz@durham.ac.uk>
131 * Bugfixes in Cython bins accessors for Histo2D.
133 2016-11-17 Leif Lonnblad <leif.lonnblad@thep.lu.se>
135 * Fixed warning messages about the obsoleteness of AIDA so that the scripts actually still work.
137 2016-09-28 Andy Buckley <andy.buckley@cern.ch>
139 * Version 1.6.5 release, for the benefit of ROOT fans.
141 * Fix handling of --enable/disable-root configure options.
143 2016-09-26 David Grellscheid <david.grellscheid@durham.ac.uk>
145 * Improvements to Cython version testing.
147 2016-09-25 Andy Buckley <andy.buckley@cern.ch>
149 * Version 1.6.4 release.
151 2016-09-20 David Grellscheid <david.grellscheid@durham.ac.uk>
153 * Remove aliases for @property functions. They were scheduled for
154 removal anyway, and don't work with Cython >= 24.
156 2016-09-06 Andy Buckley <andy.buckley@cern.ch>
158 * Update configure scripts to use newer (Py3-safe) Python testing
159 macros.
161 2016-08-09 Andy Buckley <andy.buckley@cern.ch>
163 * Version 1.6.3 release!
165 2016-07-22 Andy Buckley <andy.buckley@cern.ch>
167 * Add 'add' modes for scatter combination to yodamerge.
169 * Fix yodamerge scatter averaging to use the first AO.
171 2016-07-21 Andy Buckley <andy.buckley@cern.ch>
173 * Add --type-mismatch-mode flag and fallback logic to yodamerge.
175 * Fix yodamerge logic to handle cases where an AO only appears once.
177 2016-07-19 Andy Buckley <andy.buckley@cern.ch>
179 * Deprecate flat2yoda script and add warning output to it and the AIDA conversion scripts.
181 * Add a convenience yoda2yoda script.
183 2016-07-14 Andy Buckley <andy.buckley@cern.ch>
185 * Try to build PyROOT interface by default, if root-config is found.
187 2016-07-11 Andy Buckley <andy.buckley@cern.ch>
189 * Remove accidentally remaining reference to Boost flags in yoda-config.
191 2016-07-06 Andy Buckley <andy.buckley@cern.ch>
193 * Version 1.6.2 release!
195 2016-07-05 Andy Buckley <andy.buckley@cern.ch>
197 * Pass the toNewScatter3D() scalebyarea flag to the called toScatter3D() functions.
199 2016-06-06 Andy Buckley <andy.buckley@cern.ch>
201 * Re-enable the disabled-for-some-reason Scatter1D combineWith Python mappings.
203 2016-04-28 Andy Buckley <andy.buckley@cern.ch>
205 * Version 1.6.1 release!
207 * Add a unit test for annotation handling correctness.
209 * Fix numerical precision of string storage of floating-point attributes.
211 * Fix a bug in use of the replacement for lexical_cast.
213 2016-04-20 Andy Buckley <andy.buckley@cern.ch>
216 * Version 1.6.0 release!
218 2016-04-16 Andy Buckley <andy.buckley@cern.ch>
220 * Extend SFINAE craziness to allow writing of any object
221 (e.g. smart pointer) that can be dereferenced to something that
222 has AnalysisObject as its base class... and also to any container
223 of them! Amazing what you can do with C++11!
225 2016-04-14 Andy Buckley <andy.buckley@cern.ch>
227 * Add a few consts to the arguments in Scatter error setting via pairs.
229 * Fix double-writing of minus errors in WriterYODA for Scatter1D
230 and Scatter3D. Thanks to Graeme Watt for the report and fix.
232 2016-04-12 Andy Buckley <andy.buckley@cern.ch>
234 * Remove Boost dependency and require C++11 compilation.
236 2016-04-08 Andy Buckley <andy.buckley@cern.ch>
238 * Add a --guess-prefix flag to yoda-config, cf. fastjet-config.
240 2015-12-20 Andy Buckley <andy.buckley@cern.ch>
242 * Change AO uncomputable division and mkScatter operations to
243 return/set NaN rather than 0 -- behaviour change requires new
244 major version series 1.6.
246 2016-03-09 Andy Buckley <andy.buckley@cern.ch>
248 * Version 1.5.9! (oh no, we're out of convenient version number space!!)
250 2016-03-08 Andy Buckley <andy.buckley@cern.ch>
252 * Add abs function to eq calculation in yodadiff.
254 2016-02-29 Andy Buckley <andy.buckley@cern.ch>
256 * Remove blocking of builds against ROOT6 -- it works fine.
258 2016-02-16 Andy Buckley <andy.buckley@cern.ch>
260 * Add a --add option to yodamerge, for simple histo
261 stacking. Thanks to Chris Gutschow for the patch, although my
262 spidey sense is tingling...
264 2015-12-21 Andy Buckley <andy.buckley@cern.ch>
266 * Version 1.5.8!
268 * Add a rebinning unit test, pytest-rebin.
270 * Add optional range arguments to rebinBy methods, allowing block
271 rebinnings to be applied only within a range of (original) bin
272 indices.
274 * Add missing root.py submodule file. Oops!
276 2015-12-20 Andy Buckley <andy.buckley@cern.ch>
278 * Convert linspace to use multiplication rather than repeated
279 addition to construct edge values, reducing precision errors.
280 Thanks to Holger Schulz for the suggestion.
282 2015-12-15 Andy Buckley <andy.buckley@cern.ch>
284 * Add xEdges() methods to Axis1D and the Histo1D and Profile1D
285 that use it. The returned edge lists are finite only, i.e. they do
286 not contain the +-inf values on the ends of the internal
287 BinSearcher edges.
289 2015-12-13 Andy Buckley <andy.buckley@cern.ch>
291 * Version 1.5.7!
293 * Extend batch-adding in ReaderYODA to include Scatter types.
295 * Add a match_aos function to Python, for filtering AO lists/dicts
296 on path patterns and anti-patterns.
298 2015-12-12 Andy Buckley <andy.buckley@cern.ch>
300 * Add a flag to yoda2root to change whether the conversion is to
301 'proper' types or to (more robustly) TGraphAsymmErrors objects.
303 * Fix accidental use of S2D_MODE flag where S1D_MODE should have
304 been used, in yodamerge. Thanks again to Radek Podskubka.
306 * Allow new rebinTo() merging to restrict to a subset of the bin
307 range, merging the outside bins into the overflow distributions.
309 2015-12-11 Andy Buckley <andy.buckley@cern.ch>
311 * Add a rebinTo() method on Axis1D, allowing rebinning to a new
312 given set of bin edges. Add an explicitly named rebinBy(), and
313 overloaded rebin() aliases for both, and pass through to Histo1D
314 and Profile1D APIs. Plus other internal tweaks to binning
315 functionality... anticipating/fuelling the fundamental rewrite.
317 2015-12-10 Andy Buckley <andy.buckley@cern.ch>
319 * Improve ReaderYODA to use temporary bin containers, to minimise
320 calling sort when adding bins to histos. A quick test suggests
321 this has sped up big file reading by a factor of 30 or so!!!
323 * Add missing addBins() operators (only in C++ so far) to Histo
324 and Profile classes.
326 * Fix Counter::numEntries to return an unsigned long rather than double.
327 Thanks to Radek Podskubka for the bug discovery and detective work.
329 * Improve sortedvector to insert new elements into the sorted
330 position, rather than resorting the whole vector. This should be a
331 bit more efficient, but I think the asymptotic complexity is the
332 same. Might help a bit with reading big data files.
334 2015-12-04 Andy Buckley <andy.buckley@cern.ch>
336 * Add yoda.HAS_ROOT_SUPPORT flag, for API user convenience.
338 2015-11-22 Andy Buckley <andy.buckley@cern.ch>
340 * Version 1.5.6!
342 * Make AO path setting and retrieval prepend a leading slash if it
343 is missing (unless the path is completely empty).
345 2015-11-21 Andy Buckley <andy.buckley@cern.ch>
347 * Add root2yoda conversion script.
349 * Deprecating yoda.to_root() in favour of yoda.root module, which
350 contains to_root and to_yoda functions, as well as a ROOT file
351 walking function.
353 2015-11-17 Andy Buckley <andy.buckley@cern.ch>
355 * Map ROOT-to-YODA (as scatter) functions to Python. Phew.
357 * Map new to-ROOT functions, including TGraph ones, to Python.
359 2015-11-16 Andy Buckley <andy.buckley@cern.ch>
361 * ROOTCnv.h: Add toScatter3D ROOT->YODA, and toNew* YODA->ROOT
362 conversion routines.
364 * ROOTCnv.h: Fix bug in toTH2D(const Histo2D& h) as used with
365 ROOT6. Thanks to Tim Martin.
367 2015-11-05 Andy Buckley <andy.buckley@cern.ch>
369 * Fix double-dealloc in new Point class hierarchy Python mapping.
371 2015-10-23 Andy Buckley <andy.buckley@cern.ch>
373 * Make the version() function inline, and the numerical constants static.
375 * Change the default plotting backend to MPL rather than the much slower PGF.
377 2015-10-09 Andy Buckley <andy.buckley@cern.ch>
379 * Reinstate __getitem__ special methods for Scatters in Python.
381 * Provide dim() methods/attributes for the Point and Bin base classes.
383 * Rename set*Err to set*Errs for the asymmetric variants. Plural
384 aliases are also provided for the symm case.
386 2015-10-08 Andy Buckley <andy.buckley@cern.ch>
388 * Pass std::pairs by reference in Point*D error setting functions.
390 * Add Point base class with generic accessors to Point*D
391 properties via an integer axis ID argument.
393 2015-10-07 Andy Buckley <andy.buckley@cern.ch>
395 * Version 1.5.5 release.
397 * Counter.pyx: Typo fix in sumW mapping.
399 * yodamerge: Re-add checking for non-emptiness before merging, in
400 case the empty ones are missing a ScaledBy attribute. Won't
401 normally apply to Profiles, since they don't usually get
402 normalised, but we might as well include them in the vetoing since
403 empty histos don't contribute to the merging. Added a command-line
404 option to disable this heuristic since in very strange situations
405 a null sumW does not mean no fills.
407 2015-10-06 Andy Buckley <andy.buckley@cern.ch>
409 * Version 1.5.4 release.
411 * ReaderYODA: Typo fixes in Counter filling of sumW and Scatter3D reader state flag.
413 * yodamerge: add merging heuristics for Scatter1D and Scatter3D (needs unification)
415 2015-10-05 Andy Buckley <andy.buckley@cern.ch>
417 * yodamerge: add a fix for empty-in-all-runs histo merging; thanks
418 to Daniel Rauch.
420 2015-10-04 Andy Buckley <andy.buckley@cern.ch>
422 * Adding dim() function and corresponding Python attribute to AnalysisObject.
424 * Map Counter arithmetic operations into Python.
426 * Map Counter mkScatter() into Python (as bound method).
428 * Add a YODA::version() function, mapped into Python and used to
429 set the yoda.__version__ variable.
431 2015-10-01 Andy Buckley <andy.buckley@cern.ch>
433 * Expose the yoda.plot() Python function in a way that doesn't
434 automatically induce a dependence on matplotlib.
436 2015-09-30 Andy Buckley <andy.buckley@cern.ch>
438 * Fix yodals to work with Counters.
440 2015-09-23 Andy Buckley <andy.buckley@cern.ch>
442 * Version 1.5.3 release.
444 * Update Boost version requirement to 1.48, due to use of
445 type_traits/has_dereference, and add a check for that feature's
446 header.
448 2015-09-19 Andy Buckley <andy.buckley@cern.ch>
450 * Further improvements to handling leading _multiple_ # marks on
451 YODA format BEGIN lines.
453 2015-09-11 Andy Buckley <andy.buckley@cern.ch>
455 * Version 1.5.2 release.
457 * Tolerate leading # symbols without separating whitespace on
458 BEGIN lines in YODA format parsing.
460 * Further improvements to handling LowStatsErrors in YODA format writing.
462 * Fix shadowed variables that made ReaderYODA unhappy.
464 2015-09-03 Andy Buckley <andy.buckley@cern.ch>
466 * Version 1.5.1 release.
468 * Fix bugs in Python wrapper for Point3D.
470 2015-08-28 Peter Richardson <Peter.Richardson@durham.ac.uk>
472 * Catch LowStatsError when writing multiple histograms so only the
473 histogram with the problem is not written
475 2015-08-28 Andy Buckley <andy.buckley@cern.ch>
477 * Version 1.5.0 release.
479 2015-08-24 Andy Buckley <andy.buckley@cern.ch>
481 * Improve protection of efficiency calculation against the weird
482 world of general weighted events.
484 2015-08-17 Andy Buckley <andy.buckley@cern.ch>
486 * Add some protection against calling matplotlib's legend() method
487 if there are no valid labels to display, to suppress an MPL
488 warning message when using yoda.plot().
490 2015-08-12 Andy Buckley <andy.buckley@cern.ch>
492 * Fix cut & paste typo, and add LowStatsError catching in Profile division.
494 2015-08-11 Andy Buckley <andy.buckley@cern.ch>
496 * Replace old Spirit-based ReaderYODA with the new hand-rolled one.
498 * Adding filling of Histo1D, Profile1D, Histo2D and Profile2D in
499 new ReaderYODA. More hacking of Axis and Histo/Profile
500 interfaces... needs clean-up, and infinite binning implementation.
502 2015-08-07 Andy Buckley <andy.buckley@cern.ch>
504 * Convert the ReaderFLAT parser to also use a simple hand-written parser rather than Spirit.
506 2015-08-04 Andy Buckley <andy.buckley@cern.ch>
508 * Add methods for Counter, Axis and Histo1D internal state
509 access/setting, mainly for new persistency. NEEDS PRE-RELEASE TESTING!!!
511 2015-07-30 Andy Buckley <andy.buckley@cern.ch>
513 * Remove # markers from YODA format BEGIN/END output. The parser
514 will continue to accept them.
516 2015-07-29 Andy Buckley <andy.buckley@cern.ch>
518 * Add SFINAE trait magic to restrict write(RANGE) functions to
519 accepting iterables. Also generalising to allow either
520 container-of-objects or container-of-pointers args by providing a
521 writeBody(AO*) function to complement writeBody(AO&). Based on a
522 patch from Lukas Heinrich.
524 * Add configuration of output streams to throw exceptions on
525 bad/fail state (based on patch from Lukas Heinrich).
527 2015-07-01 Andy Buckley <andy.buckley@cern.ch>
529 * 1.4.0 release.
531 2015-06-30 Andy Buckley <andy.buckley@cern.ch>
533 * More tweaks to yodamerge: adding control of S2D merging
534 strategy, and now performing weighted normalized histo merges
535 without reference to an absolute normalization.
537 * Change yodamerge norm-detection heuristic to just look for a
538 ScaledBy attribute rather than fuzzily compare norms.
540 2015-06-26 Andy Buckley <andy.buckley@cern.ch>
542 * Removing add, subtract, and divide functions and operators on
543 Scatter types, and re-implementing Histo and Profile divide
544 functions explicitly rather than via mkScatter. Also removed from
545 the Python interface. The combine() methods remain.
547 2015-06-24 Andy Buckley <andy.buckley@cern.ch>
549 * Adding workaround versions of binAt to all the Python histo
550 types (for some reason the direct mapping that works for bin(i)
551 produces a compile error for binAt(x) :-/
553 2015-06-23 Andy Buckley <andy.buckley@cern.ch>
555 * Renaming, tidying, completing, etc. the Python-mapped methods on Bin1D and Bin2D.
557 * Rename Python Histo2D mean, variance, etc. pair-returning
558 methods to xyMean, xyVariance, etc., to distinguish from Profile2D
559 mean, variance, etc.
561 * Add Python mappings of all the methods below.
563 * Add full set of {x,y}{Mean,Variance,StdDev,StdErr,RMS} to 1D and
564 2D binned distributions.
566 * Add optional includeoverflows=True argument to all binned AO
567 numEntries and effNumEntries.
569 * Fix type of numEntries to always be unsigned long.
571 2015-06-18 Andy Buckley <andy.buckley@cern.ch>
573 * Fix typos in Point3D Python mapping (accidentally trying to get
574 the ptr via _Point2D rather than _Point3D).
576 2015-06-13 Andy Buckley <andy.buckley@cern.ch>
578 * Adding an AnalysisObject::name() method, to return the last part
579 of the path. Mapped into a Python property.
581 * Adding an optional usestddev argument to mkScatter for profile
582 types, so the error bars can represent distribution width rather
583 than uncertainty on the mean. Mapped to Python.
585 2015-06-08 Andy Buckley <andy.buckley@cern.ch>
587 * Adding unpatterns arguments to Python read functions, and
588 auto-conversion from single strings and re.compile()d strs.
590 2015-06-04 Andy Buckley <andy.buckley@cern.ch>
592 * Add binAt(x,y) and binIndexAt(iglobal) Python methods for 2D
593 histos. Still want a way to get and pass a pair of bin indices, I
594 think.
596 * Adding includeoverflows optional args for Histo1D (eff)numEntries.
598 * Adding Rename Histo1D integral() methods as integral(),
599 integralRange(), and integralTo(), and mapping to Python.
601 2015-06-02 Andy Buckley <andy.buckley@cern.ch>
603 * Adding missing binAt and binIndexAt methods to Histo1D and
604 Profile1D, plus other minor Python mapping tweaks.
606 * Add a regex pattern match optional argument to the IO.read()
607 Python functions, for pre-emptive filtering.
609 2015-03-27 Andy Buckley <andy.buckley@cern.ch>
611 * Fix a harmless possibility to raise an FPE exception in the
612 BinSearcher. Thanks to Leif Lonnblad for the discovery, debug and
613 patch!
615 2015-03-19 Andy Buckley <andy.buckley@cern.ch>
617 * Bump version for 1.3.1 release.
619 2015-03-06 Andy Buckley <andy.buckley@cern.ch>
621 * Adding usefocus optional argument to some mkScatter functions, plus the Python bindings.
623 * Cleaning up some Python mappings of 2D histogram bin classes.
625 * Removing mappings of bin-level fill and scale operations in Python.
627 * Fix formatting and error handling in Python Bin and Dbn __repr__ methods.
629 * Add a -i/--in-place option pair on yodascale.
631 2015-02-05 Andy Buckley <andy.buckley@cern.ch>
633 * Convert script matching options to use re search rather than match.
635 * Adding matching options and verbose option to yodals.
637 2015-01-27 Andy Buckley <andy.buckley@cern.ch>
639 * Improvements and additions to ROOTCnv.h routines, particularly
640 to TProfile creation: thanks to Roman Lysak for advice.
642 2015-01-16 Andy Buckley <andy.buckley@cern.ch>
644 * Add convenience YODA/YODA.h header.
646 2015-01-15 Andy Buckley <andy.buckley@cern.ch>
648 * yodascale now uses PointMatcher and can normalize or multiply to
649 abs values or ref histos/bin ranges.
651 2015-01-05 Andy Buckley <andy.buckley@cern.ch>
653 * Adding yoda.matcher Python sub-package with PointMatcher
654 functionality. To be used in Professor 2.0 and in yodascale.
656 * Adding 'scat2' type to yodahist.
658 * Add match/unmatch args to all conversion scripts, via a new Python yoda.script_helpers function.
660 * Script updates, improved docstrings, and improved tab completion.
662 2014-12-10 Andy Buckley <andy.buckley@cern.ch>
664 * Add a yoda.plotting sub-module, based on matplotlib.
666 2014-12-03 Andy Buckley <andy.buckley@cern.ch>
668 * Small build improvements: cleaning test1.root from the yoda2root
669 test, and adding a make target & flag file for mktemplates in
670 pyext/yoda to make sure that it only gets run once.
672 2014-11-25 Andy Buckley <andy.buckley@cern.ch>
674 * Handle overflow filling in binned types without invoking an exception.
676 * Change inRange to have non-fuzzy comparison behaviour.
678 2014-11-11 Andy Buckley <andy.buckley@cern.ch>
680 * Improving/adding __div__ functions in Python for all binned types.
682 * Add std:: prefix to isinf() calls in BinSearcher.h.
683 2014-09-30 Andy Buckley <andy.buckley@cern.ch>
685 * 1.3.0 release!
687 * Use numEntries() rather than effNumEntries() when checking
688 consistency of inputs to efficiency() calculations -- the
689 effNumEntries of a set can be smaller than that of a strict
690 subset, surprisingly!
692 2014-09-17 Andy Buckley <andy.buckley@cern.ch>
694 * Small improvements to yodahist and yodaplot behaviours/UIs.
696 * Adding setX/Y/Z(val, err) methods to Point3D.
698 * Add an efficiency method for 2D histos.
700 * Hide fill and fillBin methods from Python mappings of bin types.
702 2014-09-01 Andy Buckley <andy.buckley@cern.ch>
704 * YODA 1.2.1 release!
706 2014-08-29 Andy Buckley <andy.buckley@cern.ch>
708 * Hide non-const access to bin objects from histogram users:
709 avoids potential for inconsistency between total dbns and in-range
710 bins.
712 * Bug in BinSearcher fixed by Peter Richardson: constructor
713 arguments were passed in the wrong order when constructing a
714 LinEstimator in cases where log binning wouldn't be allowed.
716 2014-08-26 Andy Buckley <andy.buckley@cern.ch>
718 * Add protection against / characters in histo names in yoda2root
719 (thanks to Will Bell for the report and suggested patch).
721 2014-08-17 Andy Buckley <andy.buckley@cern.ch>
723 * Add +=, -=, *-, /=, ++ and -- operators to Counter, along with
724 an (implicit) constructor from a double -- all for user
725 convenience so Counter can be used in lieu of a simple number.
727 2014-08-15 Andy Buckley <andy.buckley@cern.ch>
729 * YODA 1.2.0 release!
731 * Permit +-inf values to be filled into histograms; NaN fills will
732 still explicitly throw an exception.
734 * Add unit tests for Counter, Scatter1D, and Scatter2D, including
735 persistency.
737 * Adding YODA and FLAT format I/O for Scatter1D and Counter (as
738 far as currently possible -- FLAT Counter can't be read due to a
739 #item ambiguity, just like the one between the YODA format Point3D
740 and ProfileBin1D). To be continued...
742 2014-08-14 Andy Buckley <andy.buckley@cern.ch>
744 * Python mappings for Dbn0D and Counter, and other improvements.
746 * Adding val() and err() methods to Counter, and errW() and
747 relErrW() to all DbnXD types.
749 * Adding Scatter1D and Point1D types, with conversion from Counter
750 supported. Both Counter and Scatter1D still need to be supported
751 by YODA persistency.
753 2014-08-11 Andy Buckley <andy.buckley@cern.ch>
755 * Add ROOT version checking to configure. Thanks to Michael Grosse
756 for the report/request.
758 2014-08-05 Andy Buckley <andy.buckley@cern.ch>
760 * Remove all methods not specific about the axis to which they
761 refer, e.g. Histo1D::mean -> xMean. Also remove all related
762 aliases (a nightmare to maintain) and low/highEdge and midpoint
763 functions: use the proper xMin/Max/Mid from now on. This is a
764 significant compatibility breaking API change (and the decision
765 was not taken lightly) so will require a 2nd digit version change.
767 * Lots of adding xMin/Max etc. functions to C++ and Python bin/histo classes.
769 * Compiler pickiness fixes in BinSearcher.
771 * Improvement to linspace, avoiding fuzzyEquals and again making
772 sure that the end value is exact.
774 2014-07-23 Andy Buckley <andy.buckley@cern.ch>
776 * Fix to logspace: make sure that start and end values are exact,
777 not the result of exp(log(x)).
779 * Clean-up, minor improvements, and adding a test for BinSearcher and friends.
781 2014-07-19 Andy Buckley <andy.buckley@cern.ch>
783 * Various consistency improvements and minor bugfixes to Python
784 mapping utils and Dbn and Bin objects.
786 * Fix Axis2D::reset, which was resetting the total dbn and
787 outflows, but not the bins!!! Thanks to Ewen Gillies for the
788 report.
790 2014-07-18 Andy Buckley <andy.buckley@cern.ch>
792 * Add scaleX,Y,Z and scaleXYZ to Point and Scatter classes, and
793 deprecate less explicit/consistent Scatter2D/3D.scale method.
795 2014-07-17 Andy Buckley <andy.buckley@cern.ch>
797 * yodascale now writes out rescaled histograms and profiles rather than scatters.
799 * A few more improvements on Point2D/3D, adding x,y,zMin/Max function mappings.
801 * Add first version of a yodascale script, based on code from Simone Amoroso.
803 2014-07-16 Andy Buckley <andy.buckley@cern.ch>
805 * More Scatter and 2D histo interface improvement.
807 * Remove 'return *this' from Scatter2D/3D add and combine methods.
809 * Add unit test checks for 1D and 2D mkScatter functions.
811 * Improve Scatter2D/3D C++ and Python interfaces.
813 * Add Scatter3D Python mapping.
815 2014-07-15 Andy Buckley <andy.buckley@cern.ch>
817 * Add auto-parsing of yes/no/on/off/true/false as bools in the
818 Python ao.annotation() function.
820 * Add parsing of yodaplot styles from command line args and
821 analysis object annotations.
823 2014-07-12 Andy Buckley <andy.buckley@cern.ch>
825 * Fix infinite recursions in Python wrappers for Point2D and
826 Point3D, and make the Python Point3D interface more standard.
828 * Add yodaplot script for basic plotting, using pgfplots as a backend.
830 2014-07-10 Andy Buckley <andy.buckley@cern.ch>
832 * Add mkScatter(Scatter2D) and mkScatter(Scatter3D) functions and
833 Python mappings: this allows all AOs to be used as args to
834 mkScatter(...) without needing to check if they already are
835 scatters.
837 2014-07-02 Andy Buckley <andy.buckley@cern.ch>
839 * Set y value and/or error to 0 in mkScatter(Histo1D) if an
840 exception is thrown when calculating the appropriate values. Need
841 an optional param to control this error handling behaviour between
842 set-zero and skip-bin?
844 2014-07-01 Andy Buckley <andy.buckley@cern.ch>
846 * Add exception translation to the mkScatter functions.
848 * Add -m/-M match/unmatch options to yodacnv -- useful for
849 filtering histogram file contents in a YODA->YODA conversion.
851 2014-06-24 Andy Buckley <andy.buckley@cern.ch>
853 * Don't complain about merge assumptions if there is only one
854 object with that path name to be 'merged'
856 2014-06-17 Andy Buckley <andy.buckley@cern.ch>
858 * Adding explicit int cast in Python wrapping of numEntries functions.
860 2014-06-13 Andy Buckley <andy.buckley@cern.ch>
862 * Adding yodals script to list data file contents.
864 2014-06-11 David Grellscheid <David.Grellscheid@durham.ac.uk>
866 * pyext/yoda/Makefile.am: 'make distcheck' and out-of-source
867 builds should work now.
869 2014-06-10 Andy Buckley <andy.buckley@cern.ch>
871 * Fix use of the install command for bash completion installation on Macs.
873 2014-06-06 Andy Buckley <andy.buckley@cern.ch>
875 * YODA 1.1.0 release. Middle version number change to reflect API changes w.r.t 1.0.6.
877 * Adding unit tests against ref data for yodamerge in make check.
879 2014-06-04 Andy Buckley <andy.buckley@cern.ch>
881 * Fix silly typos in yodamerge which somehow made it past "make check" testing :-(
883 2014-06-02 Andy Buckley <andy.buckley@cern.ch>
885 * YODA 1.0.7 release. DO NOT USE: prefer 1.1.0, above.
887 2014-05-30 Andy Buckley <andy.buckley@cern.ch>
889 * Removing 'foreach' macro definition and using raw BOOST_FOREACH instead until C++11 is allowed.
891 * Adding pytest-p1d and pytest-p2d tests, and FLAT writing/reading in pytests.
893 * Tweaking WriterFLAT and adding ReaderFLAT functionality for 2D histos and profiles.
895 2014-05-30 Holger Schulz <hschulz@physik.hu-berlin.de>
897 * Some basic (FLAT) write-out capability for 2D histos
899 2014-05-29 Andy Buckley <andy.buckley@cern.ch>
901 * Improvements to the yodahist script, including support for 2D
902 histograms and input files.
904 * Adding bin edges constructors for all 1D and 2D histos in Python.
906 2014-05-22 Andy Buckley <andy.buckley@cern.ch>
908 * Improvements to Profile2D and Point2D interfaces in Python.
910 * Add a single-file at a time yodacnv multi-format converter
911 script (thanks to Andrii Verbytskyi for the suggestion).
913 2014-05-19 Andy Buckley <andy.buckley@cern.ch>
915 * Typo fixes in Profile2D YODA-format parsing: 2D histo tests now pass!
917 * Adding Python tests for Histo2D and Profile2D.
919 * Adding a YODA/Predicates.h header and using it in Axis2D bin edge construction.
921 * Enabling Profile2D writing in various Writers, and a bit of IO code tidying.
923 2014-05-17 Andy Buckley <andy.buckley@cern.ch>
925 * Disable writing out of Histo2D and Profile2D outflows for now,
926 while they are redesigned, and get 2D I/O working for the in-range
927 part.
929 2014-05-14 Andy Buckley <andy.buckley@cern.ch>
931 * Mapping the divide and efficiency functions into the Python
932 interface as class methods, including the __div__ special
933 function.
935 2014-05-13 Andy Buckley <andy.buckley@cern.ch>
937 * Add the AnalysisObject::type() method back in Python (even
938 though type(ao) is more Pythonic, this may be useful)
940 2014-05-06 Andy Buckley <andy.buckley@cern.ch>
942 * Add Profile2D YODA format writing, note need for Scatter format
943 change, add sumXY storage to both 2D histo types.
945 2014-05-03 Andy Buckley <andy.buckley@cern.ch>
947 * Adding YODA reader functionality for Histo2D and Profile2D, but
948 without outflows support yet.
950 2014-04-25 Andy Buckley <andy.buckley@cern.ch>
952 * Adding simple command line yodahist script for quick 1D
953 histogramming from plain text files, with weight support. More
954 development to come!
956 * Mapping linspace, logspace and a few stat functions into Python.
958 2014-04-24 Andy Buckley <andy.buckley@cern.ch>
960 * Fixes, script installation, and detailed numerical comparisons
961 in yodadiff.
963 2014-04-17 Andy Buckley <andy.buckley@cern.ch>
965 * Change AnalysisObject::annotations to return the list of
966 annotation keys rather than the map, since the previous behaviour
967 mapped very badly into Python.
969 2014-04-16 Andy Buckley <andy.buckley@cern.ch>
971 * Add special case handling for 2-arg use of x2y scripts where the
972 second arg is -, for stdin. This will be treated as writing out to
973 stdout, not converting two files one of which is stdin.
975 2014-04-15 Andy Buckley <andy.buckley@cern.ch>
977 * Adding a more portable version of getline to be used in the YODA
978 file parsing to avoid falling over on DOS-produced input files.
980 2014-04-14 Andy Buckley <andy.buckley@cern.ch>
982 * Adding the namespace protection workaround for Boost described
983 at http://www.boost.org/doc/libs/1_55_0/doc/html/foreach.html
985 2014-04-13 Andy Buckley <andy.buckley@cern.ch>
987 * Adding an assumed-equal-run-size, ratio-like merging heuristic
988 for Scatter2Ds to yodamerge, and renaming the --normalize-all flag
989 to --assume-normalized.
991 * Adding and installing a pkg-config data file for YODA.
993 * Rationalising (and fixing?) the yodamerge logic re. user &
994 normalization scalings, and making way for a Scatter2D merging
995 heuristic.
997 2014-03-10 Andy Buckley <andy.buckley@cern.ch>
999 * YODA 1.0.6 release.
1001 2014-03-06 Andy Buckley <andy.buckley@cern.ch>
1003 * Improvements to AnalysisObject annotation handling in Python.
1005 * Adding rescaling arguments to yodamerge (and scale function to Python Scatter2D).
1007 * Better documentation and consistency of Histo and Profile Python
1008 wrappers, and removing some inappropriate attributes.
1010 * Adding clone() and newclone() functions to all analysis object classes.
1012 2014-02-28 Andy Buckley <andy.buckley@cern.ch>
1014 * Cython mapping improvements, esp. adding numPoints/numBins
1015 functions and better Scatter2D __repr__.
1017 * Adding mapping of the mkScatter functions into Python (as
1018 methods on Histo1D and Profile1D rather than the original free
1019 functions, at least for now: some Python type-identifying
1020 boilerplate is needed to make a single mkScatter function work in
1021 Python)
1023 2014-02-27 Leif Lönnblad <Leif.Lonnblad@thep.lu.se>
1025 * Minor modifications to BinSearcher to avoid NaN's. The NaN's
1026 were treated correctly before, but better to avoid them all
1027 together.
1029 2014-02-27 Andy Buckley <andy.buckley@cern.ch>
1031 * Adding the generated pyext/yoda/rootcompat.cpp to the tarball
1032 and sorting out the ROOT/Cython interface conditionals a bit more
1033 sanely. Thanks to Oldrich Kepka for the bug report.
1035 * Protecting yodamerge against input histograms with zero
1036 integrals (thanks to Christian Bierlich for the bug report).
1038 2014-02-14 Frank Siegert <frank.siegert@cern.ch>
1040 * Fix race condition with mktemplates.
1042 2014-02-12 David Grellscheid <david.grellscheid@dur.ac.uk>
1044 * Fix bug in mktemplates code (thanks to Christian Johnson for the bug report).
1046 2014-02-09 Andy Buckley <andy.buckley@cern.ch>
1048 * Adding explicit include/generated dir creation to Python
1049 extension build (thanks to Christian Johnson for the bug report).
1051 2014-02-06 Andy Buckley <andy.buckley@cern.ch>
1053 * 1.0.5 release!
1055 2014-02-05 Andy Buckley <andy.buckley@cern.ch>
1057 * Adding patches to ReaderFLAT and ReaderYODA use of Boost Spirit
1058 which reduce the Boost version requirement from 1.47 ->
1059 1.41. Thanks to Andrii Verbytskyi for the patch.
1061 * Protect against invalid prefix value if the --prefix configure option is unused.
1063 2014-02-04 Andy Buckley <andy.buckley@cern.ch>
1065 * Adding copy assignment operators where missing, based on an
1066 implementation in AnalysisObject which only copies rvalue paths
1067 and titles if they are non-null.
1069 2014-02-03 Andy Buckley <andy.buckley@cern.ch>
1071 * Improving (i.e. increasing) bin edge overlap tolerance: 1e-10 relative was too tight.
1073 2014-01-31 Andy Buckley <andy.buckley@cern.ch>
1075 * Adding x/yMid etc. methods on Bin1D and 2D, and more related Python API improvements.
1077 2014-01-28 Andy Buckley <andy.buckley@cern.ch>
1079 * Adding missing fillBin methods to 1D and 2D Histo/Profile Python classes.
1081 * Fixed yodamerge default output file name treatment.
1083 * Avoid computing an unrecoverable error in Histo1D.__repr__
1085 * Clean-ups and API improvements in Python IO functions.
1087 * Adding more sumW,W2 and (eff)NumEntries attrs to Python objects.
1089 2013-12-17 Andy Buckley <andy.buckley@cern.ch>
1091 * Improved argument handling for x2y scripts.
1093 2013-11-16 Andy Buckley <andy.buckley@cern.ch>
1095 * Fix to build the Cython rootcompt extension .cpp on request.
1097 2013-11-14 Andy Buckley <andy.buckley@cern.ch>
1099 * Adding flags for the C++11 or C++0x standard if supported, cf. Rivet.
1101 2013-10-24 Andy Buckley <andy.buckley@cern.ch>
1103 * YODA 1.0.4 release.
1105 * Supporting zsh completion via bash completion compatibility.
1107 2013-10-21 Andy Buckley <andy.buckley@cern.ch>
1109 * Removing unused internal iterator typedefs from Writer functions.
1111 2013-10-18 Andy Buckley <andy.buckley@cern.ch>
1113 * Adding a yodaenv.sh sourceable script to help with environment setup.
1115 * Remove Scatters from being handled by yodamerge by blocking the
1116 __add__ method fallback.
1118 2013-10-09 Andy Buckley <andy.buckley@cern.ch>
1120 * Improvements to yoda-config and command-line completion, for the
1121 Rivet 2.0.0 release.
1123 2013-10-09 Andy Buckley <andy.buckley@cern.ch>
1125 * Version 1.0.3 release.
1127 2013-10-04 Andy Buckley <andy.buckley@cern.ch>
1129 * Cython mapping improvements.
1131 * Adding some improved heuristics and a --normalize-all option to
1132 yodamerge. Frank S is now happy again ;-)
1134 2013-10-01 Andy Buckley <andy.buckley@cern.ch>
1136 * Adding operator +, -, +=, -= Python mappings wherever possible
1137 for Histo1/2D, Profile1/2D, and Scatter2D.
1139 2013-09-26 Andy Buckley <andy.buckley@cern.ch>
1141 * Cython is no longer needed by tarball users.
1143 2013-09-25 Andy Buckley <andy.buckley@cern.ch>
1145 * Unset path of returned histogram if those of the args to add()
1146 and subtract() are difference.
1148 2013-09-24 Andy Buckley <andy.buckley@cern.ch>
1150 * Python mapping improvements.
1152 2013-09-23 Andy Buckley <andy.buckley@cern.ch>
1154 * Add the -avoid-version flag to libtool.
1156 * Adding more add and subtract special methods in Python.
1158 2013-09-22 Andy Buckley <andy.buckley@cern.ch>
1160 * mkScatter schanged to use histo midpoints rather than focuses by
1161 default for the point x value.
1163 2013-08-14 Andy Buckley <andy.buckley@cern.ch>
1165 * Version 1.0.2.
1167 * Some exception message improvements and improving the protection
1168 of cosmetic mean calculations in WriterYODA.
1170 2013-07-12 Andy Buckley <andy.buckley@cern.ch>
1172 * Adding ROOT detection in configure and otherwise updating Dave's
1173 rootcompat module so that it'll compile. There might be an
1174 inconvenient ROOT version dependency in the signature of one of
1175 the PyROOT API functions that is used as a shim :-(
1177 2013-06-17 Andy Buckley <andy.buckley@cern.ch>
1179 * Adding yoda.m4 from James Robinson.
1181 2013-06-06 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1183 * Improve "==" operator in Axis1D and Axis2D
1185 2013-06-06 Andy Buckley <andy.buckley@cern.ch>
1187 * Adding fillBin() methods to all 1D and 2D histos, and noting
1188 that Bin types need a back-link to their axis to maintain
1189 consistency.
1191 * Release of version 1.0.1
1193 2013-06-05 Andy Buckley <andy.buckley@cern.ch>
1195 * Change the divide(Scatter, Scatter) behaviours to use the
1196 midpoint of the num/denom bins rather than mean of foci for the
1197 output point position (and hence errors, too).
1199 * Adding a toIntegralEfficiencyHisto function.
1201 * Adding another Histo1D::integral() function, this time from 0 ->
1202 i, maybe including the underflow.
1204 2013-06-04 Andy Buckley <andy.buckley@cern.ch>
1206 * Updating the Cython version requirement to 0.18
1208 2013-06-03 Andy Buckley <andy.buckley@cern.ch>
1210 * Adding relErr functions to 1D and 2D histo and profile bins, and
1211 being careful about div by zero.
1213 * Improvements in error treatment in division (better handling of zeros).
1215 * Renaming merge-histos to yodamerge and installing it (and
1216 improving the usage string a bit).
1218 2013-05-31 Andy Buckley <andy.buckley@cern.ch>
1220 * Adding the Counter type, and ability to output it from the YODA writer.
1222 * Adding numEntries and effNumEntries methods to 1D and 2D Histo
1223 and Profile classes.
1225 * Adding Dbn0D and using it to implement Dbn1D.
1227 2013-05-30 Andy Buckley <andy.buckley@cern.ch>
1229 * Fixing several nasty errors in argument ordering for
1230 Point{1,2,3}D construction in Scatter addPoint functions.
1232 * Adding abs(...) to the returned Dbn1D::variance(), to avoid
1233 problems when negative weights produce negative variance. No, we
1234 don't like this either: is there a more correct way?
1236 * Fixing the efficiency(Histo1D, Histo1D) implementation,
1237 cf. http://root.cern.ch/phpBB3/viewtopic.php?t=3753
1239 * Adding mkScatter(Profile2D)
1241 2013-05-29 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1243 * Adding a reader for FLAT files and a flat2yoda converter
1245 2013-05-27 Andy Buckley <andy.buckley@cern.ch>
1247 * Adding a yoda-completion file for bash.
1249 2013-05-17 Andy Buckley <andy.buckley@cern.ch>
1251 * Mapping HistoBin1D.relErr in Python.
1253 * Adding a non-const points() accessor to Scatter2D.
1255 2013-05-13 Andy Buckley <andy.buckley@cern.ch>
1257 * Adding combined value+error setX/Y functions on Point2D.
1259 * Adding HistoBin1D::relErr()
1261 2013-04-23 Andy Buckley <andy.buckley@cern.ch>
1263 * Adding Python output handling for single AOs and to be able to
1264 use a "-" filename to mean stdout.
1266 2013-04-12 Andy Buckley <andy.buckley@cern.ch>
1268 * Releasing version 1.0.0 -- it seems stable enough.
1270 2013-04-10 Andy Buckley <andy.buckley@cern.ch>
1272 * Being more careful about adding -Wno-* flags to the C++ compiler
1273 used to built the Cython extension lib.
1275 2013-03-22 Andy Buckley <andy.buckley@cern.ch>
1277 * Removing the use of svn:external to pull in Boost macros and
1278 using a minimal local set instead.
1280 * Using the nice Boost-finding macros from
1281 https://github.com/tsuna/boost.m4 and tidying up configure.ac
1283 2013-03-15 Andy Buckley <andy.buckley@cern.ch>
1285 * Re-organising the C++ side of the auto-format I/O functions,
1286 into a new IO header and separated from the Reader.h and
1287 Writer.h. I'm tempted to say that users shouldn't really NEED to
1288 ever directly touch the Reader and Writer objects...
1290 * Adding auto-format read and write functions. I will probably
1291 change the API. Python mappings have been provided, but the string
1292 workarounds were too much of a pain with Cython 0.16 so I have
1293 updated the Cython version requirement to 0.17 where it is
1294 automatic and hence much cleaner.
1296 2013-03-08 Andy Buckley <andy.buckley@cern.ch>
1298 * Making the x2y converter scripts write a copy into the *current*
1299 directory if only the input is specified.
1301 2013-03-05 Andy Buckley <andy.buckley@cern.ch>
1303 * Removing Plot entirely from YODA: it was an anomaly only added
1304 to make plot file generation easy, but this is now done better via
1305 StringIO (in new compare-histos/rivet-cmphistos).
1307 * Removing the Plot from Cython... and soon from YODA itself:
1308 we'll do this stuff manually and less hackily.
1310 * Make Cython automatically add a copy of the original call
1311 signature to each function's docstring.
1313 2013-03-04 Andy Buckley <andy.buckley@cern.ch>
1315 * Adding Plot mapping to Cython and improving the AO annotations handling in Python.
1317 * Adding PLOT section writing to WriterFLAT (and WriterYODA,
1318 although that might be a bad idea...)
1320 * Adding aida2yoda and aida2flat converter scripts.
1322 2013-02-02 David Mallows <dave.mallows@gmail.com>
1324 * Adding support for Python >= 2.4 (was Python >= 2.6)
1326 * Fixing miscellaneous warnings on GCC 4.1
1328 2013-01-30 Andy Buckley <andy.buckley@cern.ch>
1330 * Adding a points() method to the Python Scatter2D wrapper.
1332 * Adding a virtual destructor to Bin.
1334 2012-12-30 Andy Buckley <andy.buckley@cern.ch>
1336 * Adding support for Boost.Range arguments and file format autodetection in Writer.
1338 2012-11-24 Andy Buckley <andy.buckley@cern.ch>
1340 * Bump version to 0.6beta0
1342 * Adding more ROOT converters. Who knows how to make TProfiles
1343 from scratch, but Histo1D and Scatter2D are covered, which should
1344 be enough to get started with, at least.
1346 2012-11-16 Andy Buckley <andy.buckley@cern.ch>
1348 * Adding yoda-config
1350 2012-11-16 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1352 * Adding WriterFLAT and yoda2flat
1354 2012-11-16 Andy Buckley <andy.buckley@cern.ch>
1356 * Adding YODA/ROOTCnv.h. for data object converter functions. Two
1357 (untested) functions added for TH1 -> YODA.
1359 * Adding toIntegralHisto(Histo1D&) function.
1361 2012-11-15 Dave Mallows <dave.mallows@gmail.com>
1363 * Commited numerous changes to Axis2D. Axis2D now uses BinSearcher as
1364 with Axis1D.
1366 2012-11-15 Andy Buckley <andy.buckley@cern.ch>
1368 * Improving division and efficiency treatments, and allowing
1369 arbitrary f(x), f(y), and flip transformations on Scatter2D.
1371 2012-11-14 Andy Buckley <andy.buckley@cern.ch>
1373 * Converting linspace, logspace, and their usage to place the nbins argument first.
1375 2012-08-07 Andy Buckley <andy.buckley@cern.ch>
1377 * Removing unused (beyond 2nd order) sumWXYZ counter from Dbn3D.
1379 2012-08-07 Dave Mallows <dave.mallows@gmail.com>
1381 * Converted Axis1D to use new Utils/BinSearcher.
1383 2012-08-02 Dave Mallows <dave.mallows@gmail.com>
1385 * Heavily refactored Cython bindings
1387 * HistoBin1D, ProfileBin1D etc. now inherit from Bin1D[DBN]
1389 * Temporarily removed Histo2D, Profile2D and Scatter3D mappings.
1391 2012-07-23 Andy Buckley <andy.buckley@cern.ch>
1393 * Installing scripts from bin dir, and making the yoda2aida interface nicer.
1395 * Adding Cython mappings for Dbn3D and Profile2D, and other fixes/improvements.
1397 2012-07-22 Andy Buckley <andy.buckley@cern.ch>
1399 * Adding Cython mappings for Scatter3D and ProfileBin2D.
1401 * Fixing more crap code legacy from old 2D plot implementation, this time in Scatter3D.
1403 2012-07-19 Andy Buckley <andy.buckley@cern.ch>
1405 * Adding stdErr for Histo2D + Python mapping, and more Cython improvements.
1407 * Adding path/title-only AO constructors and making nice Python constructor for Histo2D.
1409 * Cython mapping improvements & additions for Point3D + Scatter3D.
1411 * Removing mixed symm/asymm constructors on Point*D & Scatter*D classes.
1413 2012-07-12 Andy Buckley <andy.buckley@cern.ch>
1415 * Reintroducing Profile2D and Scatter3D.
1417 * Adding axis locking to Axis2D.
1419 * Supporting Histo2D in WriterYODA.
1421 2012-07-02 Andy Buckley <andy.buckley@cern.ch>
1423 * More incremental progress toward a working 2D bin hash mechanism.
1425 2012-05-03 Andy Buckley <andy.buckley@cern.ch>
1427 * Adding nice constructor behaviours to the Histo1D and Profile2D
1428 Python interfaces, and adding the mkScatter operation for
1429 Profile1D.
1431 * Adding more default constructors for analysis objects, to allow
1432 member variable and STL container use without pointers.
1434 2012-05-02 Andy Buckley <andy.buckley@cern.ch>
1436 * A much simplified and more robust rewrite of the Axis1D class,
1437 just using STL map in place of the hand-written bin edge caching.
1439 * Improvements (I hope) to the binary search in Axis1D, and
1440 providing an experimental default constructor for Histo1D.
1442 2011-12-08 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1444 * ReaderYODA can now parse Histo1D and Profile1D flat files
1446 2011-12-08 Andy Buckley <andy.buckley@cern.ch>
1448 * Adding a Utils::ndarray object and using it to implement a
1449 general Scatter<N> system, with generalised Point<N> and Error<N>
1450 to boot.
1452 2011-12-07 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1454 * Lots of cleanup
1456 2011-12-07 Andy Buckley <andy.buckley@cern.ch>
1458 * Mapping the Dbn1D and Dbn2D classes into Python.
1460 * Adding an outflows() accessor to Histo2D.
1462 * Writing out total dbn lines for Histo1D and Profile1D in the
1463 YODA format, and now writing out the 'cross-terms' for Profile1D,
1464 too.
1466 * Properly adding Dbn1D accessors for Histo1D.
1468 * Updating the Cython mappings to provide the totalDbn() methods
1469 and add a placeholder mapping for Dbn2D. Completed mappings are
1470 needed for Dbn{1,2,3}D and the Profile types.
1472 * Adding totalDbn() accessors to data types.
1474 2011-12-06 Andy Buckley <andy.buckley@cern.ch>
1476 * Making Histo1D/2D::scaleW() write a ScaledBy annotation.
1478 * Adding annotation-fetching methods with a default return value
1479 argument to AnalysisObject.
1481 * Adding normalize() methods to Histo1D/2D.
1483 * Adding weighted RMS calculating methods to Dbn1D, Dbn2D and
1484 Bin1D/2D.
1486 2011-09-03 Dave Mallows <dave.mallows@gmail.com>
1488 * Fixed ReaderAIDA: x-value and low y-error interchanged when filling
1489 Scatter2D.
1491 * Changed to Cython for Python bindings: Swig bindings were in need of
1492 serious amounts of work. Cython should provide a means to provide more
1493 Pythonic bindings to YODA. A minimal subset of ReaderAIDA, Scatter2D
1494 and Point2D have been wrapped.
1496 * Modified configure.ac, Makefile.am and pyext/Makefile.am to reflect
1497 change to Cython. Added cython.m4 from python-efl (Part of the
1498 enlightenment project; LGPL)
1500 2011-08-31 Dave Mallows <dave.mallows@gmail.com>
1502 * Fixed python tests by installing python extension to pyext/build
1504 2011-08-23 Andy Buckley <andy@insectnation.org>
1506 * Adding rebinning interface to Histo1D and Profile1D, and adding
1507 a test (and a new test feature for output message formatting)
1509 * Adding first implementation of 1D bin merging to Axis1D.
1511 2011-08-22 Andy Buckley <andy@insectnation.org>
1513 * Adding copy constructors and assignment operators to Histo1D,
1514 Profile1D, and Scatter2D, and their respective bins/points.
1516 * Remove use of sign(weight) in filling sum(w2) -- I think this
1517 was an historical attempt based on a scaling axiom which turned
1518 out to be inappropriate.
1520 * Reworking the Bin1D inheritance and composition design so that
1521 all bin types store a single distribution object -- a Dbn1D for
1522 histo bins and a Dbn2D for profile bins.
1524 2011-08-18 Andy Buckley <andy@insectnation.org>
1526 * Removing the Profile1D -> ProfileBin1D friendship. This is very
1527 heartening -- the fewer friend declarations we need, the more
1528 indication that the class structure is not pathological! (Or that
1529 we've just made everything public... but we haven't)
1531 2011-08-15 Andy Buckley <andy@insectnation.org>
1533 * Inlining all functions in HistoBin1D, ProfileBin1D, and
1534 HistoBin2D.
1536 * Converting Dbn2D to be composed of two Dbn1Ds and a
1537 cross-term. Also tidying the interfaces of the 2D classes and the
1538 scaleX/Y methods throughout, and adding Doxygen comments.
1540 2011-08-12 Andy Buckley <andy@insectnation.org>
1542 * Adding proper Doxygen structures and full descriptive comments
1543 to Dbn2D.
1545 * Adding the persistency state-setting constructors for Profile1D
1546 and Dbn2D.
1548 * Inlining lots of methods on Dbn1D. Same should be done for
1549 Dbn2D, but first it needs to be reimplemented in terms of two
1550 Dbn1Ds + the cross-term.
1552 2011-08-11 Andy Buckley <andy@insectnation.org>
1554 * Various typo fixes and comments relating to persistency
1555 constructors, Histo2D slicing, etc.
1557 * Changing the HistoBin1D state-setting constructors (aargh, these
1558 should *not* have already existed) to take Dbn1D as an argument
1559 rather than a long list of doubles.
1561 2011-08-01 Andy Buckley <andy@insectnation.org>
1563 * Adding tests to check that implicit construction of Weights
1564 objects from literal doubles and ints works.
1566 2011-07-28 Andy Buckley <andy@insectnation.org>
1568 * Bumping version number to 0.4.0beta0 -- there have been
1569 substantial changes recently and YODA is now in a state where it
1570 should be interesting for outsiders to start playing with it.
1572 * Templating the Axis1D on the distribution type to be used for
1573 total and under/overflow statistics: Profile1D now has Dbn2D
1574 objects handling its total and overflow statistics.
1576 2011-07-26 Andy Buckley <andy@insectnation.org>
1578 * Added a Histo1D::integral(index1, index2) method. Not sure how
1579 or if to extend this to Profile1D.
1581 * Implementing incomplete Scatter2D operator+ and operator-
1582 functions.
1584 2011-07-25 Andy Buckley <andy@insectnation.org>
1586 * Adding a Weights class, designed to seamlessly replace
1587 double-type weights and weighted moments with a named and
1588 vectorised form.
1590 2011-07-19 Andy Buckley <andy@insectnation.org>
1592 * Add Profile1D and Scatter2D division operators.
1594 * Add xMin/xMax synonyms to the Axis1D, cf. the bins.
1596 2011-07-18 Andy Buckley <andy@insectnation.org>
1598 * Add a first stab at a Histo1D/Histo1D division operator.
1600 2011-07-10 Andy Buckley <andy@insectnation.org>
1602 * Add construction of Histo1Ds from Profile1D and Histo1D, and
1603 construction of Profile1Ds from those and Scatter2D.
1605 2011-07-07 Andy Buckley <andy@insectnation.org>
1607 * Add construction of a Histo1D from Scatter2D.
1609 2011-06-15 Andy Buckley <andy@insectnation.org>
1611 * Making the AIDA reader work, including reading of annotations
1612 and a few tweaks to the simple type persistency system. Test histo
1613 1b updated.
1615 2011-06-12 Andy Buckley <andy@insectnation.org>
1617 * Removing Histo1D::area
1619 * Filling and using under/overflow and total db on Histo1D, and
1620 adding boolean arg to integral, sumW, etc.
1622 * Fixing for C++ change in behaviour of std::make_pair
1624 * Adding addAnnotation, and mapping annotations to Python.
1626 2011-02-22 Andy Buckley <andy@insectnation.org>
1628 * Use distutils rather than setuptools for the Python interface
1629 build.
1631 * Renaming Bin, HistoBin and ProfileBin to be Bin1D, HistoBin1D,
1632 ProfileBin1D. Bin is now a top-level abstract class with minimal
1633 functionality to be shared between 1D and 2D bins.
1635 2011-01-12 Andy Buckley <andy@insectnation.org>
1637 * Type annotations in mkScatter
1639 * Added many vector constructors and addPoint functions to
1640 Scatter2D.
1642 2011-01-11 Andy Buckley <andy@insectnation.org>
1644 * Add lexical_cast support to annotation get and set functions.
1646 * Write out annotations in AIDA format, and copy annotations in
1647 mkScatter -- using a new AnalysisObject::setAnnotations method.
1649 * Convert DPS output to use interim Scatter construction
1651 * Make (unused) yoda.plot subpackage.
1653 * Write out annotations in YODA format.
1655 * Make Scatter2D representations of Histo1D and Profile1D.
1657 * Write out Scatter2D objects in AIDA and YODA formats.
1659 * Make Scatter2D and Point2D work. Add a few extra
1660 methods... evolution and tweaking required.
1662 2011-01-10 Andy Buckley <andy@insectnation.org>
1664 * Add Boost checks and header includes. Not used yet.
1666 * Hide Utils:: content from Doxygen and nvector -> Utils::nvector.
1668 * Removing unused YAML stuff: we aren't going that way for
1669 persistency anymore.
1671 * Renaming Axis -> Axis1D
1673 * Removing dead-end templated Scatter stuff.
1675 * Move (generated) config files into the Config subdir.
1677 * Move sortedvector and indexedset into the Utils dir.
1679 * Move the "utils" directory and namespace to "Utils"
1681 * Put the Doxyfile under configure control by moving it to
1682 Doxyfile.in and using the @PACKAGE_VERSION@ token.
1684 * Make Doxygen find the .icc file and hide functions with name _*
1685 and in the YAML namespace.
1687 * Removing the Binning argument and enum in favour of explicit bin
1688 edge vectors, possibly produced explicitly via the MathUtils
1689 linspace and logspace functions, or the new Axis::mkBinEdgesLin/Log
1690 alias functions.
1692 * Fixed Axis, Histo1D and Profile1D constructors, by adding a path
1693 argument, passing the path and title args to the AnalysisObject
1694 base constructor properly.
1696 * Removed several old and unused files such as Tree.h
1698 2011-01-09 Andy Buckley <andy@insectnation.org>
1700 * Updating copyright comments to be valid into 2011.
1702 * Persistency fixes, and changing the interface to use the annotated path.
1704 * Using annotations for path and title.
1706 * Adding tests of collection and iterator range AO writing.
1708 * Adding static write functions on Writer*.h implementations to
1709 avoid needing to make an explicit Writer object via the create()
1710 functions.
1712 * Rename Exception.h -> Exceptions.h
1714 * Added AnnotationError.
1716 * Re-enable persistency of collections with begin/end iterators.
1718 2011-01-08 Andy Buckley <andy@insectnation.org>
1720 * Enabling quiet compilation.
1722 * More annotation functionality.
1724 2011-01-07 Andy Buckley <andy@insectnation.org>
1726 * Sorting out autoheaders to be more useful.
1728 * Rewriting AIDA writer to use DPS representation (no reloading)
1729 for Histo1D and Profile1D objects.
1731 * Adding persistency system hooks, since RTTI just sucks too much.
1733 * Renaming test files to have more meaningful names.
1735 2010-12-10 Andy Buckley <andy@insectnation.org>
1737 * Some tweaks to Axis, Bin, etc. to use the sortedvector. Seems to
1738 be working! (I must be checking it wrongly...)
1740 * Adding another candidate object for the axis bin container: a
1741 sorted extension to STL std::vector with an insert method. This
1742 will do as a development placeholder: a proper sorted & indexed
1743 container may be substituted later.
1745 * Fix test code: titles are no longer given as histogram
1746 constructor arguments.
1748 2010-11-21 Andy Buckley <andy@insectnation.org>
1750 * Adding indexed set for holding bins on axes. Still not sure it's
1751 what we want, as (I just realised) STL sets are iterator-immutable
1752 because they are self-keyed and changes to elements would also
1753 change their sorting.
1755 2010-09-19 Andy Buckley <andy@insectnation.org>
1757 * Restarting ChangeLog contributions! Many changes in the huge
1758 time since last update... activity on YODA has renewed and we have
1759 a better picture of the distinctive features we require. New idea:
1760 named weight vector filling, allowing "parallel" histograms for
1761 various event weight variations. I/O remains an awkward issue,
1762 especially since the classes are now much richer than they used to
1763 be, and don't know about paths. Output can be easily put on top:
1764 not an issue... and we can probably do something with
1765 pickling. But reading in from C++?
1767 2008-09-16 Andy Buckley <andy@insectnation.org>
1769 * Moved duplicate Histo1D/Profile1D code on to Axis, making Axis a
1770 templated class at the same time.
1772 2008-09-12 Andy Buckley <andy@insectnation.org>
1774 * Started work on a little plotting tool, initially for Herwig++
1775 parton pT cut testing, but incrementally enhancing it to be a
1776 command-line quick plotter seems like a good idea.
1778 * Added some more test programs... working towards a proper test
1779 suite.
1781 * Added "no path & title" constructors - you don't always want to
1782 write out the histo, since sometimes it's just a good way to
1783 gather statistics.
1785 * Fixed YODA mapping to allow use of vectors of bins as Python
1786 lists.
1788 * Added Profile1D functionality.
1790 * Fixed Dbn1D to use sign(weight) as part of the "w**2" measure,
1791 so that negative weights behave themselves.
1793 2008-05-23 Andy Buckley <andy@insectnation.org>
1795 * Added Dbn1D class to centralise the calculation of statistics
1796 from unbounded, unbinned, weighted distributions.
1798 2008-05-15 Andy Buckley <andy@insectnation.org>
1800 * Added Profile1D class.
1802 * Fixed NaN errors from zero weights.
1804 2008-04-14 Andy Buckley <andy@insectnation.org>
1806 * Python SWIG interface now compiles and can be used: the subtlety
1807 that was breaking it was that SWIG has to be prodded in pretty
1808 non-obvious ways to make std::vectors of classes without
1809 default (no-arg) constructors. See
1810 http://osdir.com/ml/programming.swig/2004-04/msg00011.html for
1811 about the only reference to this to be found anywhere!
1813 * Basic AIDA writer now available - it doesn't yet output all the
1814 necessary information though, especially not for merging parallel
1815 runs.