Commit Graph

77 Commits

Author SHA1 Message Date
79c8be54bf update of the copyright info. 2024-02-03 19:58:11 +01:00
fe32046c21 updated the copyright info. 2023-01-05 10:24:31 +01:00
f3414f687c replaced sprintf -> snprintf throughout. 2022-11-05 20:16:44 +01:00
27fe3ff5fd fix the discontinuity encountered at large t when sigma+/- is large
- Though the discontinuity encountered in the previous version is small (because of the large Gaussain damping terms), it introduced considerable numeric instability when fitting. Consequently, simply zeroing the already heavily damped is sensible and yeilds smooth behaviour of the function.
- Also ensure that the return value for the odd frequency component is always finite.
2022-01-10 17:13:11 +01:00
fdc9ac8e7e improvements to PTheory::SkewedGauss
- Divide the function evaluation into even/odd frequency components. Some additional "helper" terms have been added to aid in this.
- Use a better value to check for floating-point overflow in the evaluation of ROOT::conf_hyperg and return std::numeric_limits<Double_t>::max() when necessary. This extends the function's range of validity to arbitrary time (whereas the previous implementation would fail loudly for large sigma+/-).
- Format the src with clang-format.
2022-01-10 14:20:08 +01:00
e6e951e8f4 update the copyright info. 2021-03-29 08:22:38 +02:00
10271dab9a update of the copyright info. 2020-04-29 09:05:40 +02:00
795cd75b1e modernized code to C++11 and newer.
This allows to analyze the code by external code analyzers. Since a lot is adopted,
the version is changed to 1.4.3
2019-04-16 15:34:49 +02:00
e6d424e900 removed outdated 'register' from code. 2019-04-04 15:52:21 +02:00
c7e35dfdff Make so far undocumented functions ifgk and ifll public and at the same time properly normalize them. 2019-01-18 10:35:26 +01:00
c2f5d01beb fixed an ugly mistake in the opimization of the non-analytic LF integrals. 2017-10-04 16:48:31 +02:00
07aa67a1a2 fixed a little annoying bug in the LF none-analytic integral estimate. 2017-02-21 11:28:53 +01:00
ee064fc504 Added the theory function muMinusExpTF for mu minus fits 2016-04-22 10:56:52 +02:00
e0e4a1e17e added user function for GbG LF 2016-03-14 11:30:06 +01:00
8e399fa04e first steps towards asymmetry RRF fit. 2016-01-15 17:16:07 +01:00
da93db557f small correction of the skewed Gaussian for extrem parameter values. 2015-06-25 08:36:26 +02:00
76f39229f4 added new internal field functions. 2014-02-07 17:03:06 +01:00
f51152c4a3 config level fix for Mac OS X 10.9 (Mavericks). Optimize Noakes-Kalvius formulae. Update of docu. 2013-12-16 07:54:46 +00:00
3443820e83 add a stretched Kubo-Toyabe function to the PTheory class, including an update of the docu. Motivated by Z. Salman, which also provided a patch, which needed some improvements. 2013-09-10 09:03:21 +00:00
22c7702cfe docu updated 2013-01-15 12:25:48 +00:00
9095f82c33 some additional parameter checks 2012-09-12 08:25:27 +00:00
be9457281d prevent dynamic LF to allocate too much memory 2012-08-28 11:23:59 +00:00
c713a367d6 added Noakes-Kalvius function 2012-05-31 09:02:05 +00:00
99c24a146d added negative muon fitting support. Fixed at the same time bugs related to logx/logy plotting. Allow now comments after functions in the FUNCTION block. 2012-04-24 10:52:20 +00:00
138e7ba369 first implementation of MusrRoot. Cleaner handling of Red/Green mode data. General cleanup 2012-03-22 07:00:34 +00:00
d9f1f1235e added expected chisq calculation for single histogram fits (MUSR-194) 2011-07-09 16:26:42 +00:00
f75194750c Prevent crash when a non-existing userFcn is called from an existing library (MUSR-159) 2011-06-14 13:15:09 +00:00
c6912f2efe Small cosmetic changes 2011-05-23 12:44:18 +00:00
708cb0115b Remove some includes left over from previous testing sessions 2011-05-21 14:52:25 +00:00
1b5c1df691 Fixed a bug in the LF calculations and parallelized the chi^2 calculations in single-histogram and asymmetry fits 2011-05-21 14:11:00 +00:00
f4d6e349fe added the option to split a user function into a global and run-block related part (see MUSR-134) 2010-11-10 13:13:00 +00:00
e94d869534 improved handling of LF, including bug fixing. 2010-08-05 14:20:49 +00:00
f938e4ed27 more docu, and a bug fix in the Abragam function 2010-06-02 20:18:22 +00:00
73b70defaa some more work on the encapsulation 2009-11-03 08:28:27 +00:00
2a03bb7f61 changed variables to comply with the ROOT standards. Error messages now sent to stderr rather than stdout 2009-10-30 08:29:27 +00:00
33222b675c started with the encapsulation of the data structure which should reduce the number of crashes and help to reduce memory leaks 2009-10-07 12:26:41 +00:00
b2a572b790 fixed a bug in the spin glass function for negative times 2009-10-02 15:18:59 +00:00
8ec9c10a24 made writting mlog-file BMW tighter (MUSR-82), and moved the all parameter == 0 to the appropriate place (MUSR-83) 2009-06-25 06:36:08 +00:00
93e6e7d059 make dynamic functions user saver, i.e. stupid parameters will not lead to a crash MUSR-46 2009-06-17 05:59:37 +00:00
d21be88ad6 implemented the BMW approximation for dyn. Lorentz KT LF for parameters nu, w0 >> a. Minor change in asymmetry output 2009-06-16 05:48:12 +00:00
97ef877c64 proper recursevely tree cleanup 2009-05-05 13:04:37 +00:00
dd4b993e7b some minor improvements in the handling of LF 2009-04-27 14:22:30 +00:00
99dedce540 some memory leak 'fixes' 2009-04-20 14:12:26 +00:00
01ee7c0196 fixing typo, adding eventFilters, etc. see (MUSR-44 in the tracker) 2009-04-20 06:50:06 +00:00
659ab86f15 fixed a varity of unsigned int bugs. Furthermore fixed the swap msr<->mlog bug 2009-04-08 15:21:00 +00:00
8a5501ed71 fixed unsigned int problem 2009-04-08 14:06:15 +00:00
2e4763b9b0 added some additional BMW checks 2009-04-02 19:22:21 +00:00
229d7c7709 added StaticLorentzKT to PTheory 2009-03-23 06:19:33 +00:00
6e35fd0292 added first dynamic Lorentz KT version. Needs still some exhausting testing 2009-02-27 11:50:51 +00:00
0fc7f8c4bf added dynamic Gauss KT 2009-02-27 09:45:52 +00:00