1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-14 17:55:37 +00:00
Commit Graph

261 Commits

Author SHA1 Message Date
d1666a1e75 compiler compatibility fixes (clang, GCC 5, Intel 2016) 2016-04-07 20:10:47 +01:00
19de6290d1 giving up on having no implicit sign conversion, it is too cumbersome with Eigen using signed indices 2016-04-07 14:52:33 +01:00
08418fbc24 minor code cleaning 2016-04-07 14:51:50 +01:00
5d4d518e04 include cleaning and copyright update 2016-04-06 20:11:23 +01:00
3611d12fa9 internal random generator entirely removed, use C++11 generators 2016-04-06 20:04:23 +01:00
ebc676e577 Merge branch 'master' into new_fit
# Conflicts:
#	lib/Plot.hpp
2016-04-06 18:40:14 +01:00
11d9aa4747 matrix heatmap plot range fix 2016-04-06 18:38:37 +01:00
ed8398145a fit: lookup table optimisation after profiling 2016-04-06 18:34:33 +01:00
69ac2d5c82 FitInterface: test functions for correlations 2016-04-06 18:32:11 +01:00
c52c80ceae Merge branch 'master' into new_fit 2016-04-05 20:56:30 +01:00
ed4dd14504 function to convert a variance matrix into a correlation matrix 2016-04-05 20:56:21 +01:00
27bc092f55 fit: various fixes 2016-04-05 20:55:11 +01:00
681d6589e2 Merge branch 'master' into new_fit 2016-04-05 15:57:32 +01:00
257c430745 I/O for DSample type 2016-04-05 15:57:19 +01:00
3d86708e6f XY*Data: helper methods for unidimensional data 2016-04-05 14:29:57 +01:00
2fca987e8f FitInterface: control of SVD tolerance 2016-04-05 14:29:34 +01:00
939520db24 fit: coordinate buffering forced to be const 2016-04-05 14:29:12 +01:00
f83ee5bf6c matrix heatmap plot 2016-04-05 12:51:00 +01:00
41ea5c984e FitInterface: methods to set global correlations 2016-04-05 12:50:02 +01:00
d0ef32fb9e NloptMinimizer: more precise output 2016-04-05 11:50:45 +01:00
07bacf0e4b new fit: partial residuals and plots 2016-04-04 19:09:18 +01:00
f82b20dc73 code cleaning + derivative support for NLopt 2016-04-04 14:56:21 +01:00
2de5a9440b interface to NLopt minimisers (tested and working) 2016-04-01 21:40:22 +01:00
ca73ef1269 minimiser interface improvement 2016-04-01 21:39:49 +01:00
c294553991 XY data: user can pass a sequence of minimisers to perform a fit 2016-04-01 21:38:49 +01:00
b3c2b17eef support for variable naming for function, model and data 2016-03-31 12:12:30 +01:00
d699e9e564 code cleaning 2016-03-23 17:16:50 +00:00
9b9c86cf72 simplification of the Minuit minimiser interface, (successful) test of the new fit interface 2016-03-23 17:08:25 +00:00
ee8ed05b81 various critical fixes and improvements to the new fit interface 2016-03-23 17:07:31 +00:00
3793aca27c lot of fixes, XYSampleData fit now seems to work (more checks are probably needed) 2016-03-16 20:03:32 +00:00
1f2150a42a first implementation of the new XYSampleData (to be tested) 2016-03-16 18:33:51 +00:00
1e874ebb04 method to copy FitInterface 2016-03-16 18:33:30 +00:00
313a730bb2 minor code cleaning 2016-03-16 18:33:06 +00:00
2eb70aa975 Minuit simplex minimiser is very inefficient, replaced it by Migrad for pre-minization 2016-03-16 13:07:01 +00:00
9bc9288dfb XYStatData: various fixes and improvement, fit is now working 2016-03-16 13:05:56 +00:00
9f67ead605 XYStatData (new): fit implemented (TO BE TESTED) 2016-03-15 19:13:20 +00:00
b165a98a93 FitInterface data layout complete, first version of the new XYStatData 2016-03-15 16:38:57 +00:00
a4b1584645 FitInterface (new): covariance matrix interface & layout 2016-03-10 18:43:53 +00:00
624fb36957 FitInterface (new): total x dimension fit size fixed 2016-03-10 15:34:38 +00:00
325a6d3db1 Merge branch 'master' into new_fit 2016-03-10 15:11:48 +00:00
7f8eacc95d more includes cleaning 2016-03-10 15:11:36 +00:00
c535d261ea FitInterface (new): first (tested) version of data layout 2016-03-10 15:10:23 +00:00
9730dafe62 Merge branch 'master' into new_fit 2016-03-08 19:39:16 +00:00
c6a8a1571b minor code cleaning 2016-03-08 19:39:05 +00:00
917031747f first commit for the new fit interface 2016-03-08 19:37:51 +00:00
352caf30b6 more deactivation of the old fit interface 2016-03-08 19:37:02 +00:00
016a29e3df removing old fit module 2016-03-08 16:23:18 +00:00
a435caeecb fits: covariance matrix is inverted using pseudoinverse, the interface allows to se the SVD tolerance 2016-02-29 19:50:28 +00:00
6657cba5c8 Plot: minor fix in temporary file management 2015-12-09 18:12:39 +00:00
ff968efd94 slight optimisation of the quadratic interpolation 2015-12-02 18:10:10 +00:00
e950e18639 method to get fit p-value from fit interface 2015-11-25 18:29:31 +00:00
9be76b11d7 Histogram: percentiles & confidence interval 2015-11-24 16:27:47 +00:00
3f28430e4a Merge pull request #3 from mspraggs/master
TabFunction: Added optional interpolation type argument
2015-11-19 14:16:37 +00:00
a4999a53fd IO: code improvement 2015-11-18 19:46:52 +00:00
4f2e87cf4f Hdf5File: random generator state I/O fix 2015-11-18 19:46:08 +00:00
Matt Spraggs
dccdefa238 Merge branch 'master' of github.com:aportelli/LatAnalyze3 2015-11-13 16:25:57 +00:00
abd8bfc91c Minimizer: limit initialisation fix 2015-11-13 16:25:16 +00:00
Matt Spraggs
aa1ae67b60 Merge branch 'master' of github.com:aportelli/LatAnalyze3 2015-11-13 14:31:21 +00:00
aeda59adfa dimension resized automatically for solvers 2015-11-13 14:30:10 +00:00
Matt Spraggs
9427e8dd16 TabFunction: Fixed bug in quadratic interpolation 2015-11-12 13:14:44 +00:00
Matt Spraggs
512494aed9 TabFunction: Added comment for quadratic interpolation. 2015-11-10 12:27:48 +00:00
Matt Spraggs
bb044da413 TabFunction: removed trailing semicolon 2015-11-10 12:24:47 +00:00
Matt Spraggs
64372eb9dc TabFunction: Implemented quadratic interpolation 2015-11-10 12:23:29 +00:00
Matt Spraggs
ff49304137 Updated nearest interpolation to use equal_range function. 2015-11-09 23:04:09 +00:00
Matt Spraggs
de7bdc68a4 TabFunction: Added optional interpolation type argument 2015-11-09 00:26:10 +00:00
ae62a3225d IO: polymorphic file opening 2015-11-04 17:30:52 +00:00
1b0bdf074a HDF5: compatibility fix for pre-C++11 ABI 2015-11-03 15:57:01 +00:00
f251769a1c Math: chi^2 p-value function from GSL 2015-11-02 16:17:59 +00:00
7561d419a3 license text update 2015-10-07 19:03:41 +01:00
f9fcf25012 IO: stricter control of data names 2015-10-07 19:03:19 +01:00
Matt Spraggs
134f8245ff Hdf5File: Added some code to sanitize group names
Currently you can pass in relative paths with slashes in, and this
upsets HDF5's createGroup function.
2015-10-01 22:39:22 +01:00
Matt Spraggs
9c52fa104b Hdf5File.cpp: fixed bug in determination of first group name 2015-10-01 21:38:17 +01:00
5e3247697d first implementation of HDF5 format 2015-10-01 00:13:34 +01:00
c672c33189 histogram class and associated plotting functions 2015-09-28 18:18:54 +01:00
918e1c7ce8 MathInterpreter: include pi as a constant, fix in function call 2015-09-28 18:18:13 +01:00
ccce7b11c0 Plot: use of new mkdir function from LatCore 2015-09-28 16:32:37 +01:00
2b0d75c012 ASCII data: lexer compatibility fix 2015-09-08 11:34:40 +01:00
af3023038b Minuit minimiser: interface to choose algorithm 2015-08-07 16:10:03 +02:00
6202ed4518 Plot: more ways to plot data 2015-07-07 18:50:36 +01:00
cebf2334fa XY datatypes: tools to get residuals or partial residuals from a fit 2015-07-07 18:50:03 +01:00
59bb3fb78c Functions: more binding utilities 2015-07-07 18:49:22 +01:00
57d4bfb4f8 Fit: various fixes in indexing for error-on-variable chi^2 2015-06-26 20:34:48 +01:00
1f21f7fb81 Plot: head command object 2015-06-26 20:33:57 +01:00
897dae5b2f compatibility fix: __unused changed to __dumb 2015-06-15 15:20:29 +02:00
cb45b34ddc code cleaning and GCC compatibility 2015-06-15 14:59:10 +02:00
3e6b0edce1 copyright update 2015-06-11 14:04:54 +01:00
bd770cebb5 code cleaning 2015-06-11 14:03:41 +01:00
389a52374c portability fixes 2015-05-23 14:44:43 +01:00
7f2c8b6742 Plot: now handling gunplot through a forked process to allow interactivity (default terminal is now 'qt') 2015-05-13 17:38:47 +01:00
a9bb53bc1b StatArray: correlation matrix calculation 2015-05-13 17:35:10 +01:00
b7a5dd51de Mat: header name fix 2015-03-20 16:18:23 +00:00
f2a47c3697 File: default mode switched to write 2015-03-20 16:05:59 +00:00
b90d410e6b StatArray: ambiguity removed in mean function 2015-03-20 16:05:11 +00:00
d93f75dac6 DoubleFunction: memory fixes 2015-02-26 18:50:56 +00:00
465499626b overhaul of the function class 2015-02-24 17:00:19 +00:00
b061e9093f less warnings in third-party code 2015-02-24 16:59:22 +00:00
232c9b7948 LatCore compatibility 2015-02-24 16:57:15 +00:00
cbb67c992f Dataset: integral conversion fixes 2015-02-13 15:26:23 +00:00
60a010b592 Plot: horizontal lines and axis labels 2015-02-13 15:26:00 +00:00
80ec189b91 MinuitMinimizer: various fixes related to limits 2015-01-28 17:22:12 +00:00
da8f394398 Function: function call fix 2015-01-28 17:21:07 +00:00
c1b8597ecc AsciiFile: double precision writing 2015-01-28 17:20:51 +00:00
9c6dedd3d6 Model: binding functions 2015-01-28 17:19:57 +00:00
c0d717bcb6 Derivative: function is now just a pointer 2015-01-28 17:19:33 +00:00
ee8be4f004 FitInterface: unnecessary resizing in copy function 2015-01-28 17:17:28 +00:00
dd43786189 fix in discrete random generator return type 2015-01-28 17:16:05 +00:00
0e1ef33954 integral factorial function 2015-01-28 17:15:26 +00:00
3f812ee514 namespace macro refactoring to avoid conflicts 2015-01-28 17:15:05 +00:00
583fd05edf missing file in Makefile.am 2015-01-28 17:09:22 +00:00
8b1cd8f43a allow '/' in data name 2014-10-21 17:36:46 +01:00
89cf008fb8 minor fixes 2014-10-14 16:36:20 +01:00
9e6bbd95c3 Minimizer: limits interface 2014-10-14 16:34:27 +01:00
bf3fe8bd13 Compiled function: access to source code 2014-09-29 15:10:38 +01:00
bbeaec9ed3 Math interpreter: significant improvement of runtime context handling 2014-09-26 18:41:30 +01:00
0fdd76b19d numerical derivative class with arbitrary improvement order and step auto-tuning 2014-09-26 18:40:52 +01:00
4d19c23400 first root finder class implementation 2014-09-22 15:19:30 +01:00
8188a5541f missing headers 2014-09-18 17:19:07 +01:00
36ef20c929 improvement of Minuit minimizer 2014-09-18 17:18:51 +01:00
d70d84862d class for linearly interpolated functions 2014-09-18 17:18:15 +01:00
c70008b895 DoubleFunctionSample: constructor inheritance removed 2014-09-18 17:16:49 +01:00
c0bfb12bd7 XY*Data: dog is now a double 2014-09-18 17:15:56 +01:00
05f5223d31 MatSample: scalar operators fix 2014-09-18 17:15:27 +01:00
674263dde7 Plot: function to save plots 2014-09-18 17:13:26 +01:00
b17e2c0c3c function to read file lists and progress bar class 2014-06-04 14:43:36 +02:00
c9a008aaf7 minor code cleaning 2014-06-03 13:40:19 +02:00
41aac911ac DoubleFunction: arithmetic operators 2014-06-03 13:32:29 +02:00
a29a4bde21 Plot: caption modifier 2014-06-02 17:04:20 +02:00
78372fb18a Plot: band plot and terminal option 2014-04-18 11:29:17 +01:00
dfe6240c14 DoubleFunctionSample: more call operators 2014-04-18 11:28:51 +01:00
62d395e8e2 Plot: code cleaning 2014-04-17 12:19:13 +01:00
98567eb4d6 FitInterface: more convenient function to assume correlated data 2014-04-17 12:18:49 +01:00
39012e4b73 GSL integrator added - LatAnalyze now depends on GSL 2014-04-17 12:18:11 +01:00
2af61252b6 Math: integer power function 2014-04-15 17:35:01 +01:00
086c49237d alias for complex number samples 2014-04-15 17:29:54 +01:00
f9ffc17a5f SampleFitResult: constructor inheritance removed 2014-04-15 17:29:36 +01:00
47e159e041 significant optimisation of the math interpreter using integer address tables for variables and functions 2014-04-08 19:48:52 +01:00
b0f6c30445 XmlReader: interface for direct access to XML nodes 2014-04-08 19:48:03 +01:00
9b6ad8d56c StatArray: safer statistical functions 2014-04-08 19:47:09 +01:00
38da863801 more strTo specialisations 2014-04-08 19:46:37 +01:00
a6b96b34bb more templatisation/cleaning of data types 2014-04-07 19:29:47 +01:00
f79533c5ce rewriting of matrix sample class as a pure template with scalar operations 2014-04-07 18:08:52 +01:00
10ca7d1d29 more matrix type aliases 2014-04-07 15:56:39 +01:00
749818d9cc Function classes: default function replaced by nullptr 2014-04-07 15:56:08 +01:00
dc659991d0 XmlReader: additional reading functions 2014-04-07 15:55:31 +01:00
5787cf0544 Minuit message for invalid minimisation 2014-04-03 10:04:59 +02:00
0ae8adc013 XmlReader: more safety 2014-04-03 10:04:34 +02:00
9a415017c8 XY*Data: variadic functions for fit 2014-04-03 10:03:46 +02:00
166ed550ae pi constant 2014-04-03 10:02:28 +02:00
1d9769adbc global functions to read vectors 2014-04-03 10:02:06 +02:00
6a1031a8c0 Plot: method to reset plot 2014-04-03 10:00:53 +02:00