Commit Graph

1842 Commits

Author SHA1 Message Date
suter_a 57596ca441 fixed several copy/paste errors which prevented sometimes averaging and instead crashed. 2022-04-25 15:32:15 +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
suter_a faffaec6ac fixed a typo. 2022-03-04 11:25:28 +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
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
suter_a 06389416a6 replace deprecated QFontDatabase by the new static functions. 2021-12-05 16:45:53 +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
suter_a c75427513f adopted the the new dyld on macOS Monterey. 2021-11-05 14:06:20 +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
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. 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
suter_a df03277c4c removed debug info from phase detection. 2021-09-22 09:54:25 +02:00
suter_a 00398c7fa9 fix phases to +-360 degree. 2021-09-22 08:09:18 +02:00
suter_a d357b9ad2f add missing include directory path in cmake. Thank's to Akihiro Koda for reporting the bug and proposing the fix. 2021-09-21 07:52:58 +02:00
suter_a 4cc1dbecd1 increased the PippardFitter version number. 2021-08-19 07:53:11 +02:00
suter_a 5f4125bca9 added some necessary include paths. 2021-08-19 07:52:22 +02:00
suter_a ef4fae3ef7 adopt for proper git-info handling. 2021-08-18 19:17:57 +02:00
suter_a d332bffd29 added some docu. 2021-08-18 19:17:18 +02:00
suter_a 4a2d865282 add the option to dump the nonlocal field values for the ASlibs via the programm dump_nonlocal_field. 2021-08-18 16:57:29 +02:00
suter_a c6c7deec9c make PSI bulk MusrRoot files accessible if the file name is generated from the run-number, year, etc. 2021-07-28 13:22:42 +02:00
prokscha 341fa9f77c Removed MuTransistion from tests directory. 2021-07-20 10:51:10 +02:00
suter_a ef1f323f07 fixed another git-revision.h which was forgotten. 2021-07-12 16:30:31 +02:00
suter_a 47e7ba2c70 some fixes on the qt5 side for a none-git project source. 2021-07-12 16:23:33 +02:00
suter_a 8faa501db7 more work on the none git source version. 2021-07-12 16:00:19 +02:00
suter_a 2f11d131c7 some more work on the none git source version. 2021-07-12 15:49:01 +02:00
suter_a daa2ea1347 make sure that git repo info is only added if the musrfit project source is indeed a git repo, and not e.g. a download. 2021-07-12 15:34:07 +02:00
suter_a f41c633bfe add mupp plotter export function. 2021-07-05 17:43:32 +02:00
suter_a 66fee6a1b3 lift #forward == #backward restriction. 2021-06-16 19:55:43 +02:00
suter_a ab29dedb77 lift #forward == #backward restriction. 2021-06-16 17:58:40 +02:00
suter_a b2bb863e9d remove obsolete test. 2021-06-16 17:57:28 +02:00
suter_a 927f2e83c2 improve the readability of the time with packing in the code. 2021-06-07 18:34:36 +02:00
suter_a 5bd5c08f39 adopted to the not quite standard ISIS NeXus files. 2021-06-05 10:51:19 +02:00
suter_a f4232057b8 perform a more robust casting. 2021-06-02 12:29:00 +02:00
suter_a 90725dbf58 removed unnecessary check. 2021-06-02 12:28:24 +02:00
suter_a eae35a750d updated mud to the newest version and made it Apple Silicon M1 ready. 2021-06-01 17:09:37 +02:00
suter_a 8cce005fd5 add info on how musrfit is compiled Debug or Release. 2021-05-21 07:44:50 +02:00
suter_a 86459e586d changed MuSR_td_PSI_bin in order to read old data. Not yet tested. 2021-04-19 11:58:24 +02:00