yoda

view ChangeLog @ 1457:8835035bd832

Fix Python version check
author Andy Buckley <andy@insectnation.org>
date Wed, 16 May 2018 15:05:44 +0100
parents d28157085e5a
children
line source
1 2018-05-02 Andy Buckley <andy.buckley@cern.ch>
3 * StringUtils.h: Replace std::ptr_fun (removed in C++17) with a lambda function. Thanks to Stefan Richter.
5 2018-04-30 Andy Buckley <andy.buckley@cern.ch>
7 * Add "-" = stdin/stdout recognition to C++ IO functions.
9 * Convert remaining Python read/write methods to use the C++ IO functions.
11 * Convert Python read/write methods with filename arguments to use the gzip-aware IO functions.
13 2018-04-27 Andy Buckley <andy.buckley@cern.ch>
15 * Fix missing lock=false flag initialisation in Histo2D constructor from a Bins vector.
17 * Improve axis locking error messages.
19 2017-12-21 Andy Buckley <andy.buckley@cern.ch>
21 * Version 1.7.0 release
23 2017-12-11 Andy Buckley <andy.buckley@cern.ch>
25 * Add Nentries printout to yodals -v
27 2017-09-18 Andy Buckley <andy.buckley@cern.ch>
29 * Patches for ROOT conversion from Robert Hatcher -- thanks!
31 2017-09-16 Andy Buckley <andy.buckley@cern.ch>
33 * Add YODA format version annotation, at version 2, and update
34 YODA reader to use version info and multiline YAML EOF marker.
36 * Write YODA annotations in YAML with a --- YAML break-line.
38 2017-09-14 Andy Buckley <andy.buckley@cern.ch>
40 * Enable compressed writing from Python.
42 2017-09-13 Andy Buckley <andy.buckley@cern.ch>
44 * Remove UNUSED macro in favour of anonymous args.
46 * Enable zipped writing... but only works from C++ so far.
48 2017-09-11 Andy Buckley <andy.buckley@cern.ch>
50 * Add HistoBin2D::area(), and provide a default normto=1.0
51 argument on the Python Histo2D.normalize() method.
53 2017-09-04 Andy Buckley <andy.buckley@cern.ch>
55 * Change license explicitly to GPLv3, cf. MCnet3 agreement.
57 * Parse YODA format AO headers as YAML (restriction to single-line dict entries for now).
59 2017-08-24 Andy Buckley <andy.buckley@cern.ch>
61 * Use a slightly enhanced fast numeric parser in ReaderYODA (taken
62 from LHAPDF, originally inspired by Gavin Salam).
64 * Add an UNSCALE spec option to yodascale, to undo ScaledBy effects.
66 2017-08-19 Andy Buckley <andy.buckley@cern.ch>
68 * Add optional zlib support via zstr -- massive thanks to Dmitry
69 Kalinkin for the lovely patch!
71 2017-08-16 Andy Buckley <andy.buckley@cern.ch>
73 * Fix setVal(i, x) numbered-axis methods on Point2D and Point3D:
74 switch break statements were missing.
76 * Explicitly load all ROOT objects as a list rather than
77 generator. Patch from Dmitry Kalinkin.
79 2017-07-24 Andy Buckley <andy.buckley@cern.ch>
81 * Improvements to yodaplot, including two operating modes: the
82 default CMP mode is suitable for plotting histos by path, from raw
83 .yoda files.
85 * Update yoda.plotting functions to treat plot-keys as args and AO
86 annotations via case-insensitive keys.
88 * Add annotationsDict to the Python AO interface.
90 * Add AO as an alias for AnalysisObject.
92 2017-07-23 Andy Buckley <andy.buckley@cern.ch>
94 * Add parallel/compatibility yoda1 package to aid eventual transition to YODA v2.
96 2017-07-22 Andy Buckley <andy.buckley@cern.ch>
98 * Add x,y,zMins and Maxs to all 1D data types and scatters (and
99 x,yMin/Max to the scatters) -- Python interface only.
101 * Rework some of the yoda.plotting tools, making it a bit more
102 compatible with user-scripted matplotlib.
104 2017-07-18 Andy Buckley <andy.buckley@cern.ch>
106 * Add convenience aliases H1D, H2D, P1D, P2D, and S1D, S2D, S3D
107 for the HistoXD, ProfileXD, and ScatterXD classes respectively.
109 2017-07-08 Andy Buckley <andy.buckley@cern.ch>
111 * Add xyVals/Errs and other 'bin array property' accessors to the
112 Python Histo1D and Profile1D types: important for connection to
113 matplotlib.
115 2017-06-28 Andy Buckley <andy.buckley@cern.ch>
117 * Use Python natsort library to sort yodals output if available.
119 2017-06-18 Andy Buckley <andy.buckley@cern.ch>
121 * Version 1.6.7 release.
123 2017-05-12 Andy Buckley <andy.buckley@cern.ch>
125 * pyext/yoda/rootcompat.pyx: Fix ordering of TH1 vs. TProfile
126 conversion -- TProfile *is* a TH1, so we have to test for the more
127 specific type-match first. Thanks to Dmitry Kalinkin for the
128 patch.
130 2017-05-02 Andy Buckley <andy.buckley@cern.ch>
132 * Add static Reader methods to match the Writer ones.
134 2017-02-23 Andy Buckley <andy.buckley@cern.ch>
136 * Fix Histo2D and Profile2D total distribution reading from YODA format.
138 2017-02-19 Holger Schulz <holger.schulz@durham.ac.uk>
140 * Convert TH1F to TH1D in root2flat. Much simpler than duplicating
141 the TH1D stuff in pyext.
143 2016-12-13 Andy Buckley <andy.buckley@cern.ch>
145 * Version 1.6.6 release.
147 2016-12-12 Holger Schulz <holger.schulz@durham.ac.uk>
149 * Bugfixes in Cython bins accessors for Histo2D.
151 2016-11-17 Leif Lonnblad <leif.lonnblad@thep.lu.se>
153 * Fixed warning messages about the obsoleteness of AIDA so that the scripts actually still work.
155 2016-09-28 Andy Buckley <andy.buckley@cern.ch>
157 * Version 1.6.5 release, for the benefit of ROOT fans.
159 * Fix handling of --enable/disable-root configure options.
161 2016-09-26 David Grellscheid <david.grellscheid@durham.ac.uk>
163 * Improvements to Cython version testing.
165 2016-09-25 Andy Buckley <andy.buckley@cern.ch>
167 * Version 1.6.4 release.
169 2016-09-20 David Grellscheid <david.grellscheid@durham.ac.uk>
171 * Remove aliases for @property functions. They were scheduled for
172 removal anyway, and don't work with Cython >= 24.
174 2016-09-06 Andy Buckley <andy.buckley@cern.ch>
176 * Update configure scripts to use newer (Py3-safe) Python testing
177 macros.
179 2016-08-09 Andy Buckley <andy.buckley@cern.ch>
181 * Version 1.6.3 release!
183 2016-07-22 Andy Buckley <andy.buckley@cern.ch>
185 * Add 'add' modes for scatter combination to yodamerge.
187 * Fix yodamerge scatter averaging to use the first AO.
189 2016-07-21 Andy Buckley <andy.buckley@cern.ch>
191 * Add --type-mismatch-mode flag and fallback logic to yodamerge.
193 * Fix yodamerge logic to handle cases where an AO only appears once.
195 2016-07-19 Andy Buckley <andy.buckley@cern.ch>
197 * Deprecate flat2yoda script and add warning output to it and the AIDA conversion scripts.
199 * Add a convenience yoda2yoda script.
201 2016-07-14 Andy Buckley <andy.buckley@cern.ch>
203 * Try to build PyROOT interface by default, if root-config is found.
205 2016-07-11 Andy Buckley <andy.buckley@cern.ch>
207 * Remove accidentally remaining reference to Boost flags in yoda-config.
209 2016-07-06 Andy Buckley <andy.buckley@cern.ch>
211 * Version 1.6.2 release!
213 2016-07-05 Andy Buckley <andy.buckley@cern.ch>
215 * Pass the toNewScatter3D() scalebyarea flag to the called toScatter3D() functions.
217 2016-06-06 Andy Buckley <andy.buckley@cern.ch>
219 * Re-enable the disabled-for-some-reason Scatter1D combineWith Python mappings.
221 2016-04-28 Andy Buckley <andy.buckley@cern.ch>
223 * Version 1.6.1 release!
225 * Add a unit test for annotation handling correctness.
227 * Fix numerical precision of string storage of floating-point attributes.
229 * Fix a bug in use of the replacement for lexical_cast.
231 2016-04-20 Andy Buckley <andy.buckley@cern.ch>
234 * Version 1.6.0 release!
236 2016-04-16 Andy Buckley <andy.buckley@cern.ch>
238 * Extend SFINAE craziness to allow writing of any object
239 (e.g. smart pointer) that can be dereferenced to something that
240 has AnalysisObject as its base class... and also to any container
241 of them! Amazing what you can do with C++11!
243 2016-04-14 Andy Buckley <andy.buckley@cern.ch>
245 * Add a few consts to the arguments in Scatter error setting via pairs.
247 * Fix double-writing of minus errors in WriterYODA for Scatter1D
248 and Scatter3D. Thanks to Graeme Watt for the report and fix.
250 2016-04-12 Andy Buckley <andy.buckley@cern.ch>
252 * Remove Boost dependency and require C++11 compilation.
254 2016-04-08 Andy Buckley <andy.buckley@cern.ch>
256 * Add a --guess-prefix flag to yoda-config, cf. fastjet-config.
258 2015-12-20 Andy Buckley <andy.buckley@cern.ch>
260 * Change AO uncomputable division and mkScatter operations to
261 return/set NaN rather than 0 -- behaviour change requires new
262 major version series 1.6.
264 2016-03-09 Andy Buckley <andy.buckley@cern.ch>
266 * Version 1.5.9! (oh no, we're out of convenient version number space!!)
268 2016-03-08 Andy Buckley <andy.buckley@cern.ch>
270 * Add abs function to eq calculation in yodadiff.
272 2016-02-29 Andy Buckley <andy.buckley@cern.ch>
274 * Remove blocking of builds against ROOT6 -- it works fine.
276 2016-02-16 Andy Buckley <andy.buckley@cern.ch>
278 * Add a --add option to yodamerge, for simple histo
279 stacking. Thanks to Chris Gutschow for the patch, although my
280 spidey sense is tingling...
282 2015-12-21 Andy Buckley <andy.buckley@cern.ch>
284 * Version 1.5.8!
286 * Add a rebinning unit test, pytest-rebin.
288 * Add optional range arguments to rebinBy methods, allowing block
289 rebinnings to be applied only within a range of (original) bin
290 indices.
292 * Add missing root.py submodule file. Oops!
294 2015-12-20 Andy Buckley <andy.buckley@cern.ch>
296 * Convert linspace to use multiplication rather than repeated
297 addition to construct edge values, reducing precision errors.
298 Thanks to Holger Schulz for the suggestion.
300 2015-12-15 Andy Buckley <andy.buckley@cern.ch>
302 * Add xEdges() methods to Axis1D and the Histo1D and Profile1D
303 that use it. The returned edge lists are finite only, i.e. they do
304 not contain the +-inf values on the ends of the internal
305 BinSearcher edges.
307 2015-12-13 Andy Buckley <andy.buckley@cern.ch>
309 * Version 1.5.7!
311 * Extend batch-adding in ReaderYODA to include Scatter types.
313 * Add a match_aos function to Python, for filtering AO lists/dicts
314 on path patterns and anti-patterns.
316 2015-12-12 Andy Buckley <andy.buckley@cern.ch>
318 * Add a flag to yoda2root to change whether the conversion is to
319 'proper' types or to (more robustly) TGraphAsymmErrors objects.
321 * Fix accidental use of S2D_MODE flag where S1D_MODE should have
322 been used, in yodamerge. Thanks again to Radek Podskubka.
324 * Allow new rebinTo() merging to restrict to a subset of the bin
325 range, merging the outside bins into the overflow distributions.
327 2015-12-11 Andy Buckley <andy.buckley@cern.ch>
329 * Add a rebinTo() method on Axis1D, allowing rebinning to a new
330 given set of bin edges. Add an explicitly named rebinBy(), and
331 overloaded rebin() aliases for both, and pass through to Histo1D
332 and Profile1D APIs. Plus other internal tweaks to binning
333 functionality... anticipating/fuelling the fundamental rewrite.
335 2015-12-10 Andy Buckley <andy.buckley@cern.ch>
337 * Improve ReaderYODA to use temporary bin containers, to minimise
338 calling sort when adding bins to histos. A quick test suggests
339 this has sped up big file reading by a factor of 30 or so!!!
341 * Add missing addBins() operators (only in C++ so far) to Histo
342 and Profile classes.
344 * Fix Counter::numEntries to return an unsigned long rather than double.
345 Thanks to Radek Podskubka for the bug discovery and detective work.
347 * Improve sortedvector to insert new elements into the sorted
348 position, rather than resorting the whole vector. This should be a
349 bit more efficient, but I think the asymptotic complexity is the
350 same. Might help a bit with reading big data files.
352 2015-12-04 Andy Buckley <andy.buckley@cern.ch>
354 * Add yoda.HAS_ROOT_SUPPORT flag, for API user convenience.
356 2015-11-22 Andy Buckley <andy.buckley@cern.ch>
358 * Version 1.5.6!
360 * Make AO path setting and retrieval prepend a leading slash if it
361 is missing (unless the path is completely empty).
363 2015-11-21 Andy Buckley <andy.buckley@cern.ch>
365 * Add root2yoda conversion script.
367 * Deprecating yoda.to_root() in favour of yoda.root module, which
368 contains to_root and to_yoda functions, as well as a ROOT file
369 walking function.
371 2015-11-17 Andy Buckley <andy.buckley@cern.ch>
373 * Map ROOT-to-YODA (as scatter) functions to Python. Phew.
375 * Map new to-ROOT functions, including TGraph ones, to Python.
377 2015-11-16 Andy Buckley <andy.buckley@cern.ch>
379 * ROOTCnv.h: Add toScatter3D ROOT->YODA, and toNew* YODA->ROOT
380 conversion routines.
382 * ROOTCnv.h: Fix bug in toTH2D(const Histo2D& h) as used with
383 ROOT6. Thanks to Tim Martin.
385 2015-11-05 Andy Buckley <andy.buckley@cern.ch>
387 * Fix double-dealloc in new Point class hierarchy Python mapping.
389 2015-10-23 Andy Buckley <andy.buckley@cern.ch>
391 * Make the version() function inline, and the numerical constants static.
393 * Change the default plotting backend to MPL rather than the much slower PGF.
395 2015-10-09 Andy Buckley <andy.buckley@cern.ch>
397 * Reinstate __getitem__ special methods for Scatters in Python.
399 * Provide dim() methods/attributes for the Point and Bin base classes.
401 * Rename set*Err to set*Errs for the asymmetric variants. Plural
402 aliases are also provided for the symm case.
404 2015-10-08 Andy Buckley <andy.buckley@cern.ch>
406 * Pass std::pairs by reference in Point*D error setting functions.
408 * Add Point base class with generic accessors to Point*D
409 properties via an integer axis ID argument.
411 2015-10-07 Andy Buckley <andy.buckley@cern.ch>
413 * Version 1.5.5 release.
415 * Counter.pyx: Typo fix in sumW mapping.
417 * yodamerge: Re-add checking for non-emptiness before merging, in
418 case the empty ones are missing a ScaledBy attribute. Won't
419 normally apply to Profiles, since they don't usually get
420 normalised, but we might as well include them in the vetoing since
421 empty histos don't contribute to the merging. Added a command-line
422 option to disable this heuristic since in very strange situations
423 a null sumW does not mean no fills.
425 2015-10-06 Andy Buckley <andy.buckley@cern.ch>
427 * Version 1.5.4 release.
429 * ReaderYODA: Typo fixes in Counter filling of sumW and Scatter3D reader state flag.
431 * yodamerge: add merging heuristics for Scatter1D and Scatter3D (needs unification)
433 2015-10-05 Andy Buckley <andy.buckley@cern.ch>
435 * yodamerge: add a fix for empty-in-all-runs histo merging; thanks
436 to Daniel Rauch.
438 2015-10-04 Andy Buckley <andy.buckley@cern.ch>
440 * Adding dim() function and corresponding Python attribute to AnalysisObject.
442 * Map Counter arithmetic operations into Python.
444 * Map Counter mkScatter() into Python (as bound method).
446 * Add a YODA::version() function, mapped into Python and used to
447 set the yoda.__version__ variable.
449 2015-10-01 Andy Buckley <andy.buckley@cern.ch>
451 * Expose the yoda.plot() Python function in a way that doesn't
452 automatically induce a dependence on matplotlib.
454 2015-09-30 Andy Buckley <andy.buckley@cern.ch>
456 * Fix yodals to work with Counters.
458 2015-09-23 Andy Buckley <andy.buckley@cern.ch>
460 * Version 1.5.3 release.
462 * Update Boost version requirement to 1.48, due to use of
463 type_traits/has_dereference, and add a check for that feature's
464 header.
466 2015-09-19 Andy Buckley <andy.buckley@cern.ch>
468 * Further improvements to handling leading _multiple_ # marks on
469 YODA format BEGIN lines.
471 2015-09-11 Andy Buckley <andy.buckley@cern.ch>
473 * Version 1.5.2 release.
475 * Tolerate leading # symbols without separating whitespace on
476 BEGIN lines in YODA format parsing.
478 * Further improvements to handling LowStatsErrors in YODA format writing.
480 * Fix shadowed variables that made ReaderYODA unhappy.
482 2015-09-03 Andy Buckley <andy.buckley@cern.ch>
484 * Version 1.5.1 release.
486 * Fix bugs in Python wrapper for Point3D.
488 2015-08-28 Peter Richardson <Peter.Richardson@durham.ac.uk>
490 * Catch LowStatsError when writing multiple histograms so only the
491 histogram with the problem is not written
493 2015-08-28 Andy Buckley <andy.buckley@cern.ch>
495 * Version 1.5.0 release.
497 2015-08-24 Andy Buckley <andy.buckley@cern.ch>
499 * Improve protection of efficiency calculation against the weird
500 world of general weighted events.
502 2015-08-17 Andy Buckley <andy.buckley@cern.ch>
504 * Add some protection against calling matplotlib's legend() method
505 if there are no valid labels to display, to suppress an MPL
506 warning message when using yoda.plot().
508 2015-08-12 Andy Buckley <andy.buckley@cern.ch>
510 * Fix cut & paste typo, and add LowStatsError catching in Profile division.
512 2015-08-11 Andy Buckley <andy.buckley@cern.ch>
514 * Replace old Spirit-based ReaderYODA with the new hand-rolled one.
516 * Adding filling of Histo1D, Profile1D, Histo2D and Profile2D in
517 new ReaderYODA. More hacking of Axis and Histo/Profile
518 interfaces... needs clean-up, and infinite binning implementation.
520 2015-08-07 Andy Buckley <andy.buckley@cern.ch>
522 * Convert the ReaderFLAT parser to also use a simple hand-written parser rather than Spirit.
524 2015-08-04 Andy Buckley <andy.buckley@cern.ch>
526 * Add methods for Counter, Axis and Histo1D internal state
527 access/setting, mainly for new persistency. NEEDS PRE-RELEASE TESTING!!!
529 2015-07-30 Andy Buckley <andy.buckley@cern.ch>
531 * Remove # markers from YODA format BEGIN/END output. The parser
532 will continue to accept them.
534 2015-07-29 Andy Buckley <andy.buckley@cern.ch>
536 * Add SFINAE trait magic to restrict write(RANGE) functions to
537 accepting iterables. Also generalising to allow either
538 container-of-objects or container-of-pointers args by providing a
539 writeBody(AO*) function to complement writeBody(AO&). Based on a
540 patch from Lukas Heinrich.
542 * Add configuration of output streams to throw exceptions on
543 bad/fail state (based on patch from Lukas Heinrich).
545 2015-07-01 Andy Buckley <andy.buckley@cern.ch>
547 * 1.4.0 release.
549 2015-06-30 Andy Buckley <andy.buckley@cern.ch>
551 * More tweaks to yodamerge: adding control of S2D merging
552 strategy, and now performing weighted normalized histo merges
553 without reference to an absolute normalization.
555 * Change yodamerge norm-detection heuristic to just look for a
556 ScaledBy attribute rather than fuzzily compare norms.
558 2015-06-26 Andy Buckley <andy.buckley@cern.ch>
560 * Removing add, subtract, and divide functions and operators on
561 Scatter types, and re-implementing Histo and Profile divide
562 functions explicitly rather than via mkScatter. Also removed from
563 the Python interface. The combine() methods remain.
565 2015-06-24 Andy Buckley <andy.buckley@cern.ch>
567 * Adding workaround versions of binAt to all the Python histo
568 types (for some reason the direct mapping that works for bin(i)
569 produces a compile error for binAt(x) :-/
571 2015-06-23 Andy Buckley <andy.buckley@cern.ch>
573 * Renaming, tidying, completing, etc. the Python-mapped methods on Bin1D and Bin2D.
575 * Rename Python Histo2D mean, variance, etc. pair-returning
576 methods to xyMean, xyVariance, etc., to distinguish from Profile2D
577 mean, variance, etc.
579 * Add Python mappings of all the methods below.
581 * Add full set of {x,y}{Mean,Variance,StdDev,StdErr,RMS} to 1D and
582 2D binned distributions.
584 * Add optional includeoverflows=True argument to all binned AO
585 numEntries and effNumEntries.
587 * Fix type of numEntries to always be unsigned long.
589 2015-06-18 Andy Buckley <andy.buckley@cern.ch>
591 * Fix typos in Point3D Python mapping (accidentally trying to get
592 the ptr via _Point2D rather than _Point3D).
594 2015-06-13 Andy Buckley <andy.buckley@cern.ch>
596 * Adding an AnalysisObject::name() method, to return the last part
597 of the path. Mapped into a Python property.
599 * Adding an optional usestddev argument to mkScatter for profile
600 types, so the error bars can represent distribution width rather
601 than uncertainty on the mean. Mapped to Python.
603 2015-06-08 Andy Buckley <andy.buckley@cern.ch>
605 * Adding unpatterns arguments to Python read functions, and
606 auto-conversion from single strings and re.compile()d strs.
608 2015-06-04 Andy Buckley <andy.buckley@cern.ch>
610 * Add binAt(x,y) and binIndexAt(iglobal) Python methods for 2D
611 histos. Still want a way to get and pass a pair of bin indices, I
612 think.
614 * Adding includeoverflows optional args for Histo1D (eff)numEntries.
616 * Adding Rename Histo1D integral() methods as integral(),
617 integralRange(), and integralTo(), and mapping to Python.
619 2015-06-02 Andy Buckley <andy.buckley@cern.ch>
621 * Adding missing binAt and binIndexAt methods to Histo1D and
622 Profile1D, plus other minor Python mapping tweaks.
624 * Add a regex pattern match optional argument to the IO.read()
625 Python functions, for pre-emptive filtering.
627 2015-03-27 Andy Buckley <andy.buckley@cern.ch>
629 * Fix a harmless possibility to raise an FPE exception in the
630 BinSearcher. Thanks to Leif Lonnblad for the discovery, debug and
631 patch!
633 2015-03-19 Andy Buckley <andy.buckley@cern.ch>
635 * Bump version for 1.3.1 release.
637 2015-03-06 Andy Buckley <andy.buckley@cern.ch>
639 * Adding usefocus optional argument to some mkScatter functions, plus the Python bindings.
641 * Cleaning up some Python mappings of 2D histogram bin classes.
643 * Removing mappings of bin-level fill and scale operations in Python.
645 * Fix formatting and error handling in Python Bin and Dbn __repr__ methods.
647 * Add a -i/--in-place option pair on yodascale.
649 2015-02-05 Andy Buckley <andy.buckley@cern.ch>
651 * Convert script matching options to use re search rather than match.
653 * Adding matching options and verbose option to yodals.
655 2015-01-27 Andy Buckley <andy.buckley@cern.ch>
657 * Improvements and additions to ROOTCnv.h routines, particularly
658 to TProfile creation: thanks to Roman Lysak for advice.
660 2015-01-16 Andy Buckley <andy.buckley@cern.ch>
662 * Add convenience YODA/YODA.h header.
664 2015-01-15 Andy Buckley <andy.buckley@cern.ch>
666 * yodascale now uses PointMatcher and can normalize or multiply to
667 abs values or ref histos/bin ranges.
669 2015-01-05 Andy Buckley <andy.buckley@cern.ch>
671 * Adding yoda.matcher Python sub-package with PointMatcher
672 functionality. To be used in Professor 2.0 and in yodascale.
674 * Adding 'scat2' type to yodahist.
676 * Add match/unmatch args to all conversion scripts, via a new Python yoda.script_helpers function.
678 * Script updates, improved docstrings, and improved tab completion.
680 2014-12-10 Andy Buckley <andy.buckley@cern.ch>
682 * Add a yoda.plotting sub-module, based on matplotlib.
684 2014-12-03 Andy Buckley <andy.buckley@cern.ch>
686 * Small build improvements: cleaning test1.root from the yoda2root
687 test, and adding a make target & flag file for mktemplates in
688 pyext/yoda to make sure that it only gets run once.
690 2014-11-25 Andy Buckley <andy.buckley@cern.ch>
692 * Handle overflow filling in binned types without invoking an exception.
694 * Change inRange to have non-fuzzy comparison behaviour.
696 2014-11-11 Andy Buckley <andy.buckley@cern.ch>
698 * Improving/adding __div__ functions in Python for all binned types.
700 * Add std:: prefix to isinf() calls in BinSearcher.h.
701 2014-09-30 Andy Buckley <andy.buckley@cern.ch>
703 * 1.3.0 release!
705 * Use numEntries() rather than effNumEntries() when checking
706 consistency of inputs to efficiency() calculations -- the
707 effNumEntries of a set can be smaller than that of a strict
708 subset, surprisingly!
710 2014-09-17 Andy Buckley <andy.buckley@cern.ch>
712 * Small improvements to yodahist and yodaplot behaviours/UIs.
714 * Adding setX/Y/Z(val, err) methods to Point3D.
716 * Add an efficiency method for 2D histos.
718 * Hide fill and fillBin methods from Python mappings of bin types.
720 2014-09-01 Andy Buckley <andy.buckley@cern.ch>
722 * YODA 1.2.1 release!
724 2014-08-29 Andy Buckley <andy.buckley@cern.ch>
726 * Hide non-const access to bin objects from histogram users:
727 avoids potential for inconsistency between total dbns and in-range
728 bins.
730 * Bug in BinSearcher fixed by Peter Richardson: constructor
731 arguments were passed in the wrong order when constructing a
732 LinEstimator in cases where log binning wouldn't be allowed.
734 2014-08-26 Andy Buckley <andy.buckley@cern.ch>
736 * Add protection against / characters in histo names in yoda2root
737 (thanks to Will Bell for the report and suggested patch).
739 2014-08-17 Andy Buckley <andy.buckley@cern.ch>
741 * Add +=, -=, *-, /=, ++ and -- operators to Counter, along with
742 an (implicit) constructor from a double -- all for user
743 convenience so Counter can be used in lieu of a simple number.
745 2014-08-15 Andy Buckley <andy.buckley@cern.ch>
747 * YODA 1.2.0 release!
749 * Permit +-inf values to be filled into histograms; NaN fills will
750 still explicitly throw an exception.
752 * Add unit tests for Counter, Scatter1D, and Scatter2D, including
753 persistency.
755 * Adding YODA and FLAT format I/O for Scatter1D and Counter (as
756 far as currently possible -- FLAT Counter can't be read due to a
757 #item ambiguity, just like the one between the YODA format Point3D
758 and ProfileBin1D). To be continued...
760 2014-08-14 Andy Buckley <andy.buckley@cern.ch>
762 * Python mappings for Dbn0D and Counter, and other improvements.
764 * Adding val() and err() methods to Counter, and errW() and
765 relErrW() to all DbnXD types.
767 * Adding Scatter1D and Point1D types, with conversion from Counter
768 supported. Both Counter and Scatter1D still need to be supported
769 by YODA persistency.
771 2014-08-11 Andy Buckley <andy.buckley@cern.ch>
773 * Add ROOT version checking to configure. Thanks to Michael Grosse
774 for the report/request.
776 2014-08-05 Andy Buckley <andy.buckley@cern.ch>
778 * Remove all methods not specific about the axis to which they
779 refer, e.g. Histo1D::mean -> xMean. Also remove all related
780 aliases (a nightmare to maintain) and low/highEdge and midpoint
781 functions: use the proper xMin/Max/Mid from now on. This is a
782 significant compatibility breaking API change (and the decision
783 was not taken lightly) so will require a 2nd digit version change.
785 * Lots of adding xMin/Max etc. functions to C++ and Python bin/histo classes.
787 * Compiler pickiness fixes in BinSearcher.
789 * Improvement to linspace, avoiding fuzzyEquals and again making
790 sure that the end value is exact.
792 2014-07-23 Andy Buckley <andy.buckley@cern.ch>
794 * Fix to logspace: make sure that start and end values are exact,
795 not the result of exp(log(x)).
797 * Clean-up, minor improvements, and adding a test for BinSearcher and friends.
799 2014-07-19 Andy Buckley <andy.buckley@cern.ch>
801 * Various consistency improvements and minor bugfixes to Python
802 mapping utils and Dbn and Bin objects.
804 * Fix Axis2D::reset, which was resetting the total dbn and
805 outflows, but not the bins!!! Thanks to Ewen Gillies for the
806 report.
808 2014-07-18 Andy Buckley <andy.buckley@cern.ch>
810 * Add scaleX,Y,Z and scaleXYZ to Point and Scatter classes, and
811 deprecate less explicit/consistent Scatter2D/3D.scale method.
813 2014-07-17 Andy Buckley <andy.buckley@cern.ch>
815 * yodascale now writes out rescaled histograms and profiles rather than scatters.
817 * A few more improvements on Point2D/3D, adding x,y,zMin/Max function mappings.
819 * Add first version of a yodascale script, based on code from Simone Amoroso.
821 2014-07-16 Andy Buckley <andy.buckley@cern.ch>
823 * More Scatter and 2D histo interface improvement.
825 * Remove 'return *this' from Scatter2D/3D add and combine methods.
827 * Add unit test checks for 1D and 2D mkScatter functions.
829 * Improve Scatter2D/3D C++ and Python interfaces.
831 * Add Scatter3D Python mapping.
833 2014-07-15 Andy Buckley <andy.buckley@cern.ch>
835 * Add auto-parsing of yes/no/on/off/true/false as bools in the
836 Python ao.annotation() function.
838 * Add parsing of yodaplot styles from command line args and
839 analysis object annotations.
841 2014-07-12 Andy Buckley <andy.buckley@cern.ch>
843 * Fix infinite recursions in Python wrappers for Point2D and
844 Point3D, and make the Python Point3D interface more standard.
846 * Add yodaplot script for basic plotting, using pgfplots as a backend.
848 2014-07-10 Andy Buckley <andy.buckley@cern.ch>
850 * Add mkScatter(Scatter2D) and mkScatter(Scatter3D) functions and
851 Python mappings: this allows all AOs to be used as args to
852 mkScatter(...) without needing to check if they already are
853 scatters.
855 2014-07-02 Andy Buckley <andy.buckley@cern.ch>
857 * Set y value and/or error to 0 in mkScatter(Histo1D) if an
858 exception is thrown when calculating the appropriate values. Need
859 an optional param to control this error handling behaviour between
860 set-zero and skip-bin?
862 2014-07-01 Andy Buckley <andy.buckley@cern.ch>
864 * Add exception translation to the mkScatter functions.
866 * Add -m/-M match/unmatch options to yodacnv -- useful for
867 filtering histogram file contents in a YODA->YODA conversion.
869 2014-06-24 Andy Buckley <andy.buckley@cern.ch>
871 * Don't complain about merge assumptions if there is only one
872 object with that path name to be 'merged'
874 2014-06-17 Andy Buckley <andy.buckley@cern.ch>
876 * Adding explicit int cast in Python wrapping of numEntries functions.
878 2014-06-13 Andy Buckley <andy.buckley@cern.ch>
880 * Adding yodals script to list data file contents.
882 2014-06-11 David Grellscheid <David.Grellscheid@durham.ac.uk>
884 * pyext/yoda/Makefile.am: 'make distcheck' and out-of-source
885 builds should work now.
887 2014-06-10 Andy Buckley <andy.buckley@cern.ch>
889 * Fix use of the install command for bash completion installation on Macs.
891 2014-06-06 Andy Buckley <andy.buckley@cern.ch>
893 * YODA 1.1.0 release. Middle version number change to reflect API changes w.r.t 1.0.6.
895 * Adding unit tests against ref data for yodamerge in make check.
897 2014-06-04 Andy Buckley <andy.buckley@cern.ch>
899 * Fix silly typos in yodamerge which somehow made it past "make check" testing :-(
901 2014-06-02 Andy Buckley <andy.buckley@cern.ch>
903 * YODA 1.0.7 release. DO NOT USE: prefer 1.1.0, above.
905 2014-05-30 Andy Buckley <andy.buckley@cern.ch>
907 * Removing 'foreach' macro definition and using raw BOOST_FOREACH instead until C++11 is allowed.
909 * Adding pytest-p1d and pytest-p2d tests, and FLAT writing/reading in pytests.
911 * Tweaking WriterFLAT and adding ReaderFLAT functionality for 2D histos and profiles.
913 2014-05-30 Holger Schulz <hschulz@physik.hu-berlin.de>
915 * Some basic (FLAT) write-out capability for 2D histos
917 2014-05-29 Andy Buckley <andy.buckley@cern.ch>
919 * Improvements to the yodahist script, including support for 2D
920 histograms and input files.
922 * Adding bin edges constructors for all 1D and 2D histos in Python.
924 2014-05-22 Andy Buckley <andy.buckley@cern.ch>
926 * Improvements to Profile2D and Point2D interfaces in Python.
928 * Add a single-file at a time yodacnv multi-format converter
929 script (thanks to Andrii Verbytskyi for the suggestion).
931 2014-05-19 Andy Buckley <andy.buckley@cern.ch>
933 * Typo fixes in Profile2D YODA-format parsing: 2D histo tests now pass!
935 * Adding Python tests for Histo2D and Profile2D.
937 * Adding a YODA/Predicates.h header and using it in Axis2D bin edge construction.
939 * Enabling Profile2D writing in various Writers, and a bit of IO code tidying.
941 2014-05-17 Andy Buckley <andy.buckley@cern.ch>
943 * Disable writing out of Histo2D and Profile2D outflows for now,
944 while they are redesigned, and get 2D I/O working for the in-range
945 part.
947 2014-05-14 Andy Buckley <andy.buckley@cern.ch>
949 * Mapping the divide and efficiency functions into the Python
950 interface as class methods, including the __div__ special
951 function.
953 2014-05-13 Andy Buckley <andy.buckley@cern.ch>
955 * Add the AnalysisObject::type() method back in Python (even
956 though type(ao) is more Pythonic, this may be useful)
958 2014-05-06 Andy Buckley <andy.buckley@cern.ch>
960 * Add Profile2D YODA format writing, note need for Scatter format
961 change, add sumXY storage to both 2D histo types.
963 2014-05-03 Andy Buckley <andy.buckley@cern.ch>
965 * Adding YODA reader functionality for Histo2D and Profile2D, but
966 without outflows support yet.
968 2014-04-25 Andy Buckley <andy.buckley@cern.ch>
970 * Adding simple command line yodahist script for quick 1D
971 histogramming from plain text files, with weight support. More
972 development to come!
974 * Mapping linspace, logspace and a few stat functions into Python.
976 2014-04-24 Andy Buckley <andy.buckley@cern.ch>
978 * Fixes, script installation, and detailed numerical comparisons
979 in yodadiff.
981 2014-04-17 Andy Buckley <andy.buckley@cern.ch>
983 * Change AnalysisObject::annotations to return the list of
984 annotation keys rather than the map, since the previous behaviour
985 mapped very badly into Python.
987 2014-04-16 Andy Buckley <andy.buckley@cern.ch>
989 * Add special case handling for 2-arg use of x2y scripts where the
990 second arg is -, for stdin. This will be treated as writing out to
991 stdout, not converting two files one of which is stdin.
993 2014-04-15 Andy Buckley <andy.buckley@cern.ch>
995 * Adding a more portable version of getline to be used in the YODA
996 file parsing to avoid falling over on DOS-produced input files.
998 2014-04-14 Andy Buckley <andy.buckley@cern.ch>
1000 * Adding the namespace protection workaround for Boost described
1001 at http://www.boost.org/doc/libs/1_55_0/doc/html/foreach.html
1003 2014-04-13 Andy Buckley <andy.buckley@cern.ch>
1005 * Adding an assumed-equal-run-size, ratio-like merging heuristic
1006 for Scatter2Ds to yodamerge, and renaming the --normalize-all flag
1007 to --assume-normalized.
1009 * Adding and installing a pkg-config data file for YODA.
1011 * Rationalising (and fixing?) the yodamerge logic re. user &
1012 normalization scalings, and making way for a Scatter2D merging
1013 heuristic.
1015 2014-03-10 Andy Buckley <andy.buckley@cern.ch>
1017 * YODA 1.0.6 release.
1019 2014-03-06 Andy Buckley <andy.buckley@cern.ch>
1021 * Improvements to AnalysisObject annotation handling in Python.
1023 * Adding rescaling arguments to yodamerge (and scale function to Python Scatter2D).
1025 * Better documentation and consistency of Histo and Profile Python
1026 wrappers, and removing some inappropriate attributes.
1028 * Adding clone() and newclone() functions to all analysis object classes.
1030 2014-02-28 Andy Buckley <andy.buckley@cern.ch>
1032 * Cython mapping improvements, esp. adding numPoints/numBins
1033 functions and better Scatter2D __repr__.
1035 * Adding mapping of the mkScatter functions into Python (as
1036 methods on Histo1D and Profile1D rather than the original free
1037 functions, at least for now: some Python type-identifying
1038 boilerplate is needed to make a single mkScatter function work in
1039 Python)
1041 2014-02-27 Leif Lönnblad <Leif.Lonnblad@thep.lu.se>
1043 * Minor modifications to BinSearcher to avoid NaN's. The NaN's
1044 were treated correctly before, but better to avoid them all
1045 together.
1047 2014-02-27 Andy Buckley <andy.buckley@cern.ch>
1049 * Adding the generated pyext/yoda/rootcompat.cpp to the tarball
1050 and sorting out the ROOT/Cython interface conditionals a bit more
1051 sanely. Thanks to Oldrich Kepka for the bug report.
1053 * Protecting yodamerge against input histograms with zero
1054 integrals (thanks to Christian Bierlich for the bug report).
1056 2014-02-14 Frank Siegert <frank.siegert@cern.ch>
1058 * Fix race condition with mktemplates.
1060 2014-02-12 David Grellscheid <david.grellscheid@dur.ac.uk>
1062 * Fix bug in mktemplates code (thanks to Christian Johnson for the bug report).
1064 2014-02-09 Andy Buckley <andy.buckley@cern.ch>
1066 * Adding explicit include/generated dir creation to Python
1067 extension build (thanks to Christian Johnson for the bug report).
1069 2014-02-06 Andy Buckley <andy.buckley@cern.ch>
1071 * 1.0.5 release!
1073 2014-02-05 Andy Buckley <andy.buckley@cern.ch>
1075 * Adding patches to ReaderFLAT and ReaderYODA use of Boost Spirit
1076 which reduce the Boost version requirement from 1.47 ->
1077 1.41. Thanks to Andrii Verbytskyi for the patch.
1079 * Protect against invalid prefix value if the --prefix configure option is unused.
1081 2014-02-04 Andy Buckley <andy.buckley@cern.ch>
1083 * Adding copy assignment operators where missing, based on an
1084 implementation in AnalysisObject which only copies rvalue paths
1085 and titles if they are non-null.
1087 2014-02-03 Andy Buckley <andy.buckley@cern.ch>
1089 * Improving (i.e. increasing) bin edge overlap tolerance: 1e-10 relative was too tight.
1091 2014-01-31 Andy Buckley <andy.buckley@cern.ch>
1093 * Adding x/yMid etc. methods on Bin1D and 2D, and more related Python API improvements.
1095 2014-01-28 Andy Buckley <andy.buckley@cern.ch>
1097 * Adding missing fillBin methods to 1D and 2D Histo/Profile Python classes.
1099 * Fixed yodamerge default output file name treatment.
1101 * Avoid computing an unrecoverable error in Histo1D.__repr__
1103 * Clean-ups and API improvements in Python IO functions.
1105 * Adding more sumW,W2 and (eff)NumEntries attrs to Python objects.
1107 2013-12-17 Andy Buckley <andy.buckley@cern.ch>
1109 * Improved argument handling for x2y scripts.
1111 2013-11-16 Andy Buckley <andy.buckley@cern.ch>
1113 * Fix to build the Cython rootcompt extension .cpp on request.
1115 2013-11-14 Andy Buckley <andy.buckley@cern.ch>
1117 * Adding flags for the C++11 or C++0x standard if supported, cf. Rivet.
1119 2013-10-24 Andy Buckley <andy.buckley@cern.ch>
1121 * YODA 1.0.4 release.
1123 * Supporting zsh completion via bash completion compatibility.
1125 2013-10-21 Andy Buckley <andy.buckley@cern.ch>
1127 * Removing unused internal iterator typedefs from Writer functions.
1129 2013-10-18 Andy Buckley <andy.buckley@cern.ch>
1131 * Adding a yodaenv.sh sourceable script to help with environment setup.
1133 * Remove Scatters from being handled by yodamerge by blocking the
1134 __add__ method fallback.
1136 2013-10-09 Andy Buckley <andy.buckley@cern.ch>
1138 * Improvements to yoda-config and command-line completion, for the
1139 Rivet 2.0.0 release.
1141 2013-10-09 Andy Buckley <andy.buckley@cern.ch>
1143 * Version 1.0.3 release.
1145 2013-10-04 Andy Buckley <andy.buckley@cern.ch>
1147 * Cython mapping improvements.
1149 * Adding some improved heuristics and a --normalize-all option to
1150 yodamerge. Frank S is now happy again ;-)
1152 2013-10-01 Andy Buckley <andy.buckley@cern.ch>
1154 * Adding operator +, -, +=, -= Python mappings wherever possible
1155 for Histo1/2D, Profile1/2D, and Scatter2D.
1157 2013-09-26 Andy Buckley <andy.buckley@cern.ch>
1159 * Cython is no longer needed by tarball users.
1161 2013-09-25 Andy Buckley <andy.buckley@cern.ch>
1163 * Unset path of returned histogram if those of the args to add()
1164 and subtract() are difference.
1166 2013-09-24 Andy Buckley <andy.buckley@cern.ch>
1168 * Python mapping improvements.
1170 2013-09-23 Andy Buckley <andy.buckley@cern.ch>
1172 * Add the -avoid-version flag to libtool.
1174 * Adding more add and subtract special methods in Python.
1176 2013-09-22 Andy Buckley <andy.buckley@cern.ch>
1178 * mkScatter schanged to use histo midpoints rather than focuses by
1179 default for the point x value.
1181 2013-08-14 Andy Buckley <andy.buckley@cern.ch>
1183 * Version 1.0.2.
1185 * Some exception message improvements and improving the protection
1186 of cosmetic mean calculations in WriterYODA.
1188 2013-07-12 Andy Buckley <andy.buckley@cern.ch>
1190 * Adding ROOT detection in configure and otherwise updating Dave's
1191 rootcompat module so that it'll compile. There might be an
1192 inconvenient ROOT version dependency in the signature of one of
1193 the PyROOT API functions that is used as a shim :-(
1195 2013-06-17 Andy Buckley <andy.buckley@cern.ch>
1197 * Adding yoda.m4 from James Robinson.
1199 2013-06-06 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1201 * Improve "==" operator in Axis1D and Axis2D
1203 2013-06-06 Andy Buckley <andy.buckley@cern.ch>
1205 * Adding fillBin() methods to all 1D and 2D histos, and noting
1206 that Bin types need a back-link to their axis to maintain
1207 consistency.
1209 * Release of version 1.0.1
1211 2013-06-05 Andy Buckley <andy.buckley@cern.ch>
1213 * Change the divide(Scatter, Scatter) behaviours to use the
1214 midpoint of the num/denom bins rather than mean of foci for the
1215 output point position (and hence errors, too).
1217 * Adding a toIntegralEfficiencyHisto function.
1219 * Adding another Histo1D::integral() function, this time from 0 ->
1220 i, maybe including the underflow.
1222 2013-06-04 Andy Buckley <andy.buckley@cern.ch>
1224 * Updating the Cython version requirement to 0.18
1226 2013-06-03 Andy Buckley <andy.buckley@cern.ch>
1228 * Adding relErr functions to 1D and 2D histo and profile bins, and
1229 being careful about div by zero.
1231 * Improvements in error treatment in division (better handling of zeros).
1233 * Renaming merge-histos to yodamerge and installing it (and
1234 improving the usage string a bit).
1236 2013-05-31 Andy Buckley <andy.buckley@cern.ch>
1238 * Adding the Counter type, and ability to output it from the YODA writer.
1240 * Adding numEntries and effNumEntries methods to 1D and 2D Histo
1241 and Profile classes.
1243 * Adding Dbn0D and using it to implement Dbn1D.
1245 2013-05-30 Andy Buckley <andy.buckley@cern.ch>
1247 * Fixing several nasty errors in argument ordering for
1248 Point{1,2,3}D construction in Scatter addPoint functions.
1250 * Adding abs(...) to the returned Dbn1D::variance(), to avoid
1251 problems when negative weights produce negative variance. No, we
1252 don't like this either: is there a more correct way?
1254 * Fixing the efficiency(Histo1D, Histo1D) implementation,
1255 cf. http://root.cern.ch/phpBB3/viewtopic.php?t=3753
1257 * Adding mkScatter(Profile2D)
1259 2013-05-29 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1261 * Adding a reader for FLAT files and a flat2yoda converter
1263 2013-05-27 Andy Buckley <andy.buckley@cern.ch>
1265 * Adding a yoda-completion file for bash.
1267 2013-05-17 Andy Buckley <andy.buckley@cern.ch>
1269 * Mapping HistoBin1D.relErr in Python.
1271 * Adding a non-const points() accessor to Scatter2D.
1273 2013-05-13 Andy Buckley <andy.buckley@cern.ch>
1275 * Adding combined value+error setX/Y functions on Point2D.
1277 * Adding HistoBin1D::relErr()
1279 2013-04-23 Andy Buckley <andy.buckley@cern.ch>
1281 * Adding Python output handling for single AOs and to be able to
1282 use a "-" filename to mean stdout.
1284 2013-04-12 Andy Buckley <andy.buckley@cern.ch>
1286 * Releasing version 1.0.0 -- it seems stable enough.
1288 2013-04-10 Andy Buckley <andy.buckley@cern.ch>
1290 * Being more careful about adding -Wno-* flags to the C++ compiler
1291 used to built the Cython extension lib.
1293 2013-03-22 Andy Buckley <andy.buckley@cern.ch>
1295 * Removing the use of svn:external to pull in Boost macros and
1296 using a minimal local set instead.
1298 * Using the nice Boost-finding macros from
1299 https://github.com/tsuna/boost.m4 and tidying up configure.ac
1301 2013-03-15 Andy Buckley <andy.buckley@cern.ch>
1303 * Re-organising the C++ side of the auto-format I/O functions,
1304 into a new IO header and separated from the Reader.h and
1305 Writer.h. I'm tempted to say that users shouldn't really NEED to
1306 ever directly touch the Reader and Writer objects...
1308 * Adding auto-format read and write functions. I will probably
1309 change the API. Python mappings have been provided, but the string
1310 workarounds were too much of a pain with Cython 0.16 so I have
1311 updated the Cython version requirement to 0.17 where it is
1312 automatic and hence much cleaner.
1314 2013-03-08 Andy Buckley <andy.buckley@cern.ch>
1316 * Making the x2y converter scripts write a copy into the *current*
1317 directory if only the input is specified.
1319 2013-03-05 Andy Buckley <andy.buckley@cern.ch>
1321 * Removing Plot entirely from YODA: it was an anomaly only added
1322 to make plot file generation easy, but this is now done better via
1323 StringIO (in new compare-histos/rivet-cmphistos).
1325 * Removing the Plot from Cython... and soon from YODA itself:
1326 we'll do this stuff manually and less hackily.
1328 * Make Cython automatically add a copy of the original call
1329 signature to each function's docstring.
1331 2013-03-04 Andy Buckley <andy.buckley@cern.ch>
1333 * Adding Plot mapping to Cython and improving the AO annotations handling in Python.
1335 * Adding PLOT section writing to WriterFLAT (and WriterYODA,
1336 although that might be a bad idea...)
1338 * Adding aida2yoda and aida2flat converter scripts.
1340 2013-02-02 David Mallows <dave.mallows@gmail.com>
1342 * Adding support for Python >= 2.4 (was Python >= 2.6)
1344 * Fixing miscellaneous warnings on GCC 4.1
1346 2013-01-30 Andy Buckley <andy.buckley@cern.ch>
1348 * Adding a points() method to the Python Scatter2D wrapper.
1350 * Adding a virtual destructor to Bin.
1352 2012-12-30 Andy Buckley <andy.buckley@cern.ch>
1354 * Adding support for Boost.Range arguments and file format autodetection in Writer.
1356 2012-11-24 Andy Buckley <andy.buckley@cern.ch>
1358 * Bump version to 0.6beta0
1360 * Adding more ROOT converters. Who knows how to make TProfiles
1361 from scratch, but Histo1D and Scatter2D are covered, which should
1362 be enough to get started with, at least.
1364 2012-11-16 Andy Buckley <andy.buckley@cern.ch>
1366 * Adding yoda-config
1368 2012-11-16 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1370 * Adding WriterFLAT and yoda2flat
1372 2012-11-16 Andy Buckley <andy.buckley@cern.ch>
1374 * Adding YODA/ROOTCnv.h. for data object converter functions. Two
1375 (untested) functions added for TH1 -> YODA.
1377 * Adding toIntegralHisto(Histo1D&) function.
1379 2012-11-15 Dave Mallows <dave.mallows@gmail.com>
1381 * Commited numerous changes to Axis2D. Axis2D now uses BinSearcher as
1382 with Axis1D.
1384 2012-11-15 Andy Buckley <andy.buckley@cern.ch>
1386 * Improving division and efficiency treatments, and allowing
1387 arbitrary f(x), f(y), and flip transformations on Scatter2D.
1389 2012-11-14 Andy Buckley <andy.buckley@cern.ch>
1391 * Converting linspace, logspace, and their usage to place the nbins argument first.
1393 2012-08-07 Andy Buckley <andy.buckley@cern.ch>
1395 * Removing unused (beyond 2nd order) sumWXYZ counter from Dbn3D.
1397 2012-08-07 Dave Mallows <dave.mallows@gmail.com>
1399 * Converted Axis1D to use new Utils/BinSearcher.
1401 2012-08-02 Dave Mallows <dave.mallows@gmail.com>
1403 * Heavily refactored Cython bindings
1405 * HistoBin1D, ProfileBin1D etc. now inherit from Bin1D[DBN]
1407 * Temporarily removed Histo2D, Profile2D and Scatter3D mappings.
1409 2012-07-23 Andy Buckley <andy.buckley@cern.ch>
1411 * Installing scripts from bin dir, and making the yoda2aida interface nicer.
1413 * Adding Cython mappings for Dbn3D and Profile2D, and other fixes/improvements.
1415 2012-07-22 Andy Buckley <andy.buckley@cern.ch>
1417 * Adding Cython mappings for Scatter3D and ProfileBin2D.
1419 * Fixing more crap code legacy from old 2D plot implementation, this time in Scatter3D.
1421 2012-07-19 Andy Buckley <andy.buckley@cern.ch>
1423 * Adding stdErr for Histo2D + Python mapping, and more Cython improvements.
1425 * Adding path/title-only AO constructors and making nice Python constructor for Histo2D.
1427 * Cython mapping improvements & additions for Point3D + Scatter3D.
1429 * Removing mixed symm/asymm constructors on Point*D & Scatter*D classes.
1431 2012-07-12 Andy Buckley <andy.buckley@cern.ch>
1433 * Reintroducing Profile2D and Scatter3D.
1435 * Adding axis locking to Axis2D.
1437 * Supporting Histo2D in WriterYODA.
1439 2012-07-02 Andy Buckley <andy.buckley@cern.ch>
1441 * More incremental progress toward a working 2D bin hash mechanism.
1443 2012-05-03 Andy Buckley <andy.buckley@cern.ch>
1445 * Adding nice constructor behaviours to the Histo1D and Profile2D
1446 Python interfaces, and adding the mkScatter operation for
1447 Profile1D.
1449 * Adding more default constructors for analysis objects, to allow
1450 member variable and STL container use without pointers.
1452 2012-05-02 Andy Buckley <andy.buckley@cern.ch>
1454 * A much simplified and more robust rewrite of the Axis1D class,
1455 just using STL map in place of the hand-written bin edge caching.
1457 * Improvements (I hope) to the binary search in Axis1D, and
1458 providing an experimental default constructor for Histo1D.
1460 2011-12-08 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1462 * ReaderYODA can now parse Histo1D and Profile1D flat files
1464 2011-12-08 Andy Buckley <andy.buckley@cern.ch>
1466 * Adding a Utils::ndarray object and using it to implement a
1467 general Scatter<N> system, with generalised Point<N> and Error<N>
1468 to boot.
1470 2011-12-07 Hendrik Hoeth <hendrik.hoeth@cern.ch>
1472 * Lots of cleanup
1474 2011-12-07 Andy Buckley <andy.buckley@cern.ch>
1476 * Mapping the Dbn1D and Dbn2D classes into Python.
1478 * Adding an outflows() accessor to Histo2D.
1480 * Writing out total dbn lines for Histo1D and Profile1D in the
1481 YODA format, and now writing out the 'cross-terms' for Profile1D,
1482 too.
1484 * Properly adding Dbn1D accessors for Histo1D.
1486 * Updating the Cython mappings to provide the totalDbn() methods
1487 and add a placeholder mapping for Dbn2D. Completed mappings are
1488 needed for Dbn{1,2,3}D and the Profile types.
1490 * Adding totalDbn() accessors to data types.
1492 2011-12-06 Andy Buckley <andy.buckley@cern.ch>
1494 * Making Histo1D/2D::scaleW() write a ScaledBy annotation.
1496 * Adding annotation-fetching methods with a default return value
1497 argument to AnalysisObject.
1499 * Adding normalize() methods to Histo1D/2D.
1501 * Adding weighted RMS calculating methods to Dbn1D, Dbn2D and
1502 Bin1D/2D.
1504 2011-09-03 Dave Mallows <dave.mallows@gmail.com>
1506 * Fixed ReaderAIDA: x-value and low y-error interchanged when filling
1507 Scatter2D.
1509 * Changed to Cython for Python bindings: Swig bindings were in need of
1510 serious amounts of work. Cython should provide a means to provide more
1511 Pythonic bindings to YODA. A minimal subset of ReaderAIDA, Scatter2D
1512 and Point2D have been wrapped.
1514 * Modified configure.ac, Makefile.am and pyext/Makefile.am to reflect
1515 change to Cython. Added cython.m4 from python-efl (Part of the
1516 enlightenment project; LGPL)
1518 2011-08-31 Dave Mallows <dave.mallows@gmail.com>
1520 * Fixed python tests by installing python extension to pyext/build
1522 2011-08-23 Andy Buckley <andy@insectnation.org>
1524 * Adding rebinning interface to Histo1D and Profile1D, and adding
1525 a test (and a new test feature for output message formatting)
1527 * Adding first implementation of 1D bin merging to Axis1D.
1529 2011-08-22 Andy Buckley <andy@insectnation.org>
1531 * Adding copy constructors and assignment operators to Histo1D,
1532 Profile1D, and Scatter2D, and their respective bins/points.
1534 * Remove use of sign(weight) in filling sum(w2) -- I think this
1535 was an historical attempt based on a scaling axiom which turned
1536 out to be inappropriate.
1538 * Reworking the Bin1D inheritance and composition design so that
1539 all bin types store a single distribution object -- a Dbn1D for
1540 histo bins and a Dbn2D for profile bins.
1542 2011-08-18 Andy Buckley <andy@insectnation.org>
1544 * Removing the Profile1D -> ProfileBin1D friendship. This is very
1545 heartening -- the fewer friend declarations we need, the more
1546 indication that the class structure is not pathological! (Or that
1547 we've just made everything public... but we haven't)
1549 2011-08-15 Andy Buckley <andy@insectnation.org>
1551 * Inlining all functions in HistoBin1D, ProfileBin1D, and
1552 HistoBin2D.
1554 * Converting Dbn2D to be composed of two Dbn1Ds and a
1555 cross-term. Also tidying the interfaces of the 2D classes and the
1556 scaleX/Y methods throughout, and adding Doxygen comments.
1558 2011-08-12 Andy Buckley <andy@insectnation.org>
1560 * Adding proper Doxygen structures and full descriptive comments
1561 to Dbn2D.
1563 * Adding the persistency state-setting constructors for Profile1D
1564 and Dbn2D.
1566 * Inlining lots of methods on Dbn1D. Same should be done for
1567 Dbn2D, but first it needs to be reimplemented in terms of two
1568 Dbn1Ds + the cross-term.
1570 2011-08-11 Andy Buckley <andy@insectnation.org>
1572 * Various typo fixes and comments relating to persistency
1573 constructors, Histo2D slicing, etc.
1575 * Changing the HistoBin1D state-setting constructors (aargh, these
1576 should *not* have already existed) to take Dbn1D as an argument
1577 rather than a long list of doubles.
1579 2011-08-01 Andy Buckley <andy@insectnation.org>
1581 * Adding tests to check that implicit construction of Weights
1582 objects from literal doubles and ints works.
1584 2011-07-28 Andy Buckley <andy@insectnation.org>
1586 * Bumping version number to 0.4.0beta0 -- there have been
1587 substantial changes recently and YODA is now in a state where it
1588 should be interesting for outsiders to start playing with it.
1590 * Templating the Axis1D on the distribution type to be used for
1591 total and under/overflow statistics: Profile1D now has Dbn2D
1592 objects handling its total and overflow statistics.
1594 2011-07-26 Andy Buckley <andy@insectnation.org>
1596 * Added a Histo1D::integral(index1, index2) method. Not sure how
1597 or if to extend this to Profile1D.
1599 * Implementing incomplete Scatter2D operator+ and operator-
1600 functions.
1602 2011-07-25 Andy Buckley <andy@insectnation.org>
1604 * Adding a Weights class, designed to seamlessly replace
1605 double-type weights and weighted moments with a named and
1606 vectorised form.
1608 2011-07-19 Andy Buckley <andy@insectnation.org>
1610 * Add Profile1D and Scatter2D division operators.
1612 * Add xMin/xMax synonyms to the Axis1D, cf. the bins.
1614 2011-07-18 Andy Buckley <andy@insectnation.org>
1616 * Add a first stab at a Histo1D/Histo1D division operator.
1618 2011-07-10 Andy Buckley <andy@insectnation.org>
1620 * Add construction of Histo1Ds from Profile1D and Histo1D, and
1621 construction of Profile1Ds from those and Scatter2D.
1623 2011-07-07 Andy Buckley <andy@insectnation.org>
1625 * Add construction of a Histo1D from Scatter2D.
1627 2011-06-15 Andy Buckley <andy@insectnation.org>
1629 * Making the AIDA reader work, including reading of annotations
1630 and a few tweaks to the simple type persistency system. Test histo
1631 1b updated.
1633 2011-06-12 Andy Buckley <andy@insectnation.org>
1635 * Removing Histo1D::area
1637 * Filling and using under/overflow and total db on Histo1D, and
1638 adding boolean arg to integral, sumW, etc.
1640 * Fixing for C++ change in behaviour of std::make_pair
1642 * Adding addAnnotation, and mapping annotations to Python.
1644 2011-02-22 Andy Buckley <andy@insectnation.org>
1646 * Use distutils rather than setuptools for the Python interface
1647 build.
1649 * Renaming Bin, HistoBin and ProfileBin to be Bin1D, HistoBin1D,
1650 ProfileBin1D. Bin is now a top-level abstract class with minimal
1651 functionality to be shared between 1D and 2D bins.
1653 2011-01-12 Andy Buckley <andy@insectnation.org>
1655 * Type annotations in mkScatter
1657 * Added many vector constructors and addPoint functions to
1658 Scatter2D.
1660 2011-01-11 Andy Buckley <andy@insectnation.org>
1662 * Add lexical_cast support to annotation get and set functions.
1664 * Write out annotations in AIDA format, and copy annotations in
1665 mkScatter -- using a new AnalysisObject::setAnnotations method.
1667 * Convert DPS output to use interim Scatter construction
1669 * Make (unused) yoda.plot subpackage.
1671 * Write out annotations in YODA format.
1673 * Make Scatter2D representations of Histo1D and Profile1D.
1675 * Write out Scatter2D objects in AIDA and YODA formats.
1677 * Make Scatter2D and Point2D work. Add a few extra
1678 methods... evolution and tweaking required.
1680 2011-01-10 Andy Buckley <andy@insectnation.org>
1682 * Add Boost checks and header includes. Not used yet.
1684 * Hide Utils:: content from Doxygen and nvector -> Utils::nvector.
1686 * Removing unused YAML stuff: we aren't going that way for
1687 persistency anymore.
1689 * Renaming Axis -> Axis1D
1691 * Removing dead-end templated Scatter stuff.
1693 * Move (generated) config files into the Config subdir.
1695 * Move sortedvector and indexedset into the Utils dir.
1697 * Move the "utils" directory and namespace to "Utils"
1699 * Put the Doxyfile under configure control by moving it to
1700 Doxyfile.in and using the @PACKAGE_VERSION@ token.
1702 * Make Doxygen find the .icc file and hide functions with name _*
1703 and in the YAML namespace.
1705 * Removing the Binning argument and enum in favour of explicit bin
1706 edge vectors, possibly produced explicitly via the MathUtils
1707 linspace and logspace functions, or the new Axis::mkBinEdgesLin/Log
1708 alias functions.
1710 * Fixed Axis, Histo1D and Profile1D constructors, by adding a path
1711 argument, passing the path and title args to the AnalysisObject
1712 base constructor properly.
1714 * Removed several old and unused files such as Tree.h
1716 2011-01-09 Andy Buckley <andy@insectnation.org>
1718 * Updating copyright comments to be valid into 2011.
1720 * Persistency fixes, and changing the interface to use the annotated path.
1722 * Using annotations for path and title.
1724 * Adding tests of collection and iterator range AO writing.
1726 * Adding static write functions on Writer*.h implementations to
1727 avoid needing to make an explicit Writer object via the create()
1728 functions.
1730 * Rename Exception.h -> Exceptions.h
1732 * Added AnnotationError.
1734 * Re-enable persistency of collections with begin/end iterators.
1736 2011-01-08 Andy Buckley <andy@insectnation.org>
1738 * Enabling quiet compilation.
1740 * More annotation functionality.
1742 2011-01-07 Andy Buckley <andy@insectnation.org>
1744 * Sorting out autoheaders to be more useful.
1746 * Rewriting AIDA writer to use DPS representation (no reloading)
1747 for Histo1D and Profile1D objects.
1749 * Adding persistency system hooks, since RTTI just sucks too much.
1751 * Renaming test files to have more meaningful names.
1753 2010-12-10 Andy Buckley <andy@insectnation.org>
1755 * Some tweaks to Axis, Bin, etc. to use the sortedvector. Seems to
1756 be working! (I must be checking it wrongly...)
1758 * Adding another candidate object for the axis bin container: a
1759 sorted extension to STL std::vector with an insert method. This
1760 will do as a development placeholder: a proper sorted & indexed
1761 container may be substituted later.
1763 * Fix test code: titles are no longer given as histogram
1764 constructor arguments.
1766 2010-11-21 Andy Buckley <andy@insectnation.org>
1768 * Adding indexed set for holding bins on axes. Still not sure it's
1769 what we want, as (I just realised) STL sets are iterator-immutable
1770 because they are self-keyed and changes to elements would also
1771 change their sorting.
1773 2010-09-19 Andy Buckley <andy@insectnation.org>
1775 * Restarting ChangeLog contributions! Many changes in the huge
1776 time since last update... activity on YODA has renewed and we have
1777 a better picture of the distinctive features we require. New idea:
1778 named weight vector filling, allowing "parallel" histograms for
1779 various event weight variations. I/O remains an awkward issue,
1780 especially since the classes are now much richer than they used to
1781 be, and don't know about paths. Output can be easily put on top:
1782 not an issue... and we can probably do something with
1783 pickling. But reading in from C++?
1785 2008-09-16 Andy Buckley <andy@insectnation.org>
1787 * Moved duplicate Histo1D/Profile1D code on to Axis, making Axis a
1788 templated class at the same time.
1790 2008-09-12 Andy Buckley <andy@insectnation.org>
1792 * Started work on a little plotting tool, initially for Herwig++
1793 parton pT cut testing, but incrementally enhancing it to be a
1794 command-line quick plotter seems like a good idea.
1796 * Added some more test programs... working towards a proper test
1797 suite.
1799 * Added "no path & title" constructors - you don't always want to
1800 write out the histo, since sometimes it's just a good way to
1801 gather statistics.
1803 * Fixed YODA mapping to allow use of vectors of bins as Python
1804 lists.
1806 * Added Profile1D functionality.
1808 * Fixed Dbn1D to use sign(weight) as part of the "w**2" measure,
1809 so that negative weights behave themselves.
1811 2008-05-23 Andy Buckley <andy@insectnation.org>
1813 * Added Dbn1D class to centralise the calculation of statistics
1814 from unbounded, unbinned, weighted distributions.
1816 2008-05-15 Andy Buckley <andy@insectnation.org>
1818 * Added Profile1D class.
1820 * Fixed NaN errors from zero weights.
1822 2008-04-14 Andy Buckley <andy@insectnation.org>
1824 * Python SWIG interface now compiles and can be used: the subtlety
1825 that was breaking it was that SWIG has to be prodded in pretty
1826 non-obvious ways to make std::vectors of classes without
1827 default (no-arg) constructors. See
1828 http://osdir.com/ml/programming.swig/2004-04/msg00011.html for
1829 about the only reference to this to be found anywhere!
1831 * Basic AIDA writer now available - it doesn't yet output all the
1832 necessary information though, especially not for merging parallel
1833 runs.