Commit Graph

2149 Commits

Author SHA1 Message Date
Zaher Salman c585fedb63 Merged muonspin/musrfit:root6 into master 2022-06-01 09:37:18 +02:00
suter_a 137a3f17c9 move on to modernize towards modern c++. 2022-05-31 12:32:58 +02:00
Zaher Salman 374367bee8 Merged muonspin/musrfit:root6 into master 2022-05-29 19:02:39 +02:00
suter_a 7e830a0c12 update of the docu. v1.8.0 2022-05-29 12:52:13 +02:00
suter_a e0ec00deab update ChangeLog 2022-05-29 11:31:41 +02:00
suter_a 06d20d4086 adopted to new PSI-BIN lib. Added facility for finding runs via musrfit_startup.xml templates. 2022-05-28 14:10:15 +02:00
suter_a 56820e498f refactor PSI-BIN lib. Fix a couple of bugs and start to adopt to more modern c++. 2022-05-28 14:08:04 +02:00
suter_a eefc49bd25 add search facility for runs via musrfit_startup.xml template entries. 2022-05-28 14:05:55 +02:00
suter_a 0625bc008f fixed a typo, and tell the user if the file format info is not provided MusrRoot is assumed. 2022-05-27 13:14:30 +02:00
Zaher Salman e1c9a61251 Merged muonspin/musrfit:root6 into master 2022-04-29 10:43:35 +02:00
Andreas Suter f47fdf7e54 use proper return value (int) rather than bool. 2022-04-29 07:56:38 +02:00
Zaher Salman 6e9d8b3e35 Merged muonspin/musrfit:root6 into master 2022-04-28 09:50:19 +02:00
suter_a 4aa903b879 replace the run-list handling through the already existing handler class PStringNumberList. 2022-04-27 16:45:33 +02:00
Zaher Salman e37dede866 Merged muonspin/musrfit:root6 into master 2022-04-27 10:46:43 +02:00
suter_a 57596ca441 fixed several copy/paste errors which prevented sometimes averaging and instead crashed. 2022-04-25 15:32:15 +02:00
Zaher Salman 0b93a08108 Merged muonspin/musrfit:root6 into master 2022-04-12 16:25:25 +02:00
suter_a 5361727583 NeXus: replaced deprecated NXgetnextattr by NXgetnextattra. 2022-04-12 15:01:59 +02:00
suter_a 9a92ec2d8e improved formated string handling to make compilers happy. 2022-04-11 16:18:36 +02:00
suter_a 17a31dfcc4 do not ignore the return value of system(cmd) anymore. 2022-04-11 16:10:00 +02:00
suter_a 9cc1957b2d added necessary include directory info for boost, for PRgeHandler. 2022-04-11 13:28:18 +02:00
Zaher Salman 326b3bea17 Merged muonspin/musrfit:root6 into master 2022-03-04 14:46:21 +01:00
suter_a faffaec6ac fixed a typo. 2022-03-04 11:25:28 +01:00
Zaher Salman aeaa698be2 Merged muonspin/musrfit:root6 into master 2022-01-11 14:34:03 +01:00
ext-mcfadd_r 3cc36bcb6d Merged in constants (pull request #12)
update the physical constants pertaining to the muon

Approved-by: Andreas Suter
2022-01-11 10:41:59 +00:00
ext-mcfadd_r a3bcbefebe use the Particle Data Group's recommended value for the muon lifetime 2022-01-11 11:34:29 +01:00
Zaher Salman 5bcc460cce Merged muonspin/musrfit:root6 into master 2022-01-11 11:05:00 +01:00
ext-mcfadd_r a13ee27b9a Merged in skewedgauss (pull request #13)
improvements to PTheory::SkewedGauss

Approved-by: Andreas Suter
2022-01-11 07:23:12 +00:00
ext-mcfadd_r 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
ext-mcfadd_r 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
ext-mcfadd_r c85a12b61e update the physical constants pertaining to the muon
- use the most recent/precise measurement of the muon's lifetime (MuLan experiment at PSI).
- define the gyromagnetic ratio in terms of the latest values for the fundamental physical constants (CODATA 2018).
2022-01-10 13:14:19 +01:00
Zaher Salman 6e4e9ab55e Merged muonspin/musrfit:root6 into master 2021-12-06 18:40:18 +01:00
suter_a 06389416a6 replace deprecated QFontDatabase by the new static functions. 2021-12-05 16:45:53 +01:00
Zaher Salman c4da2c4ec0 Merged muonspin/musrfit:root6 into master 2021-12-02 13:09:00 +01:00
suter_a 3a1247e3ec modernized the cmake <-> Qt handling. 2021-12-01 15:25:38 +01:00
suter_a c5e5bddd10 try re-create musredit_startup.xml in case it is corrupted. 2021-11-29 16:11:14 +01:00
suter_a c44ae75e15 get rid of deprecated dialogs and make them more uniform. 2021-11-29 15:39:34 +01:00
suter_a d682004467 remove obsolate qt6 musredit dialog. 2021-11-29 15:20:18 +01:00
Zaher Salman edbbb8fc45 Merged muonspin/musrfit:root6 into master 2021-11-05 15:01:19 +01:00
suter_a 7486637998 revision of ChangeLog. 2021-11-05 14:24:38 +01:00
suter_a c75427513f adopted the the new dyld on macOS Monterey. 2021-11-05 14:06:20 +01:00
Zaher Salman 3e6d55f0e8 Merged muonspin/musrfit:root6 into master 2021-11-01 08:22:44 +01:00
suter_a a34e9fe535 add a default y-range to the range option in the PLOT block. 2021-10-30 09:58:49 +02:00
suter_a 01ff382972 fixed a copy/paste error. 2021-10-30 09:56:15 +02:00
suter_a 7ff3391d61 fixed a copy/paste error. 2021-10-30 09:53:09 +02:00
Zaher Salman d9b29388d0 Merged muonspin/musrfit:root6 into master 2021-10-12 16:13:36 +02:00
suter_a c6602fb541 improved the error messages slightly. 2021-10-03 15:04:39 +02:00
suter_a 8274fb9d54 add option to musrfit that the user can choose from the command line the number of threads to be used for OpenMP. Updated the docu accordingly. v1.7.6 2021-10-02 19:41:45 +02:00
suter_a 4f0590fe10 allow to inspect how many cores are available for OpenMP. 2021-10-02 10:11:44 +02:00
suter_a 4f2041c141 allow to set the default size of musredit via the musredit_startup.xml. 2021-10-02 09:26:13 +02:00
Zaher Salman f94c43ccdf Merged muonspin/musrfit:root6 into master 2021-09-28 13:28:28 +02:00