Commit Graph

331 Commits

Author SHA1 Message Date
1aa7e6941f improved rounding handling to get a more consistent expected chisq after fitting compared to pure chisq estimate of musrfit. Essentially get rid of rounding issues. 2025-07-03 09:38:34 +02:00
832a74e0b5 added a feature which brings up a error message box, if there was any issue with the msr-file when starting musrview from musredit. 2025-06-29 09:04:45 +02:00
0b1c9e53c6 (i) make most internal checking functions in the msr handler private. (ii) improved checking of real Fourier for consistency. 2025-06-23 16:02:07 +02:00
18bf65a231 changed theory functionc abbriviation 'if' to 'ifld'. 2025-06-10 13:23:03 +02:00
ecec59c8a3 1st full Gauss/Lorentz LF. Still room for optimization, and further testing. 2025-06-06 10:21:09 +02:00
eb98c9727c add simple F-mu-F to the standard theory functions. 2025-06-05 10:41:12 +02:00
079baa3edf start adding more standard theory functions. Not all ready yet. 2025-06-04 17:39:02 +02:00
4b6654ca2a add title to PRawRunDataSet. 2025-03-19 09:44:13 +01:00
4a20d805dd updated the copyright info. 2025-01-30 11:15:42 +01:00
124a31386c add a new tag PMUSR_UNSUPPORTED_FEATURE 2025-01-27 17:58:42 +01:00
ae95a5dc1c implemented unary operator for metaData in functions. 2024-10-11 16:34:49 +02:00
64d3b6192b added the option to write the content of the MINUIT2.OUTPUT ascii file as yaml. This extends the previous commit from Ryan M.L. McFadden. 2024-06-18 11:16:15 +02:00
26e25ce10b fixed a fruther bracket bug. 2024-04-20 17:39:18 +02:00
834884f3a4 improved variable description. 2024-04-19 12:36:24 +02:00
79c8be54bf update of the copyright info. 2024-02-03 19:58:11 +01:00
23ac67a443 add an option to musrfit which allows to replace to musrfit_startup.xml by the default one. 2023-11-11 18:26:25 +01:00
890d48a95c switched PRunBase where possible to smart pointers. 2023-10-21 18:46:24 +02:00
05c06a071e switched PMusrT0 where possible to smart pointers. 2023-10-21 18:34:55 +02:00
dbfadc4e42 switched PMusrCanvas where possible to smart pointers. 2023-10-21 17:47:32 +02:00
0bff931af9 switch to smart pointers in PMsr2Data where possible. 2023-10-21 13:32:44 +02:00
1a72d67be9 switched PFitter to smart pointers. 2023-10-21 11:39:16 +02:00
7e17af0256 switched PMsrHandler where possible to smart pointers. 2023-10-21 11:21:27 +02:00
4b561b1f15 get rid of raw pointers for PFourierCanvas where it makes sense. 2023-10-18 14:21:15 +02:00
22178f7869 improved search run, allowing to look for a specific file format in case the run is saved in multiple different file formats. 2023-08-30 15:05:56 +02:00
9e88ddb989 Merge remote-tracking branch 'origin/depthProf' into root6 2023-02-17 07:39:17 +01:00
fe32046c21 updated the copyright info. 2023-01-05 10:24:31 +01:00
8a6e4dca6f allow to draw theory only at the data points for PRunNonMusr. 2023-01-05 07:59:15 +01:00
a31da8df70 add new inline function GetNoOfRgeDataSets(). 2022-12-21 07:51:40 +01:00
137a3f17c9 move on to modernize towards modern c++. 2022-05-31 12:32:58 +02:00
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
eefc49bd25 add search facility for runs via musrfit_startup.xml template entries. 2022-05-28 14:05:55 +02:00
4aa903b879 replace the run-list handling through the already existing handler class PStringNumberList. 2022-04-27 16:45:33 +02: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
a3bcbefebe use the Particle Data Group's recommended value for the muon lifetime 2022-01-11 11:34:29 +01:00
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