300 Commits

Author SHA1 Message Date
a31da8df70 add new inline function GetNoOfRgeDataSets(). 2022-12-21 07:51:40 +01:00
c8c2df5eb8 add reading routine for the dat-files as generate from msr2data. Use case: special 'non muSR fit' type. 2022-03-15 15:47:37 +01:00
2d85d10b2f start adding CSV like data reading routine with the FileFormat label DAT. 2022-03-14 20:59:37 +01:00
Ryan M. L. McFadden
a3bcbefebe use the Particle Data Group's recommended value for the muon lifetime 2022-01-11 11:34:29 +01:00
Ryan M. L. McFadden
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
00398c7fa9 fix phases to +-360 degree. 2021-09-22 08:09:18 +02:00
21213a45eb add a central rge-handler which can be used by all user function classes. 2021-03-30 15:39:45 +02:00
e6e951e8f4 update the copyright info. 2021-03-29 08:22:38 +02:00
cc8ac60713 by changing the behaviour of the global parts of the class PUserFcnBase from pure virtual default NeedGlobalPart=false, the code can be simplified in many places. 2021-02-26 15:17:41 +01:00
66f3b48e2a musrview gets the new feature: calculate theory points only at data points. 2020-08-29 11:15:02 +02:00
0e2d880249 A single asymmetry plot allows to toggle the color of the theory function line by the key 't'. 2020-07-27 18:36:27 +02:00
7b6180a688 Functions can now not only operate on parameters and maps but also on meta information
obtained from the data files. Currently the following meta information can be accessed
if available:
field in (G): B or b
energy in (keV): En or en
temperature in (K): since some data files contain a vector of temperature, they have
                    to be accessed with an index, like T0 or t0, etc.
2020-06-17 19:31:31 +02:00
602a5a4e6c add field, temperature values from meta-data of the data-files to the runs. This will be needed if functions want to access this information (not yet implemented). 2020-06-13 16:13:44 +02:00
10271dab9a update of the copyright info. 2020-04-29 09:05:40 +02:00
fe7a1b7920 first full implementation of the sector command. 2020-02-03 20:54:23 +01:00
1fb1753d82 more work on the SECTOR command. CalcNoOfFitBins() needed to be changed from protected to public. 2020-02-02 17:12:08 +01:00
ed0bfd516b started to implement a chisq/maxLH sector command. Currently only the skeleton is in place. 2020-01-31 16:39:52 +01:00
3ae47bf5cb Correct typo 2019-05-14 11:35:02 +02:00
6498e0b0bc Preparing for merge with master 2019-05-01 12:56:33 +02:00
be8c809c6a Follow Andreas' code modernization for BNMR code and cleanup 2019-04-26 10:58:17 +02:00
Zaher Salman
e28b907fb7 Estimate alpha for beta-NMR asymmetry calculation from the ratio of B/F counts if no alpha line is given in the run block. 2019-04-26 09:18:24 +02:00
Zaher Salman
e3408ca5f5 Start substract asymmetry implementation. 2019-04-26 09:11:00 +02:00
Zaher Salman
9d76afdef9 Start substract asymmetry implementation. 2019-04-26 09:11:00 +02:00
Zaher Salman
bcd1c98ad2 More work towards implementation of beta-NMR asymmetry calculation 2019-04-26 09:11:00 +02:00
Zaher Salman
8346e8debb First successful compilation of AsymmetryBNMR 2019-04-26 09:08:52 +02:00
Zaher Salman
4ad524216f Start branch to develop full featured beta-NMR support 2019-04-26 09:06:28 +02:00
9d12700f39 added some additional error tags. 2019-04-25 20:22:43 +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
8485914b89 make msr-file comment consistent with the docu (for ifll and ifgk). 2019-01-22 14:15:43 +01: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
3c55a72475 allow to define the phase parameter lists in the Fourier block with a reference phase parameter. This means all the other phase parameters are then relative to this reference phase parameter. This is often used when analysing LEM data. 2018-11-12 20:35:10 +01:00
5909d59f32 allow multiple Fourier phase parameters for phase shifted real Fourier. Autophasing still missing. 2018-10-15 16:09:17 +02:00
5540b628c1 slight performance increase - missing header file. 2018-06-06 12:55:31 +02:00
1f73e808b5 improved the close canvas mechanism (from the global to the object level) 2017-11-30 22:02:25 +01:00
261691c040 fixed a typo 2017-02-21 14:55:04 +01:00
bcbed139f9 instead of copying musrfit_startup.xml to the appropriate directory, create it at run-time if needed. This has the advantage that each user will automatically create its own file. 2017-02-14 15:06:10 +01:00
5908d8791a back from __CLING__ to __CINT__ since the ROOT guys kept __CINT__ even though they are using cling?\! 2017-02-08 10:45:17 +01:00
ceb7aa6818 changed from legacy rootcint to the new rootcling ROOT dictionary generator. 2017-02-08 09:47:35 +01:00
5e28f465a4 replace all __CINT__ by __CLING__. 2017-02-07 16:08:52 +01:00
c3c01e5de0 cleaning up left-overs and improved the comments. 2016-12-22 17:04:48 +01:00
5d80c342e0 cleaned up some inconsistencies in the musrfit_startup.xml options 2016-12-18 10:39:43 +01:00
63516fc499 added a first version of a optimized phase correction for the real Fourier transform 2016-12-18 10:37:50 +01:00
c768c27898 for maxLH it is now possible to get the per-run-block maxLH, and the expected maxLH 2016-12-18 10:36:02 +01:00
b106ac61a1 added phase optimized Re FT for musrview. Still not perfect. 2016-12-07 17:02:18 +01:00
f7834aaead added class PFTPhaseCorrection which allows to calculate the phase optimzied real part of the Fourier transform. musrFT is already using it, for musrview it is still missing. 2016-11-29 11:16:45 +01:00
35198e46da marginal improved error estimate for single histo RRF 2016-05-06 16:58:43 +02:00
6c9adda7d2 made start-/endTimeBin class variables. 2016-05-03 11:19:16 +02:00
cb14afbe07 msr2data gets a new option paramList which allows to select the number of parameters to be exported. 2016-04-28 11:11:06 +02:00
b0bb5f94a5 changed const to variable due compiler issues. 2016-04-27 11:03:21 +02:00