ext-mcfadd_r
6263e9aba3
fix batch mode averaged output
...
closes issue #63
2024-09-12 11:02:09 +02:00
suter_a
a6a3d26cd2
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 12:56:21 +02:00
ext-mcfadd_r
78eb8653ce
write the fit results to an easy-to-read/parse yaml file
...
This patch adds routines for writing a comprehensive set of fit results (i.e., parameter values, parabolic errors, asymmetric errors, covariances, correlation coefficients, etc.) for an individual `.msr` file to an easy-to-read/parse `.yaml` file.
The main motivation for the code addition is to provide users with easy access to the fit's covariance matrix without the need for "extra" manual effort (e.g., parsing the contents of `MINUIT2.OUTPUT` or `MINUIT2.root`). The other fit quantities are also included for completeness.
Reading/accessing the output is trivial using, for example, the PyYAML Python library (https://github.com/yaml/pyyaml ):
```python
import yaml
with open("2125_tf_histo.yaml", "r") as fh:
results = yaml.load(fh, Loader=yaml.SafeLoader)
cov = results["covariance"]["Field_1"]["Sigma_1"]
```
Note: the naming conventions chosen for the blocks in the `.yaml` output closely follow those used by the iminuit Python library (https://github.com/scikit-hep/iminuit ).
2024-06-18 12:55:32 +02:00
suter_a
45d87bc645
modernize the way how to check/deal with OpenMP. This helps also on the macOS side.
2024-06-07 15:31:34 +02:00
suter_a
c9ecca0c19
got rid off some double brackets.
2024-04-20 18:18:32 +02:00
suter_a
1a5561b265
fixed a fruther bracket bug.
2024-04-20 17:52:22 +02:00
suter_a
65066596e8
improved bracket handling in function string generation.
2024-04-20 09:59:23 +02:00
suter_a
d66b2f383c
make sure that brackets are not lost in the function reconstruct, e.g. 1/(2*parX) is not going over into 1/2*parX.
2024-04-20 09:58:51 +02:00
suter_a
17339e191d
updated copyright info.
2024-02-07 15:29:08 +01:00
suter_a
fb7a3517e9
added some missing qutation marks musrfit_startup.xml.
2023-12-05 09:34:42 +01:00
suter_a
2eb888874d
added some more default search path to default musrfit_startup.xml.
2023-12-05 09:34:35 +01:00
suter_a
df926a4d66
add an option to musrfit which allows to replace to musrfit_startup.xml by the default one.
2023-11-17 09:02:40 +01:00
suter_a
f72a213bd8
adopted default path/file-name scheme to the current state.
2023-11-10 15:22:16 +01:00
suter_a
18b06267d2
make sure that singleRunMsrFile is a legal pointer before proceeding.
2023-11-09 13:14:56 +01:00
suter_a
d96d1f68d5
increased main version to 1.9.2, libPMusr to 1.4.0, and mupp to 1.1.0.
2023-10-25 10:59:25 +02:00
suter_a
c2d2307755
switched PRunSingleHistoRRF where possible to smart pointers.
2023-10-25 10:55:59 +02:00
suter_a
6ab344479d
switched PRunDataHandler where possible to smart pointers.
2023-10-25 10:55:46 +02:00
suter_a
f03be7add9
switched PRunBase where possible to smart pointers.
2023-10-25 10:55:35 +02:00
suter_a
2e9542c796
switched PRgeHandler where possible to smart pointers.
2023-10-25 10:55:24 +02:00
suter_a
a66a5e3c70
switched PMusrT0 where possible to smart pointers.
2023-10-25 10:55:10 +02:00
suter_a
282ed68b61
switched PMusrCanvas where possible to smart pointers.
2023-10-25 10:54:59 +02:00
suter_a
b01505b07f
replaced some raw pointer by smart pointer in PFitter.
2023-10-25 10:54:45 +02:00
suter_a
bb8055f3e2
switch to smart pointers in PMsr2Data where possible.
2023-10-25 10:54:28 +02:00
suter_a
5f66baa1e2
switched PFitter to smart pointers.
2023-10-25 10:50:48 +02:00
suter_a
9ef5c5cac6
switched PMsrHandler where possible to smart pointers.
2023-10-25 10:03:18 +02:00
suter_a
17bc497b30
remove one check for Fourier only.
2023-10-25 10:01:41 +02:00
suter_a
1c8c1a8d0f
get rid of raw pointers for PFourierCanvas where it makes sense.
2023-10-25 10:01:28 +02:00
suter_a
c1ad16d403
more potential musr-data-file paths added.
2023-08-31 10:39:48 +02:00
suter_a
bcbe945d84
make sure that exported MusrRoot files have proper stats in the histo objects.
2023-08-31 10:39:20 +02:00
suter_a
d43a0df893
improved search run, allowing to look for a specific file format in case the run is saved in multiple different file formats.
2023-08-31 10:38:29 +02:00
suter_a
1850a2c762
allow more flexible dealing with LEM run numbers > 9999.
2023-05-16 09:22:42 +02:00
suter_a
95715dd62d
add 5-digit run name template for lem, needed for addRun and dump_header.
2023-05-16 09:22:24 +02:00
suter_a
058759c0bc
fixed c++ streaming output flag error.
2023-03-07 12:29:14 +01:00
suter_a
c34e711f37
updated the copyright info.
2023-02-17 10:13:48 +01:00
suter_a
3a75ced375
improvement on: allow to draw theory only at the data points for PRunNonMusr.
2023-02-17 10:12:43 +01:00
suter_a
cb53b1b67b
allow to draw theory only at the data points for PRunNonMusr.
2023-02-17 10:12:26 +01:00
suter_a
c79b74e241
fixed formatting issue.
2023-02-17 10:11:16 +01:00
suter_a
9ce9e9f0a3
define tag energy_vec with attributes start, stop, step to define rge energy vector in a compact way in startup.xml files.
2023-02-17 10:09:33 +01:00
martins_m
2db36b2e3d
implementation of depth step fits
2023-02-17 10:06:06 +01:00
suter_a
6e30e7e71f
add reading routine for the dat-files as generate from msr2data. Use case: special 'non muSR fit' type.
2023-02-17 10:02:02 +01:00
suter_a
de5763d5cc
start adding CSV like data reading routine with the FileFormat label DAT.
2023-02-17 10:01:35 +01:00
suter_a
f42306e42b
fix of an old copy/paste error!
2023-01-10 16:18:44 +01:00
suter_a
a356534e6a
updated the copyright info.
2023-01-05 11:04:42 +01:00
suter_a
62c3600fb7
added some more technical docu to PMsr2Data.
2022-12-04 10:50:35 +01:00
suter_a
8a8046d28a
add energy_vect tag which allows a more compact startup xml-file if the rge-files are equally spaced in energy.
2022-11-25 10:22:05 +01:00
suter_a
e32aa61643
replaced sprintf -> snprintf throughout.
2022-11-25 10:16:20 +01:00
suter_a
d0923d75b9
fixed bug in msr2data global+ according to issue #33 reported on bitbucket.
2022-08-09 08:21:53 +02:00
suter_a
c36552708e
more work towards a modern cmake. As a first example reworked FFTW3 binding.
2022-07-06 14:52:24 +02:00
suter_a
843ad88498
adopted to new PSI-BIN lib. Added facility for finding runs via musrfit_startup.xml templates.
2022-05-29 15:44:24 +02:00
suter_a
b72ec88783
add search facility for runs via musrfit_startup.xml template entries.
2022-05-29 15:36:51 +02:00