yoda

view ChangeLog @ 1350:523ade152a3e

Fix yodaplot
author Andy Buckley <andy@insectnation.org>
date Sun, 23 Jul 2017 14:51:26 +0100
parents 7b6570bf3c2c
children
line source
1 2017-07-23 Andy Buckley <andy.buckley@cern.ch>
3 * Add parallel/compatibility yoda1 package to aid eventual transition to YODA v2.
5 2017-07-22 Andy Buckley <andy.buckley@cern.ch>
7 * Add x,y,zMins and Maxs to all 1D data types and scatters (and
8 x,yMin/Max to the scatters) -- Python interface only.
10 * Rework some of the yoda.plotting tools, making it a bit more
11 compatible with user-scripted matplotlib.
13 2017-07-18 Andy Buckley <andy.buckley@cern.ch>
15 * Add convenience aliases H1D, H2D, P1D, P2D, and S1D, S2D, S3D
16 for the HistoXD, ProfileXD, and ScatterXD classes respectively.
18 2017-07-08 Andy Buckley <andy.buckley@cern.ch>
20 * Add xyVals/Errs and other 'bin array property' accessors to the
21 Python Histo1D and Profile1D types: important for connection to
22 matplotlib.
24 2017-06-28 Andy Buckley <andy.buckley@cern.ch>
26 * Use Python natsort library to sort yodals output if available.
28 2017-06-18 Andy Buckley <andy.buckley@cern.ch>
30 * Version 1.6.7 release.
32 2017-05-12 Andy Buckley <andy.buckley@cern.ch>
34 * pyext/yoda/rootcompat.pyx: Fix ordering of TH1 vs. TProfile
35 conversion -- TProfile *is* a TH1, so we have to test for the more
36 specific type-match first. Thanks to Dmitry Kalinkin for the
37 patch.
39 2017-05-02 Andy Buckley <andy.buckley@cern.ch>
41 * Add static Reader methods to match the Writer ones.
43 2017-02-23 Andy Buckley <andy.buckley@cern.ch>
45 * Fix Histo2D and Profile2D total distribution reading from YODA format.
47 2017-02-19 Holger Schulz <holger.schulz@durham.ac.uk>
49 * Convert TH1F to TH1D in root2flat. Much simpler than duplicating
50 the TH1D stuff in pyext.
52 2016-12-13 Andy Buckley <andy.buckley@cern.ch>
54 * Version 1.6.6 release.
56 2016-12-12 Holger Schulz <holger.schulz@durham.ac.uk>
58 * Bugfixes in Cython bins accessors for Histo2D.
60 2016-11-17 Leif Lonnblad <leif.lonnblad@thep.lu.se>
62 * Fixed warning messages about the obsoleteness of AIDA so that the scripts actually still work.
64 2016-09-28 Andy Buckley <andy.buckley@cern.ch>
66 * Version 1.6.5 release, for the benefit of ROOT fans.
68 * Fix handling of --enable/disable-root configure options.
70 2016-09-26 David Grellscheid <david.grellscheid@durham.ac.uk>
72 * Improvements to Cython version testing.
74 2016-09-25 Andy Buckley <andy.buckley@cern.ch>
76 * Version 1.6.4 release.
78 2016-09-20 David Grellscheid <david.grellscheid@durham.ac.uk>
80 * Remove aliases for @property functions. They were scheduled for
81 removal anyway, and don't work with Cython >= 24.
83 2016-09-06 Andy Buckley <andy.buckley@cern.ch>
85 * Update configure scripts to use newer (Py3-safe) Python testing
86 macros.
88 2016-08-09 Andy Buckley <andy.buckley@cern.ch>
90 * Version 1.6.3 release!
92 2016-07-22 Andy Buckley <andy.buckley@cern.ch>
94 * Add 'add' modes for scatter combination to yodamerge.
96 * Fix yodamerge scatter averaging to use the first AO.
98 2016-07-21 Andy Buckley <andy.buckley@cern.ch>
100 * Add --type-mismatch-mode flag and fallback logic to yodamerge.
102 * Fix yodamerge logic to handle cases where an AO only appears once.
104 2016-07-19 Andy Buckley <andy.buckley@cern.ch>
106 * Deprecate flat2yoda script and add warning output to it and the AIDA conversion scripts.
108 * Add a convenience yoda2yoda script.
110 2016-07-14 Andy Buckley <andy.buckley@cern.ch>
112 * Try to build PyROOT interface by default, if root-config is found.
114 2016-07-11 Andy Buckley <andy.buckley@cern.ch>
116 * Remove accidentally remaining reference to Boost flags in yoda-config.
118 2016-07-06 Andy Buckley <andy.buckley@cern.ch>
120 * Version 1.6.2 release!
122 2016-07-05 Andy Buckley <andy.buckley@cern.ch>
124 * Pass the toNewScatter3D() scalebyarea flag to the called toScatter3D() functions.
126 2016-06-06 Andy Buckley <andy.buckley@cern.ch>
128 * Re-enable the disabled-for-some-reason Scatter1D combineWith Python mappings.
130 2016-04-28 Andy Buckley <andy.buckley@cern.ch>
132 * Version 1.6.1 release!
134 * Add a unit test for annotation handling correctness.
136 * Fix numerical precision of string storage of floating-point attributes.
138 * Fix a bug in use of the replacement for lexical_cast.
140 2016-04-20 Andy Buckley <andy.buckley@cern.ch>
143 * Version 1.6.0 release!
145 2016-04-16 Andy Buckley <andy.buckley@cern.ch>
147 * Extend SFINAE craziness to allow writing of any object
148 (e.g. smart pointer) that can be dereferenced to something that
149 has AnalysisObject as its base class... and also to any container
150 of them! Amazing what you can do with C++11!
152 2016-04-14 Andy Buckley <andy.buckley@cern.ch>
154 * Add a few consts to the arguments in Scatter error setting via pairs.
156 * Fix double-writing of minus errors in WriterYODA for Scatter1D
157 and Scatter3D. Thanks to Graeme Watt for the report and fix.
159 2016-04-12 Andy Buckley <andy.buckley@cern.ch>
161 * Remove Boost dependency and require C++11 compilation.
163 2016-04-08 Andy Buckley <andy.buckley@cern.ch>
165 * Add a --guess-prefix flag to yoda-config, cf. fastjet-config.
167 2015-12-20 Andy Buckley <andy.buckley@cern.ch>
169 * Change AO uncomputable division and mkScatter operations to
170 return/set NaN rather than 0 -- behaviour change requires new
171 major version series 1.6.
173 2016-03-09 Andy Buckley <andy.buckley@cern.ch>
175 * Version 1.5.9! (oh no, we're out of convenient version number space!!)
177 2016-03-08 Andy Buckley <andy.buckley@cern.ch>
179 * Add abs function to eq calculation in yodadiff.
181 2016-02-29 Andy Buckley <andy.buckley@cern.ch>
183 * Remove blocking of builds against ROOT6 -- it works fine.
185 2016-02-16 Andy Buckley <andy.buckley@cern.ch>
187 * Add a --add option to yodamerge, for simple histo
188 stacking. Thanks to Chris Gutschow for the patch, although my
189 spidey sense is tingling...
191 2015-12-21 Andy Buckley <andy.buckley@cern.ch>
193 * Version 1.5.8!
195 * Add a rebinning unit test, pytest-rebin.
197 * Add optional range arguments to rebinBy methods, allowing block
198 rebinnings to be applied only within a range of (original) bin
199 indices.
201 * Add missing root.py submodule file. Oops!
203 2015-12-20 Andy Buckley <andy.buckley@cern.ch>
205 * Convert linspace to use multiplication rather than repeated
206 addition to construct edge values, reducing precision errors.
207 Thanks to Holger Schulz for the suggestion.
209 2015-12-15 Andy Buckley <andy.buckley@cern.ch>
211 * Add xEdges() methods to Axis1D and the Histo1D and Profile1D
212 that use it. The returned edge lists are finite only, i.e. they do
213 not contain the +-inf values on the ends of the internal
214 BinSearcher edges.
216 2015-12-13 Andy Buckley <andy.buckley@cern.ch>
218 * Version 1.5.7!
220 * Extend batch-adding in ReaderYODA to include Scatter types.
222 * Add a match_aos function to Python, for filtering AO lists/dicts
223 on path patterns and anti-patterns.
225 2015-12-12 Andy Buckley <andy.buckley@cern.ch>
227 * Add a flag to yoda2root to change whether the conversion is to
228 'proper' types or to (more robustly) TGraphAsymmErrors objects.
230 * Fix accidental use of S2D_MODE flag where S1D_MODE should have
231 been used, in yodamerge. Thanks again to Radek Podskubka.
233 * Allow new rebinTo() merging to restrict to a subset of the bin
234 range, merging the outside bins into the overflow distributions.
236 2015-12-11 Andy Buckley <andy.buckley@cern.ch>
238 * Add a rebinTo() method on Axis1D, allowing rebinning to a new
239 given set of bin edges. Add an explicitly named rebinBy(), and
240 overloaded rebin() aliases for both, and pass through to Histo1D
241 and Profile1D APIs. Plus other internal tweaks to binning
242 functionality... anticipating/fuelling the fundamental rewrite.
244 2015-12-10 Andy Buckley <andy.buckley@cern.ch>
246 * Improve ReaderYODA to use temporary bin containers, to minimise
247 calling sort when adding bins to histos. A quick test suggests
248 this has sped up big file reading by a factor of 30 or so!!!
250 * Add missing addBins() operators (only in C++ so far) to Histo
251 and Profile classes.
253 * Fix Counter::numEntries to return an unsigned long rather than double.
254 Thanks to Radek Podskubka for the bug discovery and detective work.
256 * Improve sortedvector to insert new elements into the sorted
257 position, rather than resorting the whole vector. This should be a
258 bit more efficient, but I think the asymptotic complexity is the
259 same. Might help a bit with reading big data files.
261 2015-12-04 Andy Buckley <andy.buckley@cern.ch>
263 * Add yoda.HAS_ROOT_SUPPORT flag, for API user convenience.
265 2015-11-22 Andy Buckley <andy.buckley@cern.ch>
267 * Version 1.5.6!
269 * Make AO path setting and retrieval prepend a leading slash if it
270 is missing (unless the path is completely empty).
272 2015-11-21 Andy Buckley <andy.buckley@cern.ch>
274 * Add root2yoda conversion script.
276 * Deprecating yoda.to_root() in favour of yoda.root module, which
277 contains to_root and to_yoda functions, as well as a ROOT file
278 walking function.
280 2015-11-17 Andy Buckley <andy.buckley@cern.ch>
282 * Map ROOT-to-YODA (as scatter) functions to Python. Phew.
284 * Map new to-ROOT functions, including TGraph ones, to Python.
286 2015-11-16 Andy Buckley <andy.buckley@cern.ch>
288 * ROOTCnv.h: Add toScatter3D ROOT->YODA, and toNew* YODA->ROOT
289 conversion routines.
291 * ROOTCnv.h: Fix bug in toTH2D(const Histo2D& h) as used with
292 ROOT6. Thanks to Tim Martin.
294 2015-11-05 Andy Buckley <andy.buckley@cern.ch>
296 * Fix double-dealloc in new Point class hierarchy Python mapping.
298 2015-10-23 Andy Buckley <andy.buckley@cern.ch>
300 * Make the version() function inline, and the numerical constants static.
302 * Change the default plotting backend to MPL rather than the much slower PGF.
304 2015-10-09 Andy Buckley <andy.buckley@cern.ch>
306 * Reinstate __getitem__ special methods for Scatters in Python.
308 * Provide dim() methods/attributes for the Point and Bin base classes.
310 * Rename set*Err to set*Errs for the asymmetric variants. Plural
311 aliases are also provided for the symm case.
313 2015-10-08 Andy Buckley <andy.buckley@cern.ch>
315 * Pass std::pairs by reference in Point*D error setting functions.
317 * Add Point base class with generic accessors to Point*D
318 properties via an integer axis ID argument.
320 2015-10-07 Andy Buckley <andy.buckley@cern.ch>
322 * Version 1.5.5 release.
324 * Counter.pyx: Typo fix in sumW mapping.
326 * yodamerge: Re-add checking for non-emptiness before merging, in
327 case the empty ones are missing a ScaledBy attribute. Won't
328 normally apply to Profiles, since they don't usually get
329 normalised, but we might as well include them in the vetoing since
330 empty histos don't contribute to the merging. Added a command-line
331 option to disable this heuristic since in very strange situations
332 a null sumW does not mean no fills.
334 2015-10-06 Andy Buckley <andy.buckley@cern.ch>
336 * Version 1.5.4 release.
338 * ReaderYODA: Typo fixes in Counter filling of sumW and Scatter3D reader state flag.
340 * yodamerge: add merging heuristics for Scatter1D and Scatter3D (needs unification)
342 2015-10-05 Andy Buckley <andy.buckley@cern.ch>
344 * yodamerge: add a fix for empty-in-all-runs histo merging; thanks
345 to Daniel Rauch.
347 2015-10-04 Andy Buckley <andy.buckley@cern.ch>
349 * Adding dim() function and corresponding Python attribute to AnalysisObject.
351 * Map Counter arithmetic operations into Python.
353 * Map Counter mkScatter() into Python (as bound method).
355 * Add a YODA::version() function, mapped into Python and used to
356 set the yoda.__version__ variable.
358 2015-10-01 Andy Buckley <andy.buckley@cern.ch>
360 * Expose the yoda.plot() Python function in a way that doesn't
361 automatically induce a dependence on matplotlib.
363 2015-09-30 Andy Buckley <andy.buckley@cern.ch>
365 * Fix yodals to work with Counters.
367 2015-09-23 Andy Buckley <andy.buckley@cern.ch>
369 * Version 1.5.3 release.
371 * Update Boost version requirement to 1.48, due to use of
372 type_traits/has_dereference, and add a check for that feature's
373 header.
375 2015-09-19 Andy Buckley <andy.buckley@cern.ch>
377 * Further improvements to handling leading _multiple_ # marks on
378 YODA format BEGIN lines.
380 2015-09-11 Andy Buckley <andy.buckley@cern.ch>
382 * Version 1.5.2 release.
384 * Tolerate leading # symbols without separating whitespace on
385 BEGIN lines in YODA format parsing.
387 * Further improvements to handling LowStatsErrors in YODA format writing.
389 * Fix shadowed variables that made ReaderYODA unhappy.
391 2015-09-03 Andy Buckley <andy.buckley@cern.ch>
393 * Version 1.5.1 release.
395 * Fix bugs in Python wrapper for Point3D.
397 2015-08-28 Peter Richardson <Peter.Richardson@durham.ac.uk>
399 * Catch LowStatsError when writing multiple histograms so only the
400 histogram with the problem is not written
402 2015-08-28 Andy Buckley <andy.buckley@cern.ch>
404 * Version 1.5.0 release.
406 2015-08-24 Andy Buckley <andy.buckley@cern.ch>
408 * Improve protection of efficiency calculation against the weird
409 world of general weighted events.
411 2015-08-17 Andy Buckley <andy.buckley@cern.ch>
413 * Add some protection against calling matplotlib's legend() method
414 if there are no valid labels to display, to suppress an MPL
415 warning message when using yoda.plot().
417 2015-08-12 Andy Buckley <andy.buckley@cern.ch>
419 * Fix cut & paste typo, and add LowStatsError catching in Profile division.
421 2015-08-11 Andy Buckley <andy.buckley@cern.ch>
423 * Replace old Spirit-based ReaderYODA with the new hand-rolled one.
425 * Adding filling of Histo1D, Profile1D, Histo2D and Profile2D in
426 new ReaderYODA. More hacking of Axis and Histo/Profile
427 interfaces... needs clean-up, and infinite binning implementation.
429 2015-08-07 Andy Buckley <andy.buckley@cern.ch>
431 * Convert the ReaderFLAT parser to also use a simple hand-written parser rather than Spirit.
433 2015-08-04 Andy Buckley <andy.buckley@cern.ch>
435 * Add methods for Counter, Axis and Histo1D internal state
436 access/setting, mainly for new persistency. NEEDS PRE-RELEASE TESTING!!!
438 2015-07-30 Andy Buckley <andy.buckley@cern.ch>
440 * Remove # markers from YODA format BEGIN/END output. The parser
441 will continue to accept them.
443 2015-07-29 Andy Buckley <andy.buckley@cern.ch>
445 * Add SFINAE trait magic to restrict write(RANGE) functions to
446 accepting iterables. Also generalising to allow either
447 container-of-objects or container-of-pointers args by providing a
448 writeBody(AO*) function to complement writeBody(AO&). Based on a
449 patch from Lukas Heinrich.
451 * Add configuration of output streams to throw exceptions on
452 bad/fail state (based on patch from Lukas Heinrich).
454 2015-07-01 Andy Buckley <andy.buckley@cern.ch>
456 * 1.4.0 release.
458 2015-06-30 Andy Buckley <andy.buckley@cern.ch>
460 * More tweaks to yodamerge: adding control of S2D merging
461 strategy, and now performing weighted normalized histo merges
462 without reference to an absolute normalization.
464 * Change yodamerge norm-detection heuristic to just look for a
465 ScaledBy attribute rather than fuzzily compare norms.
467 2015-06-26 Andy Buckley <andy.buckley@cern.ch>
469 * Removing add, subtract, and divide functions and operators on
470 Scatter types, and re-implementing Histo and Profile divide
471 functions explicitly rather than via mkScatter. Also removed from
472 the Python interface. The combine() methods remain.
474 2015-06-24 Andy Buckley <andy.buckley@cern.ch>
476 * Adding workaround versions of binAt to all the Python histo
477 types (for some reason the direct mapping that works for bin(i)
478 produces a compile error for binAt(x) :-/
480 2015-06-23 Andy Buckley <andy.buckley@cern.ch>
482 * Renaming, tidying, completing, etc. the Python-mapped methods on Bin1D and Bin2D.
484 * Rename Python Histo2D mean, variance, etc. pair-returning
485 methods to xyMean, xyVariance, etc., to distinguish from Profile2D
486 mean, variance, etc.
488 * Add Python mappings of all the methods below.
490 * Add full set of {x,y}{Mean,Variance,StdDev,StdErr,RMS} to 1D and
491 2D binned distributions.
493 * Add optional includeoverflows=True argument to all binned AO
494 numEntries and effNumEntries.
496 * Fix type of numEntries to always be unsigned long.
498 2015-06-18 Andy Buckley <andy.buckley@cern.ch>
500 * Fix typos in Point3D Python mapping (accidentally trying to get
501 the ptr via _Point2D rather than _Point3D).
503 2015-06-13 Andy Buckley <andy.buckley@cern.ch>
505 * Adding an AnalysisObject::name() method, to return the last part
506 of the path. Mapped into a Python property.
508 * Adding an optional usestddev argument to mkScatter for profile
509 types, so the error bars can represent distribution width rather
510 than uncertainty on the mean. Mapped to Python.
512 2015-06-08 Andy Buckley <andy.buckley@cern.ch>
514 * Adding unpatterns arguments to Python read functions, and
515 auto-conversion from single strings and re.compile()d strs.
517 2015-06-04 Andy Buckley <andy.buckley@cern.ch>
519 * Add binAt(x,y) and binIndexAt(iglobal) Python methods for 2D
520 histos. Still want a way to get and pass a pair of bin indices, I
521 think.
523 * Adding includeoverflows optional args for Histo1D (eff)numEntries.
525 * Adding Rename Histo1D integral() methods as integral(),
526 integralRange(), and integralTo(), and mapping to Python.
528 2015-06-02 Andy Buckley <andy.buckley@cern.ch>
530 * Adding missing binAt and binIndexAt methods to Histo1D and
531 Profile1D, plus other minor Python mapping tweaks.
533 * Add a regex pattern match optional argument to the IO.read()
534 Python functions, for pre-emptive filtering.
536 2015-03-27 Andy Buckley <andy.buckley@cern.ch>
538 * Fix a harmless possibility to raise an FPE exception in the
539 BinSearcher. Thanks to Leif Lonnblad for the discovery, debug and
540 patch!
542 2015-03-19 Andy Buckley <andy.buckley@cern.ch>
544 * Bump version for 1.3.1 release.
546 2015-03-06 Andy Buckley <andy.buckley@cern.ch>
548 * Adding usefocus optional argument to some mkScatter functions, plus the Python bindings.
550 * Cleaning up some Python mappings of 2D histogram bin classes.
552 * Removing mappings of bin-level fill and scale operations in Python.
554 * Fix formatting and error handling in Python Bin and Dbn __repr__ methods.
556 * Add a -i/--in-place option pair on yodascale.
558 2015-02-05 Andy Buckley <andy.buckley@cern.ch>
560 * Convert script matching options to use re search rather than match.
562 * Adding matching options and verbose option to yodals.
564 2015-01-27 Andy Buckley <andy.buckley@cern.ch>
566 * Improvements and additions to ROOTCnv.h routines, particularly
567 to TProfile creation: thanks to Roman Lysak for advice.
569 2015-01-16 Andy Buckley <andy.buckley@cern.ch>
571 * Add convenience YODA/YODA.h header.
573 2015-01-15 Andy Buckley <andy.buckley@cern.ch>
575 * yodascale now uses PointMatcher and can normalize or multiply to
576 abs values or ref histos/bin ranges.
578 2015-01-05 Andy Buckley <andy.buckley@cern.ch>
580 * Adding yoda.matcher Python sub-package with PointMatcher
581 functionality. To be used in Professor 2.0 and in yodascale.
583 * Adding 'scat2' type to yodahist.
585 * Add match/unmatch args to all conversion scripts, via a new Python yoda.script_helpers function.
587 * Script updates, improved docstrings, and improved tab completion.
589 2014-12-10 Andy Buckley <andy.buckley@cern.ch>
591 * Add a yoda.plotting sub-module, based on matplotlib.
593 2014-12-03 Andy Buckley <andy.buckley@cern.ch>
595 * Small build improvements: cleaning test1.root from the yoda2root
596 test, and adding a make target & flag file for mktemplates in
597 pyext/yoda to make sure that it only gets run once.
599 2014-11-25 Andy Buckley <andy.buckley@cern.ch>
601 * Handle overflow filling in binned types without invoking an exception.
603 * Change inRange to have non-fuzzy comparison behaviour.
605 2014-11-11 Andy Buckley <andy.buckley@cern.ch>
607 * Improving/adding __div__ functions in Python for all binned types.
609 * Add std:: prefix to isinf() calls in BinSearcher.h.
610 2014-09-30 Andy Buckley <andy.buckley@cern.ch>
612 * 1.3.0 release!
614 * Use numEntries() rather than effNumEntries() when checking
615 consistency of inputs to efficiency() calculations -- the
616 effNumEntries of a set can be smaller than that of a strict
617 subset, surprisingly!
619 2014-09-17 Andy Buckley <andy.buckley@cern.ch>
621 * Small improvements to yodahist and yodaplot behaviours/UIs.
623 * Adding setX/Y/Z(val, err) methods to Point3D.
625 * Add an efficiency method for 2D histos.
627 * Hide fill and fillBin methods from Python mappings of bin types.
629 2014-09-01 Andy Buckley <andy.buckley@cern.ch>
631 * YODA 1.2.1 release!
633 2014-08-29 Andy Buckley <andy.buckley@cern.ch>
635 * Hide non-const access to bin objects from histogram users:
636 avoids potential for inconsistency between total dbns and in-range
637 bins.
639 * Bug in BinSearcher fixed by Peter Richardson: constructor
640 arguments were passed in the wrong order when constructing a
641 LinEstimator in cases where log binning wouldn't be allowed.
643 2014-08-26 Andy Buckley <andy.buckley@cern.ch>
645 * Add protection against / characters in histo names in yoda2root
646 (thanks to Will Bell for the report and suggested patch).
648 2014-08-17 Andy Buckley <andy.buckley@cern.ch>
650 * Add +=, -=, *-, /=, ++ and -- operators to Counter, along with
651 an (implicit) constructor from a double -- all for user
652 convenience so Counter can be used in lieu of a simple number.
654 2014-08-15 Andy Buckley <andy.buckley@cern.ch>
656 * YODA 1.2.0 release!
658 * Permit +-inf values to be filled into histograms; NaN fills will
659 still explicitly throw an exception.
661 * Add unit tests for Counter, Scatter1D, and Scatter2D, including
662 persistency.
664 * Adding YODA and FLAT format I/O for Scatter1D and Counter (as
665 far as currently possible -- FLAT Counter can't be read due to a
666 #item ambiguity, just like the one between the YODA format Point3D
667 and ProfileBin1D). To be continued...
669 2014-08-14 Andy Buckley <andy.buckley@cern.ch>
671 * Python mappings for Dbn0D and Counter, and other improvements.
673 * Adding val() and err() methods to Counter, and errW() and
674 relErrW() to all DbnXD types.
676 * Adding Scatter1D and Point1D types, with conversion from Counter
677 supported. Both Counter and Scatter1D still need to be supported
678 by YODA persistency.
680 2014-08-11 Andy Buckley <andy.buckley@cern.ch>
682 * Add ROOT version checking to configure. Thanks to Michael Grosse
683 for the report/request.
685 2014-08-05 Andy Buckley <andy.buckley@cern.ch>
687 * Remove all methods not specific about the axis to which they
688 refer, e.g. Histo1D::mean -> xMean. Also remove all related
689 aliases (a nightmare to maintain) and low/highEdge and midpoint
690 functions: use the proper xMin/Max/Mid from now on. This is a
691 significant compatibility breaking API change (and the decision
692 was not taken lightly) so will require a 2nd digit version change.
694 * Lots of adding xMin/Max etc. functions to C++ and Python bin/histo classes.
696 * Compiler pickiness fixes in BinSearcher.
698 * Improvement to linspace, avoiding fuzzyEquals and again making
699 sure that the end value is exact.
701 2014-07-23 Andy Buckley <andy.buckley@cern.ch>
703 * Fix to logspace: make sure that start and end values are exact,
704 not the result of exp(log(x)).
706 * Clean-up, minor improvements, and adding a test for BinSearcher and friends.
708 2014-07-19 Andy Buckley <andy.buckley@cern.ch>
710 * Various consistency improvements and minor bugfixes to Python
711 mapping utils and Dbn and Bin objects.
713 * Fix Axis2D::reset, which was resetting the total dbn and
714 outflows, but not the bins!!! Thanks to Ewen Gillies for the
715 report.
717 2014-07-18 Andy Buckley <andy.buckley@cern.ch>
719 * Add scaleX,Y,Z and scaleXYZ to Point and Scatter classes, and
720 deprecate less explicit/consistent Scatter2D/3D.scale method.
722 2014-07-17 Andy Buckley <andy.buckley@cern.ch>
724 * yodascale now writes out rescaled histograms and profiles rather than scatters.
726 * A few more improvements on Point2D/3D, adding x,y,zMin/Max function mappings.
728 * Add first version of a yodascale script, based on code from Simone Amoroso.
730 2014-07-16 Andy Buckley <andy.buckley@cern.ch>
732 * More Scatter and 2D histo interface improvement.
734 * Remove 'return *this' from Scatter2D/3D add and combine methods.
736 * Add unit test checks for 1D and 2D mkScatter functions.
738 * Improve Scatter2D/3D C++ and Python interfaces.
740 * Add Scatter3D Python mapping.
742 2014-07-15 Andy Buckley <andy.buckley@cern.ch>
744 * Add auto-parsing of yes/no/on/off/true/false as bools in the
745 Python ao.annotation() function.
747 * Add parsing of yodaplot styles from command line args and
748 analysis object annotations.
750 2014-07-12 Andy Buckley <andy.buckley@cern.ch>
752 * Fix infinite recursions in Python wrappers for Point2D and
753 Point3D, and make the Python Point3D interface more standard.
755 * Add yodaplot script for basic plotting, using pgfplots as a backend.
757 2014-07-10 Andy Buckley <andy.buckley@cern.ch>
759 * Add mkScatter(Scatter2D) and mkScatter(Scatter3D) functions and
760 Python mappings: this allows all AOs to be used as args to
761 mkScatter(...) without needing to check if they already are
762 scatters.
764 2014-07-02 Andy Buckley <andy.buckley@cern.ch>
766 * Set y value and/or error to 0 in mkScatter(Histo1D) if an
767 exception is thrown when calculating the appropriate values. Need
768 an optional param to control this error handling behaviour between
769 set-zero and skip-bin?
771 2014-07-01 Andy Buckley <andy.buckley@cern.ch>
773 * Add exception translation to the mkScatter functions.
775 * Add -m/-M match/unmatch options to yodacnv -- useful for
776 filtering histogram file contents in a YODA->YODA conversion.
778 2014-06-24 Andy Buckley <andy.buckley@cern.ch>
780 * Don't complain about merge assumptions if there is only one
781 object with that path name to be 'merged'
783 2014-06-17 Andy Buckley <andy.buckley@cern.ch>
785 * Adding explicit int cast in Python wrapping of numEntries functions.
787 2014-06-13 Andy Buckley <andy.buckley@cern.ch>
789 * Adding yodals script to list data file contents.
791 2014-06-11 David Grellscheid <David.Grellscheid@durham.ac.uk>
793 * pyext/yoda/Makefile.am: 'make distcheck' and out-of-source
794 builds should work now.
796 2014-06-10 Andy Buckley <andy.buckley@cern.ch>
798 * Fix use of the install command for bash completion installation on Macs.
800 2014-06-06 Andy Buckley <andy.buckley@cern.ch>
802 * YODA 1.1.0 release. Middle version number change to reflect API changes w.r.t 1.0.6.
804 * Adding unit tests against ref data for yodamerge in make check.
806 2014-06-04 Andy Buckley <andy.buckley@cern.ch>
808 * Fix silly typos in yodamerge which somehow made it past "make check" testing :-(
810 2014-06-02 Andy Buckley <andy.buckley@cern.ch>
812 * YODA 1.0.7 release. DO NOT USE: prefer 1.1.0, above.
814 2014-05-30 Andy Buckley <andy.buckley@cern.ch>
816 * Removing 'foreach' macro definition and using raw BOOST_FOREACH instead until C++11 is allowed.
818 * Adding pytest-p1d and pytest-p2d tests, and FLAT writing/reading in pytests.
820 * Tweaking WriterFLAT and adding ReaderFLAT functionality for 2D histos and profiles.
822 2014-05-30 Holger Schulz <hschulz@physik.hu-berlin.de>
824 * Some basic (FLAT) write-out capability for 2D histos
826 2014-05-29 Andy Buckley <andy.buckley@cern.ch>
828 * Improvements to the yodahist script, including support for 2D
829 histograms and input files.
831 * Adding bin edges constructors for all 1D and 2D histos in Python.
833 2014-05-22 Andy Buckley <andy.buckley@cern.ch>
835 * Improvements to Profile2D and Point2D interfaces in Python.
837 * Add a single-file at a time yodacnv multi-format converter
838 script (thanks to Andrii Verbytskyi for the suggestion).
840 2014-05-19 Andy Buckley <andy.buckley@cern.ch>
842 * Typo fixes in Profile2D YODA-format parsing: 2D histo tests now pass!
844 * Adding Python tests for Histo2D and Profile2D.
846 * Adding a YODA/Predicates.h header and using it in Axis2D bin edge construction.
848 * Enabling Profile2D writing in various Writers, and a bit of IO code tidying.
850 2014-05-17 Andy Buckley <andy.buckley@cern.ch>
852 * Disable writing out of Histo2D and Profile2D outflows for now,
853 while they are redesigned, and get 2D I/O working for the in-range
854 part.
856 2014-05-14 Andy Buckley <andy.buckley@cern.ch>
858 * Mapping the divide and efficiency functions into the Python
859 interface as class methods, including the __div__ special
860 function.
862 2014-05-13 Andy Buckley <andy.buckley@cern.ch>
864 * Add the AnalysisObject::type() method back in Python (even
865 though type(ao) is more Pythonic, this may be useful)
867 2014-05-06 Andy Buckley <andy.buckley@cern.ch>
869 * Add Profile2D YODA format writing, note need for Scatter format
870 change, add sumXY storage to both 2D histo types.
872 2014-05-03 Andy Buckley <andy.buckley@cern.ch>
874 * Adding YODA reader functionality for Histo2D and Profile2D, but
875 without outflows support yet.
877 2014-04-25 Andy Buckley <andy.buckley@cern.ch>
879 * Adding simple command line yodahist script for quick 1D
880 histogramming from plain text files, with weight support. More
881 development to come!
883 * Mapping linspace, logspace and a few stat functions into Python.
885 2014-04-24 Andy Buckley <andy.buckley@cern.ch>
887 * Fixes, script installation, and detailed numerical comparisons
888 in yodadiff.
890 2014-04-17 Andy Buckley <andy.buckley@cern.ch>
892 * Change AnalysisObject::annotations to return the list of
893 annotation keys rather than the map, since the previous behaviour
894 mapped very badly into Python.
896 2014-04-16 Andy Buckley <andy.buckley@cern.ch>
898 * Add special case handling for 2-arg use of x2y scripts where the
899 second arg is -, for stdin. This will be treated as writing out to
900 stdout, not converting two files one of which is stdin.
902 2014-04-15 Andy Buckley <andy.buckley@cern.ch>
904 * Adding a more portable version of getline to be used in the YODA
905 file parsing to avoid falling over on DOS-produced input files.
907 2014-04-14 Andy Buckley <andy.buckley@cern.ch>
909 * Adding the namespace protection workaround for Boost described
910 at http://www.boost.org/doc/libs/1_55_0/doc/html/foreach.html
912 2014-04-13 Andy Buckley <andy.buckley@cern.ch>
914 * Adding an assumed-equal-run-size, ratio-like merging heuristic
915 for Scatter2Ds to yodamerge, and renaming the --normalize-all flag
916 to --assume-normalized.
918 * Adding and installing a pkg-config data file for YODA.
920 * Rationalising (and fixing?) the yodamerge logic re. user &
921 normalization scalings, and making way for a Scatter2D merging
922 heuristic.
924 2014-03-10 Andy Buckley <andy.buckley@cern.ch>
926 * YODA 1.0.6 release.
928 2014-03-06 Andy Buckley <andy.buckley@cern.ch>
930 * Improvements to AnalysisObject annotation handling in Python.
932 * Adding rescaling arguments to yodamerge (and scale function to Python Scatter2D).
934 * Better documentation and consistency of Histo and Profile Python
935 wrappers, and removing some inappropriate attributes.
937 * Adding clone() and newclone() functions to all analysis object classes.
939 2014-02-28 Andy Buckley <andy.buckley@cern.ch>
941 * Cython mapping improvements, esp. adding numPoints/numBins
942 functions and better Scatter2D __repr__.
944 * Adding mapping of the mkScatter functions into Python (as
945 methods on Histo1D and Profile1D rather than the original free
946 functions, at least for now: some Python type-identifying
947 boilerplate is needed to make a single mkScatter function work in
948 Python)
950 2014-02-27 Leif Lönnblad <Leif.Lonnblad@thep.lu.se>
952 * Minor modifications to BinSearcher to avoid NaN's. The NaN's
953 were treated correctly before, but better to avoid them all
954 together.
956 2014-02-27 Andy Buckley <andy.buckley@cern.ch>
958 * Adding the generated pyext/yoda/rootcompat.cpp to the tarball
959 and sorting out the ROOT/Cython interface conditionals a bit more
960 sanely. Thanks to Oldrich Kepka for the bug report.
962 * Protecting yodamerge against input histograms with zero
963 integrals (thanks to Christian Bierlich for the bug report).
965 2014-02-14 Frank Siegert <frank.siegert@cern.ch>
967 * Fix race condition with mktemplates.
969 2014-02-12 David Grellscheid <david.grellscheid@dur.ac.uk>
971 * Fix bug in mktemplates code (thanks to Christian Johnson for the bug report).
973 2014-02-09 Andy Buckley <andy.buckley@cern.ch>
975 * Adding explicit include/generated dir creation to Python
976 extension build (thanks to Christian Johnson for the bug report).
978 2014-02-06 Andy Buckley <andy.buckley@cern.ch>
980 * 1.0.5 release!
982 2014-02-05 Andy Buckley <andy.buckley@cern.ch>
984 * Adding patches to ReaderFLAT and ReaderYODA use of Boost Spirit
985 which reduce the Boost version requirement from 1.47 ->
986 1.41. Thanks to Andrii Verbytskyi for the patch.
988 * Protect against invalid prefix value if the --prefix configure option is unused.
990 2014-02-04 Andy Buckley <andy.buckley@cern.ch>
992 * Adding copy assignment operators where missing, based on an
993 implementation in AnalysisObject which only copies rvalue paths
994 and titles if they are non-null.
996 2014-02-03 Andy Buckley <andy.buckley@cern.ch>
998 * Improving (i.e. increasing) bin edge overlap tolerance: 1e-10 relative was too tight.
1000 2014-01-31 Andy Buckley <andy.buckley@cern.ch>
1002 * Adding x/yMid etc. methods on Bin1D and 2D, and more related Python API improvements.
1004 2014-01-28 Andy Buckley <andy.buckley@cern.ch>
1006 * Adding missing fillBin methods to 1D and 2D Histo/Profile Python classes.
1008 * Fixed yodamerge default output file name treatment.
1010 * Avoid computing an unrecoverable error in Histo1D.__repr__
1012 * Clean-ups and API improvements in Python IO functions.
1014 * Adding more sumW,W2 and (eff)NumEntries attrs to Python objects.
1016 2013-12-17 Andy Buckley <andy.buckley@cern.ch>
1018 * Improved argument handling for x2y scripts.
1020 2013-11-16 Andy Buckley <andy.buckley@cern.ch>
1022 * Fix to build the Cython rootcompt extension .cpp on request.
1024 2013-11-14 Andy Buckley <andy.buckley@cern.ch>
1026 * Adding flags for the C++11 or C++0x standard if supported, cf. Rivet.
1028 2013-10-24 Andy Buckley <andy.buckley@cern.ch>
1030 * YODA 1.0.4 release.
1032 * Supporting zsh completion via bash completion compatibility.
1034 2013-10-21 Andy Buckley <andy.buckley@cern.ch>
1036 * Removing unused internal iterator typedefs from Writer functions.
1038 2013-10-18 Andy Buckley <andy.buckley@cern.ch>
1040 * Adding a yodaenv.sh sourceable script to help with environment setup.
1042 * Remove Scatters from being handled by yodamerge by blocking the
1043 __add__ method fallback.
1045 2013-10-09 Andy Buckley <andy.buckley@cern.ch>
1047 * Improvements to yoda-config and command-line completion, for the
1048 Rivet 2.0.0 release.
1050 2013-10-09 Andy Buckley <andy.buckley@cern.ch>
1052 * Version 1.0.3 release.
1054 2013-10-04 Andy Buckley <andy.buckley@cern.ch>
1056 * Cython mapping improvements.
1058 * Adding some improved heuristics and a --normalize-all option to
1059 yodamerge. Frank S is now happy again ;-)
1061 2013-10-01 Andy Buckley <andy.buckley@cern.ch>
1063 * Adding operator +, -, +=, -= Python mappings wherever possible
1064 for Histo1/2D, Profile1/2D, and Scatter2D.
1066 2013-09-26 Andy Buckley <andy.buckley@cern.ch>
1068 * Cython is no longer needed by tarball users.
1070 2013-09-25 Andy Buckley <andy.buckley@cern.ch>
1072 * Unset path of returned histogram if those of the args to add()
1073 and subtract() are difference.
1075 2013-09-24 Andy Buckley <andy.buckley@cern.ch>
1077 * Python mapping improvements.
1079 2013-09-23 Andy Buckley <andy.buckley@cern.ch>
1081 * Add the -avoid-version flag to libtool.
1083 * Adding more add and subtract special methods in Python.
1085 2013-09-22 Andy Buckley <andy.buckley@cern.ch>
1087 * mkScatter schanged to use histo midpoints rather than focuses by
1088 default for the point x value.
1090 2013-08-14 Andy Buckley <andy.buckley@cern.ch>
1092 * Version 1.0.2.
1094 * Some exception message improvements and improving the protection
1095 of cosmetic mean calculations in WriterYODA.
1097 2013-07-12 Andy Buckley <andy.buckley@cern.ch>
1099 * Adding ROOT detection in configure and otherwise updating Dave's
1100 rootcompat module so that it'll compile. There might be an
1101 inconvenient ROOT version dependency in the signature of one of
1102 the PyROOT API functions that is used as a shim :-(
1104 2013-06-17 Andy Buckley <andy.buckley@cern.ch>
1106 * Adding yoda.m4 from James Robinson.
1108 2013-06-06 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1110 * Improve "==" operator in Axis1D and Axis2D
1112 2013-06-06 Andy Buckley <andy.buckley@cern.ch>
1114 * Adding fillBin() methods to all 1D and 2D histos, and noting
1115 that Bin types need a back-link to their axis to maintain
1116 consistency.
1118 * Release of version 1.0.1
1120 2013-06-05 Andy Buckley <andy.buckley@cern.ch>
1122 * Change the divide(Scatter, Scatter) behaviours to use the
1123 midpoint of the num/denom bins rather than mean of foci for the
1124 output point position (and hence errors, too).
1126 * Adding a toIntegralEfficiencyHisto function.
1128 * Adding another Histo1D::integral() function, this time from 0 ->
1129 i, maybe including the underflow.
1131 2013-06-04 Andy Buckley <andy.buckley@cern.ch>
1133 * Updating the Cython version requirement to 0.18
1135 2013-06-03 Andy Buckley <andy.buckley@cern.ch>
1137 * Adding relErr functions to 1D and 2D histo and profile bins, and
1138 being careful about div by zero.
1140 * Improvements in error treatment in division (better handling of zeros).
1142 * Renaming merge-histos to yodamerge and installing it (and
1143 improving the usage string a bit).
1145 2013-05-31 Andy Buckley <andy.buckley@cern.ch>
1147 * Adding the Counter type, and ability to output it from the YODA writer.
1149 * Adding numEntries and effNumEntries methods to 1D and 2D Histo
1150 and Profile classes.
1152 * Adding Dbn0D and using it to implement Dbn1D.
1154 2013-05-30 Andy Buckley <andy.buckley@cern.ch>
1156 * Fixing several nasty errors in argument ordering for
1157 Point{1,2,3}D construction in Scatter addPoint functions.
1159 * Adding abs(...) to the returned Dbn1D::variance(), to avoid
1160 problems when negative weights produce negative variance. No, we
1161 don't like this either: is there a more correct way?
1163 * Fixing the efficiency(Histo1D, Histo1D) implementation,
1164 cf. http://root.cern.ch/phpBB3/viewtopic.php?t=3753
1166 * Adding mkScatter(Profile2D)
1168 2013-05-29 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1170 * Adding a reader for FLAT files and a flat2yoda converter
1172 2013-05-27 Andy Buckley <andy.buckley@cern.ch>
1174 * Adding a yoda-completion file for bash.
1176 2013-05-17 Andy Buckley <andy.buckley@cern.ch>
1178 * Mapping HistoBin1D.relErr in Python.
1180 * Adding a non-const points() accessor to Scatter2D.
1182 2013-05-13 Andy Buckley <andy.buckley@cern.ch>
1184 * Adding combined value+error setX/Y functions on Point2D.
1186 * Adding HistoBin1D::relErr()
1188 2013-04-23 Andy Buckley <andy.buckley@cern.ch>
1190 * Adding Python output handling for single AOs and to be able to
1191 use a "-" filename to mean stdout.
1193 2013-04-12 Andy Buckley <andy.buckley@cern.ch>
1195 * Releasing version 1.0.0 -- it seems stable enough.
1197 2013-04-10 Andy Buckley <andy.buckley@cern.ch>
1199 * Being more careful about adding -Wno-* flags to the C++ compiler
1200 used to built the Cython extension lib.
1202 2013-03-22 Andy Buckley <andy.buckley@cern.ch>
1204 * Removing the use of svn:external to pull in Boost macros and
1205 using a minimal local set instead.
1207 * Using the nice Boost-finding macros from
1208 https://github.com/tsuna/boost.m4 and tidying up configure.ac
1210 2013-03-15 Andy Buckley <andy.buckley@cern.ch>
1212 * Re-organising the C++ side of the auto-format I/O functions,
1213 into a new IO header and separated from the Reader.h and
1214 Writer.h. I'm tempted to say that users shouldn't really NEED to
1215 ever directly touch the Reader and Writer objects...
1217 * Adding auto-format read and write functions. I will probably
1218 change the API. Python mappings have been provided, but the string
1219 workarounds were too much of a pain with Cython 0.16 so I have
1220 updated the Cython version requirement to 0.17 where it is
1221 automatic and hence much cleaner.
1223 2013-03-08 Andy Buckley <andy.buckley@cern.ch>
1225 * Making the x2y converter scripts write a copy into the *current*
1226 directory if only the input is specified.
1228 2013-03-05 Andy Buckley <andy.buckley@cern.ch>
1230 * Removing Plot entirely from YODA: it was an anomaly only added
1231 to make plot file generation easy, but this is now done better via
1232 StringIO (in new compare-histos/rivet-cmphistos).
1234 * Removing the Plot from Cython... and soon from YODA itself:
1235 we'll do this stuff manually and less hackily.
1237 * Make Cython automatically add a copy of the original call
1238 signature to each function's docstring.
1240 2013-03-04 Andy Buckley <andy.buckley@cern.ch>
1242 * Adding Plot mapping to Cython and improving the AO annotations handling in Python.
1244 * Adding PLOT section writing to WriterFLAT (and WriterYODA,
1245 although that might be a bad idea...)
1247 * Adding aida2yoda and aida2flat converter scripts.
1249 2013-02-02 David Mallows <dave.mallows@gmail.com>
1251 * Adding support for Python >= 2.4 (was Python >= 2.6)
1253 * Fixing miscellaneous warnings on GCC 4.1
1255 2013-01-30 Andy Buckley <andy.buckley@cern.ch>
1257 * Adding a points() method to the Python Scatter2D wrapper.
1259 * Adding a virtual destructor to Bin.
1261 2012-12-30 Andy Buckley <andy.buckley@cern.ch>
1263 * Adding support for Boost.Range arguments and file format autodetection in Writer.
1265 2012-11-24 Andy Buckley <andy.buckley@cern.ch>
1267 * Bump version to 0.6beta0
1269 * Adding more ROOT converters. Who knows how to make TProfiles
1270 from scratch, but Histo1D and Scatter2D are covered, which should
1271 be enough to get started with, at least.
1273 2012-11-16 Andy Buckley <andy.buckley@cern.ch>
1275 * Adding yoda-config
1277 2012-11-16 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1279 * Adding WriterFLAT and yoda2flat
1281 2012-11-16 Andy Buckley <andy.buckley@cern.ch>
1283 * Adding YODA/ROOTCnv.h. for data object converter functions. Two
1284 (untested) functions added for TH1 -> YODA.
1286 * Adding toIntegralHisto(Histo1D&) function.
1288 2012-11-15 Dave Mallows <dave.mallows@gmail.com>
1290 * Commited numerous changes to Axis2D. Axis2D now uses BinSearcher as
1291 with Axis1D.
1293 2012-11-15 Andy Buckley <andy.buckley@cern.ch>
1295 * Improving division and efficiency treatments, and allowing
1296 arbitrary f(x), f(y), and flip transformations on Scatter2D.
1298 2012-11-14 Andy Buckley <andy.buckley@cern.ch>
1300 * Converting linspace, logspace, and their usage to place the nbins argument first.
1302 2012-08-07 Andy Buckley <andy.buckley@cern.ch>
1304 * Removing unused (beyond 2nd order) sumWXYZ counter from Dbn3D.
1306 2012-08-07 Dave Mallows <dave.mallows@gmail.com>
1308 * Converted Axis1D to use new Utils/BinSearcher.
1310 2012-08-02 Dave Mallows <dave.mallows@gmail.com>
1312 * Heavily refactored Cython bindings
1314 * HistoBin1D, ProfileBin1D etc. now inherit from Bin1D[DBN]
1316 * Temporarily removed Histo2D, Profile2D and Scatter3D mappings.
1318 2012-07-23 Andy Buckley <andy.buckley@cern.ch>
1320 * Installing scripts from bin dir, and making the yoda2aida interface nicer.
1322 * Adding Cython mappings for Dbn3D and Profile2D, and other fixes/improvements.
1324 2012-07-22 Andy Buckley <andy.buckley@cern.ch>
1326 * Adding Cython mappings for Scatter3D and ProfileBin2D.
1328 * Fixing more crap code legacy from old 2D plot implementation, this time in Scatter3D.
1330 2012-07-19 Andy Buckley <andy.buckley@cern.ch>
1332 * Adding stdErr for Histo2D + Python mapping, and more Cython improvements.
1334 * Adding path/title-only AO constructors and making nice Python constructor for Histo2D.
1336 * Cython mapping improvements & additions for Point3D + Scatter3D.
1338 * Removing mixed symm/asymm constructors on Point*D & Scatter*D classes.
1340 2012-07-12 Andy Buckley <andy.buckley@cern.ch>
1342 * Reintroducing Profile2D and Scatter3D.
1344 * Adding axis locking to Axis2D.
1346 * Supporting Histo2D in WriterYODA.
1348 2012-07-02 Andy Buckley <andy.buckley@cern.ch>
1350 * More incremental progress toward a working 2D bin hash mechanism.
1352 2012-05-03 Andy Buckley <andy.buckley@cern.ch>
1354 * Adding nice constructor behaviours to the Histo1D and Profile2D
1355 Python interfaces, and adding the mkScatter operation for
1356 Profile1D.
1358 * Adding more default constructors for analysis objects, to allow
1359 member variable and STL container use without pointers.
1361 2012-05-02 Andy Buckley <andy.buckley@cern.ch>
1363 * A much simplified and more robust rewrite of the Axis1D class,
1364 just using STL map in place of the hand-written bin edge caching.
1366 * Improvements (I hope) to the binary search in Axis1D, and
1367 providing an experimental default constructor for Histo1D.
1369 2011-12-08 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1371 * ReaderYODA can now parse Histo1D and Profile1D flat files
1373 2011-12-08 Andy Buckley <andy.buckley@cern.ch>
1375 * Adding a Utils::ndarray object and using it to implement a
1376 general Scatter<N> system, with generalised Point<N> and Error<N>
1377 to boot.
1379 2011-12-07 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1381 * Lots of cleanup
1383 2011-12-07 Andy Buckley <andy.buckley@cern.ch>
1385 * Mapping the Dbn1D and Dbn2D classes into Python.
1387 * Adding an outflows() accessor to Histo2D.
1389 * Writing out total dbn lines for Histo1D and Profile1D in the
1390 YODA format, and now writing out the 'cross-terms' for Profile1D,
1391 too.
1393 * Properly adding Dbn1D accessors for Histo1D.
1395 * Updating the Cython mappings to provide the totalDbn() methods
1396 and add a placeholder mapping for Dbn2D. Completed mappings are
1397 needed for Dbn{1,2,3}D and the Profile types.
1399 * Adding totalDbn() accessors to data types.
1401 2011-12-06 Andy Buckley <andy.buckley@cern.ch>
1403 * Making Histo1D/2D::scaleW() write a ScaledBy annotation.
1405 * Adding annotation-fetching methods with a default return value
1406 argument to AnalysisObject.
1408 * Adding normalize() methods to Histo1D/2D.
1410 * Adding weighted RMS calculating methods to Dbn1D, Dbn2D and
1411 Bin1D/2D.
1413 2011-09-03 Dave Mallows <dave.mallows@gmail.com>
1415 * Fixed ReaderAIDA: x-value and low y-error interchanged when filling
1416 Scatter2D.
1418 * Changed to Cython for Python bindings: Swig bindings were in need of
1419 serious amounts of work. Cython should provide a means to provide more
1420 Pythonic bindings to YODA. A minimal subset of ReaderAIDA, Scatter2D
1421 and Point2D have been wrapped.
1423 * Modified configure.ac, Makefile.am and pyext/Makefile.am to reflect
1424 change to Cython. Added cython.m4 from python-efl (Part of the
1425 enlightenment project; LGPL)
1427 2011-08-31 Dave Mallows <dave.mallows@gmail.com>
1429 * Fixed python tests by installing python extension to pyext/build
1431 2011-08-23 Andy Buckley <andy@insectnation.org>
1433 * Adding rebinning interface to Histo1D and Profile1D, and adding
1434 a test (and a new test feature for output message formatting)
1436 * Adding first implementation of 1D bin merging to Axis1D.
1438 2011-08-22 Andy Buckley <andy@insectnation.org>
1440 * Adding copy constructors and assignment operators to Histo1D,
1441 Profile1D, and Scatter2D, and their respective bins/points.
1443 * Remove use of sign(weight) in filling sum(w2) -- I think this
1444 was an historical attempt based on a scaling axiom which turned
1445 out to be inappropriate.
1447 * Reworking the Bin1D inheritance and composition design so that
1448 all bin types store a single distribution object -- a Dbn1D for
1449 histo bins and a Dbn2D for profile bins.
1451 2011-08-18 Andy Buckley <andy@insectnation.org>
1453 * Removing the Profile1D -> ProfileBin1D friendship. This is very
1454 heartening -- the fewer friend declarations we need, the more
1455 indication that the class structure is not pathological! (Or that
1456 we've just made everything public... but we haven't)
1458 2011-08-15 Andy Buckley <andy@insectnation.org>
1460 * Inlining all functions in HistoBin1D, ProfileBin1D, and
1461 HistoBin2D.
1463 * Converting Dbn2D to be composed of two Dbn1Ds and a
1464 cross-term. Also tidying the interfaces of the 2D classes and the
1465 scaleX/Y methods throughout, and adding Doxygen comments.
1467 2011-08-12 Andy Buckley <andy@insectnation.org>
1469 * Adding proper Doxygen structures and full descriptive comments
1470 to Dbn2D.
1472 * Adding the persistency state-setting constructors for Profile1D
1473 and Dbn2D.
1475 * Inlining lots of methods on Dbn1D. Same should be done for
1476 Dbn2D, but first it needs to be reimplemented in terms of two
1477 Dbn1Ds + the cross-term.
1479 2011-08-11 Andy Buckley <andy@insectnation.org>
1481 * Various typo fixes and comments relating to persistency
1482 constructors, Histo2D slicing, etc.
1484 * Changing the HistoBin1D state-setting constructors (aargh, these
1485 should *not* have already existed) to take Dbn1D as an argument
1486 rather than a long list of doubles.
1488 2011-08-01 Andy Buckley <andy@insectnation.org>
1490 * Adding tests to check that implicit construction of Weights
1491 objects from literal doubles and ints works.
1493 2011-07-28 Andy Buckley <andy@insectnation.org>
1495 * Bumping version number to 0.4.0beta0 -- there have been
1496 substantial changes recently and YODA is now in a state where it
1497 should be interesting for outsiders to start playing with it.
1499 * Templating the Axis1D on the distribution type to be used for
1500 total and under/overflow statistics: Profile1D now has Dbn2D
1501 objects handling its total and overflow statistics.
1503 2011-07-26 Andy Buckley <andy@insectnation.org>
1505 * Added a Histo1D::integral(index1, index2) method. Not sure how
1506 or if to extend this to Profile1D.
1508 * Implementing incomplete Scatter2D operator+ and operator-
1509 functions.
1511 2011-07-25 Andy Buckley <andy@insectnation.org>
1513 * Adding a Weights class, designed to seamlessly replace
1514 double-type weights and weighted moments with a named and
1515 vectorised form.
1517 2011-07-19 Andy Buckley <andy@insectnation.org>
1519 * Add Profile1D and Scatter2D division operators.
1521 * Add xMin/xMax synonyms to the Axis1D, cf. the bins.
1523 2011-07-18 Andy Buckley <andy@insectnation.org>
1525 * Add a first stab at a Histo1D/Histo1D division operator.
1527 2011-07-10 Andy Buckley <andy@insectnation.org>
1529 * Add construction of Histo1Ds from Profile1D and Histo1D, and
1530 construction of Profile1Ds from those and Scatter2D.
1532 2011-07-07 Andy Buckley <andy@insectnation.org>
1534 * Add construction of a Histo1D from Scatter2D.
1536 2011-06-15 Andy Buckley <andy@insectnation.org>
1538 * Making the AIDA reader work, including reading of annotations
1539 and a few tweaks to the simple type persistency system. Test histo
1540 1b updated.
1542 2011-06-12 Andy Buckley <andy@insectnation.org>
1544 * Removing Histo1D::area
1546 * Filling and using under/overflow and total db on Histo1D, and
1547 adding boolean arg to integral, sumW, etc.
1549 * Fixing for C++ change in behaviour of std::make_pair
1551 * Adding addAnnotation, and mapping annotations to Python.
1553 2011-02-22 Andy Buckley <andy@insectnation.org>
1555 * Use distutils rather than setuptools for the Python interface
1556 build.
1558 * Renaming Bin, HistoBin and ProfileBin to be Bin1D, HistoBin1D,
1559 ProfileBin1D. Bin is now a top-level abstract class with minimal
1560 functionality to be shared between 1D and 2D bins.
1562 2011-01-12 Andy Buckley <andy@insectnation.org>
1564 * Type annotations in mkScatter
1566 * Added many vector constructors and addPoint functions to
1567 Scatter2D.
1569 2011-01-11 Andy Buckley <andy@insectnation.org>
1571 * Add lexical_cast support to annotation get and set functions.
1573 * Write out annotations in AIDA format, and copy annotations in
1574 mkScatter -- using a new AnalysisObject::setAnnotations method.
1576 * Convert DPS output to use interim Scatter construction
1578 * Make (unused) yoda.plot subpackage.
1580 * Write out annotations in YODA format.
1582 * Make Scatter2D representations of Histo1D and Profile1D.
1584 * Write out Scatter2D objects in AIDA and YODA formats.
1586 * Make Scatter2D and Point2D work. Add a few extra
1587 methods... evolution and tweaking required.
1589 2011-01-10 Andy Buckley <andy@insectnation.org>
1591 * Add Boost checks and header includes. Not used yet.
1593 * Hide Utils:: content from Doxygen and nvector -> Utils::nvector.
1595 * Removing unused YAML stuff: we aren't going that way for
1596 persistency anymore.
1598 * Renaming Axis -> Axis1D
1600 * Removing dead-end templated Scatter stuff.
1602 * Move (generated) config files into the Config subdir.
1604 * Move sortedvector and indexedset into the Utils dir.
1606 * Move the "utils" directory and namespace to "Utils"
1608 * Put the Doxyfile under configure control by moving it to
1609 Doxyfile.in and using the @PACKAGE_VERSION@ token.
1611 * Make Doxygen find the .icc file and hide functions with name _*
1612 and in the YAML namespace.
1614 * Removing the Binning argument and enum in favour of explicit bin
1615 edge vectors, possibly produced explicitly via the MathUtils
1616 linspace and logspace functions, or the new Axis::mkBinEdgesLin/Log
1617 alias functions.
1619 * Fixed Axis, Histo1D and Profile1D constructors, by adding a path
1620 argument, passing the path and title args to the AnalysisObject
1621 base constructor properly.
1623 * Removed several old and unused files such as Tree.h
1625 2011-01-09 Andy Buckley <andy@insectnation.org>
1627 * Updating copyright comments to be valid into 2011.
1629 * Persistency fixes, and changing the interface to use the annotated path.
1631 * Using annotations for path and title.
1633 * Adding tests of collection and iterator range AO writing.
1635 * Adding static write functions on Writer*.h implementations to
1636 avoid needing to make an explicit Writer object via the create()
1637 functions.
1639 * Rename Exception.h -> Exceptions.h
1641 * Added AnnotationError.
1643 * Re-enable persistency of collections with begin/end iterators.
1645 2011-01-08 Andy Buckley <andy@insectnation.org>
1647 * Enabling quiet compilation.
1649 * More annotation functionality.
1651 2011-01-07 Andy Buckley <andy@insectnation.org>
1653 * Sorting out autoheaders to be more useful.
1655 * Rewriting AIDA writer to use DPS representation (no reloading)
1656 for Histo1D and Profile1D objects.
1658 * Adding persistency system hooks, since RTTI just sucks too much.
1660 * Renaming test files to have more meaningful names.
1662 2010-12-10 Andy Buckley <andy@insectnation.org>
1664 * Some tweaks to Axis, Bin, etc. to use the sortedvector. Seems to
1665 be working! (I must be checking it wrongly...)
1667 * Adding another candidate object for the axis bin container: a
1668 sorted extension to STL std::vector with an insert method. This
1669 will do as a development placeholder: a proper sorted & indexed
1670 container may be substituted later.
1672 * Fix test code: titles are no longer given as histogram
1673 constructor arguments.
1675 2010-11-21 Andy Buckley <andy@insectnation.org>
1677 * Adding indexed set for holding bins on axes. Still not sure it's
1678 what we want, as (I just realised) STL sets are iterator-immutable
1679 because they are self-keyed and changes to elements would also
1680 change their sorting.
1682 2010-09-19 Andy Buckley <andy@insectnation.org>
1684 * Restarting ChangeLog contributions! Many changes in the huge
1685 time since last update... activity on YODA has renewed and we have
1686 a better picture of the distinctive features we require. New idea:
1687 named weight vector filling, allowing "parallel" histograms for
1688 various event weight variations. I/O remains an awkward issue,
1689 especially since the classes are now much richer than they used to
1690 be, and don't know about paths. Output can be easily put on top:
1691 not an issue... and we can probably do something with
1692 pickling. But reading in from C++?
1694 2008-09-16 Andy Buckley <andy@insectnation.org>
1696 * Moved duplicate Histo1D/Profile1D code on to Axis, making Axis a
1697 templated class at the same time.
1699 2008-09-12 Andy Buckley <andy@insectnation.org>
1701 * Started work on a little plotting tool, initially for Herwig++
1702 parton pT cut testing, but incrementally enhancing it to be a
1703 command-line quick plotter seems like a good idea.
1705 * Added some more test programs... working towards a proper test
1706 suite.
1708 * Added "no path & title" constructors - you don't always want to
1709 write out the histo, since sometimes it's just a good way to
1710 gather statistics.
1712 * Fixed YODA mapping to allow use of vectors of bins as Python
1713 lists.
1715 * Added Profile1D functionality.
1717 * Fixed Dbn1D to use sign(weight) as part of the "w**2" measure,
1718 so that negative weights behave themselves.
1720 2008-05-23 Andy Buckley <andy@insectnation.org>
1722 * Added Dbn1D class to centralise the calculation of statistics
1723 from unbounded, unbinned, weighted distributions.
1725 2008-05-15 Andy Buckley <andy@insectnation.org>
1727 * Added Profile1D class.
1729 * Fixed NaN errors from zero weights.
1731 2008-04-14 Andy Buckley <andy@insectnation.org>
1733 * Python SWIG interface now compiles and can be used: the subtlety
1734 that was breaking it was that SWIG has to be prodded in pretty
1735 non-obvious ways to make std::vectors of classes without
1736 default (no-arg) constructors. See
1737 http://osdir.com/ml/programming.swig/2004-04/msg00011.html for
1738 about the only reference to this to be found anywhere!
1740 * Basic AIDA writer now available - it doesn't yet output all the
1741 necessary information though, especially not for merging parallel
1742 runs.