Ryan M. L. McFadden
833171c712
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-17 12:51:04 -03:00
b71dce9291
remove more accidently added file.
2024-06-08 16:39:57 +02:00
1aa4ce0a99
remove accidentely added file.
2024-06-08 16:36:54 +02:00
425ed02e22
update of the docu.
2024-06-08 09:23:36 +02:00
a36abfc461
updated version info, due to the macOS OpenMP support.
2024-06-08 09:17:05 +02:00
ccaba41868
modernize the way how to check/deal with OpenMP. This helps also on the macOS side.
v1.9.4
2024-06-07 12:44:59 +02:00
418adfde67
propagate only necessary root flags to TApplication.
2024-06-06 10:06:50 +02:00
66df43c663
moved mupp examples form the mupp source destination to doc/examples.
2024-04-26 15:54:44 +02:00
4a6885f55b
update of the documentation.
2024-04-23 10:50:11 +02:00
92b1aac7a6
got rid off some double brackets.
2024-04-20 18:13:09 +02:00
26e25ce10b
fixed a fruther bracket bug.
2024-04-20 17:39:18 +02:00
cedaabeb98
improved bracket handling in function string generation.
2024-04-20 09:40:04 +02:00
032510fbcb
update of the ChangeLog.
2024-04-19 12:44:43 +02:00
8cfd0bcc4a
increased musrfit patch number.
v1.9.3
2024-04-19 12:40:50 +02:00
7198521f60
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-19 12:39:01 +02:00
834884f3a4
improved variable description.
2024-04-19 12:36:24 +02:00
80591f6f13
fixed an error in DumpHeader when dumping a TDoubleVector.
2024-03-16 15:59:17 +01:00
44456c49e9
fixed a typo: Atoi() instead of Atof().
2024-03-16 15:34:00 +01:00
495f02c3c6
for macos: add /usr/local/lib to DYLD_LIBRARY_PATH for qt5. This is needed to find the nexus lib.
2024-03-07 12:31:32 +01:00
ad2e84581f
revert back to boost ellint_1, since on many compilers the c++17 std::comp_ellint_1 is not yet implemented.
2024-03-05 18:29:34 +01:00
59dbae4a1e
use the QProcess startDetached method and not the static one.
2024-02-14 09:30:17 +01:00
4d176c395c
use the QProcess startDetached method and not the static one.
2024-02-14 09:26:27 +01:00
74978025fb
start musrview as detached process: simplifies things.
2024-02-13 10:12:50 +01:00
deeee783f5
add /usr/local/lib to default DYLD_LIBRARY_PATH for macOS.
2024-02-08 14:00:06 +01:00
cadd28b9fe
Merge branch 'root6' of https://git.psi.ch/nemu/musrfit into root6
2024-02-03 20:01:01 +01:00
79c8be54bf
update of the copyright info.
2024-02-03 19:58:11 +01:00
3cf89c6571
added some missing qutation marks musrfit_startup.xml.
2023-11-29 12:47:24 +01:00
673a742631
added some more default search path to default musrfit_startup.xml.
2023-11-29 12:44:58 +01:00
f68775dd64
Merge branch 'root6' of https://gitlab.psi.ch/nemu/musrfit into root6
2023-11-15 16:07:37 +01:00
23bf2ec2fc
added proper rpath handling.
2023-11-15 16:04:21 +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
d6a3767040
adopted default path/file-name scheme to the current state.
2023-11-10 15:05:38 +01:00
75d0c9e01a
adopted the technical doxygen files to the current state.
2023-11-10 08:26:52 +01:00
ecd9e4a953
improved the nonlocal field dump, by allowing a custom range.
2023-11-08 12:57:16 +01:00
3c2b0322c0
mupp: got rid of some left over raw pointers by replacing them through smartpointers.
2023-11-03 07:54:52 +01:00
4747fbc77d
make sure that singleRunMsrFile is a legal pointer before proceeding.
2023-11-01 14:38:21 +01:00
b1b808ad7b
switched TGapIntegrals from raw -> smart pointers.
2023-11-01 08:54:24 +01:00
2d1875ebfe
remove unused code.
2023-11-01 08:27:48 +01:00
d221ef1ed0
more work in switching raw -> smart pointer.
2023-11-01 08:27:04 +01:00
f7c45f46ff
switched TLondon1D from raw -> smart pointers.
2023-11-01 08:00:47 +01:00
5b093208eb
fixed stupid copy/paste error when switching to smart pointers in PMusrWiz.
2023-10-31 18:08:31 +01:00
7a1f60d00f
adopted MusrRootDefinition doc to smart pointer use. Updated MusrRootDefinition.pdf
2023-10-31 08:18:01 +01:00
de2d8394d3
adopted MusrRootDefinition doc to smart pointer use.
2023-10-31 08:00:22 +01:00
af13e78c52
more work on Raw -> Smart Pointers for external libs.
2023-10-27 23:23:19 +02:00
7691ef2815
Raw -> Smart Pointers in TMusrRunHeader.
2023-10-25 17:59:05 +02:00
8f4a7c6b68
Raw -> Smart Pointers in PNeXus.
2023-10-25 17:52:24 +02:00
1cb0cfd3e7
Nonlocal: Raw -> Smart Pointers. Improved config of standalone dump_nonlocal_field.
2023-10-25 17:40:56 +02:00
344a5c8ba0
print for debug: the ostream need explicit string not char[].
2023-10-25 13:47:00 +02:00
6f521668c0
increased main version to 1.9.2, libPMusr to 1.4.0, and mupp to 1.1.0.
v1.9.2
2023-10-25 08:46:02 +02:00
02a1cb7a0c
added check for mupp script in case the data collection is not readable.
2023-10-25 08:32:13 +02:00