Commit Graph

81 Commits

Author SHA1 Message Date
e891f0489a 1st full Gauss/Lorentz LF. Still room for optimization, and further testing. 2025-06-10 14:33:37 +02:00
ea776016b4 add simple F-mu-F to the standard theory functions. 2025-06-10 14:33:00 +02:00
7a923d2f01 start adding more standard theory functions. Not all ready yet. 2025-06-10 14:32:45 +02:00
44821cb8cd updated the copyright info. 2025-01-30 12:00:49 +01:00
17339e191d updated copyright info. 2024-02-07 15:29:08 +01:00
a356534e6a updated the copyright info. 2023-01-05 11:04:42 +01:00
e32aa61643 replaced sprintf -> snprintf throughout. 2022-11-25 10:16:20 +01:00
0c4b33b056 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-11 08:45:01 +01:00
aacad8e7ad 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-11 08:44:50 +01:00
a7b540cfdb update of the copyright info. 2021-03-29 08:30:43 +02:00
b6dba8965b update of the copyright info. 2020-04-30 17:46:10 +02:00
c64c74dbf8 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

Conflicts:
	src/classes/PFitter.cpp
	src/classes/PFourier.cpp
	src/classes/PMsrHandler.cpp
	src/classes/PMusrCanvas.cpp
	src/classes/PRunAsymmetry.cpp
	src/classes/PRunAsymmetryRRF.cpp
	src/classes/PRunListCollection.cpp
	src/classes/PRunSingleHisto.cpp
	src/classes/PRunSingleHistoRRF.cpp
	src/classes/PStartupHandler.cpp
	src/include/PFourier.h
	src/include/PRunListCollection.h
	src/musrFT.cpp
2019-04-24 17:44:58 +02:00
ac1d52a054 removed outdated 'register' from code. 2019-04-04 16:06:59 +02:00
7ace2e7d35 Make so far undocumented functions ifgk and ifll public and at the same time properly normalize them. 2019-01-21 14:48:07 +01:00
bb13025185 fixed an ugly mistake in the opimization of the non-analytic LF integrals. 2017-10-04 17:00:58 +02:00
6cae76f1c1 fixed a little annoying bug in the LF none-analytic integral estimate. 2017-02-21 11:39:22 +01:00
be9498f37d added muon minus specific function: muMinusExpTF/mmsetf 2016-04-25 12:05:42 +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
nemu
d9f1f1235e added expected chisq calculation for single histogram fits (MUSR-194) 2011-07-09 16:26:42 +00:00
Bastian M. Wojek
f75194750c Prevent crash when a non-existing userFcn is called from an existing library (MUSR-159) 2011-06-14 13:15:09 +00:00
Bastian M. Wojek
c6912f2efe Small cosmetic changes 2011-05-23 12:44:18 +00:00
Bastian M. Wojek
708cb0115b Remove some includes left over from previous testing sessions 2011-05-21 14:52:25 +00:00
Bastian M. Wojek
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
nemu
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
nemu
e94d869534 improved handling of LF, including bug fixing. 2010-08-05 14:20:49 +00:00
nemu
f938e4ed27 more docu, and a bug fix in the Abragam function 2010-06-02 20:18:22 +00:00
nemu
73b70defaa some more work on the encapsulation 2009-11-03 08:28:27 +00:00
nemu
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
nemu
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
nemu
b2a572b790 fixed a bug in the spin glass function for negative times 2009-10-02 15:18:59 +00:00
nemu
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
nemu
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
nemu
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
nemu
97ef877c64 proper recursevely tree cleanup 2009-05-05 13:04:37 +00:00
nemu
dd4b993e7b some minor improvements in the handling of LF 2009-04-27 14:22:30 +00:00
nemu
99dedce540 some memory leak 'fixes' 2009-04-20 14:12:26 +00:00
nemu
01ee7c0196 fixing typo, adding eventFilters, etc. see (MUSR-44 in the tracker) 2009-04-20 06:50:06 +00:00
nemu
659ab86f15 fixed a varity of unsigned int bugs. Furthermore fixed the swap msr<->mlog bug 2009-04-08 15:21:00 +00:00
nemu
8a5501ed71 fixed unsigned int problem 2009-04-08 14:06:15 +00:00