ext-mcfadd_r
05c8625dc1
ignore all files generated from an in-repo build
2024-06-18 12:55:51 +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
ext-mcfadd_r
1a1e756d77
fix segfault
...
This patch provides a memory-safe alternative to the changes introduced in commit 418adfde67 , which causes a segfault when the "batch mode" flag is required (i.e., for ascii/graphic export).
Note: the program name (i.e., argv[0]) has been added the list arguments passed to ROOT's TApplication. This ensures that the TApplication name matches that of the program (see https://github.com/root-project/root/blob/542b98b2ccca760fd83117b750b89d81b8e9b926/core/base/src/TApplication.cxx#L179-L180 ).
2024-06-18 12:55:10 +02:00
suter_a
f62a3cc88e
add CPU info to the configure process.
2024-06-10 11:14:54 +02:00
suter_a
a9d84b87e1
remove more accidently added file.
2024-06-08 16:41:51 +02:00
suter_a
50781aa413
remove accidentely added file.
2024-06-08 16:41:38 +02:00
suter_a
fa37bae855
update of the docu.
2024-06-08 16:29:05 +02:00
suter_a
aa32d07929
updated version info, due to the macOS OpenMP support.
2024-06-08 16:28:48 +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
6a7178b3a9
propagate only necessary root flags to TApplication.
2024-06-06 10:04:03 +02:00
suter_a
d6cc0f3c0e
moved mupp examples form the mupp source destination to doc/examples.
2024-04-26 16:05:00 +02:00
suter_a
04181ad1e0
update of the documentation.
2024-04-23 11:00:54 +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
c7b0d2b40f
update of the ChangeLog.
2024-04-20 09:59:14 +02:00
suter_a
90d5e74289
increased musrfit patch number.
2024-04-20 09:59:04 +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
847a2cfb8e
improved variable description.
2024-04-20 09:58:40 +02:00
suter_a
2dfa28d5c0
fixed an error in DumpHeader when dumping a TDoubleVector.
2024-03-17 09:29:17 +01:00
suter_a
9440ddbb40
fixed a typo: Atoi() instead of Atof().
2024-03-17 09:29:08 +01:00
suter_a
e149f73d15
for macos: add /usr/local/lib to DYLD_LIBRARY_PATH for qt5. This is needed to find the nexus lib.
2024-03-17 09:28:45 +01:00
suter_a
445d48cfbf
revert back to boost ellint_1, since on many compilers the c++17 std::comp_ellint_1 is not yet implemented.
2024-03-17 09:24:10 +01:00
suter_a
1b882c20b3
use the QProcess startDetached method and not the static one.
2024-02-14 12:14:53 +01:00
suter_a
71a7267028
use the QProcess startDetached method and not the static one.
2024-02-14 12:14:33 +01:00
suter_a
0760a836b4
start musrview as detached process: simplifies things.
2024-02-14 12:14:19 +01:00
suter_a
057ae07be6
add /usr/local/lib to default DYLD_LIBRARY_PATH for macOS.
2024-02-08 14:04:31 +01: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
326587c912
added proper rpath handling.
2023-11-17 09:02:58 +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
4c222a4c1b
adopted the technical doxygen files to the current state.
2023-11-10 15:22:03 +01:00
suter_a
7384ce4b89
improved the nonlocal field dump, by allowing a custom range.
2023-11-09 13:15:21 +01:00
suter_a
0ee1d4e264
mupp: got rid of some left over raw pointers by replacing them through smartpointers.
2023-11-09 13:15:08 +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
cfccb30eb8
switched TGapIntegrals from raw -> smart pointers.
2023-11-09 13:14:47 +01:00
suter_a
9524e7201c
remove unused code.
2023-11-09 13:14:34 +01:00
suter_a
250b786766
more work in switching raw -> smart pointer.
2023-11-09 13:13:25 +01:00
suter_a
7765f24ce0
switched TLondon1D from raw -> smart pointers.
2023-11-09 13:12:52 +01:00
suter_a
e8511dbe8b
fixed stupid copy/paste error when switching to smart pointers in PMusrWiz.
2023-11-09 13:12:39 +01:00
suter_a
3dd8e404dc
adopted MusrRootDefinition doc to smart pointer use. Updated MusrRootDefinition.pdf
2023-11-09 13:12:13 +01:00
suter_a
ae75478043
adopted MusrRootDefinition doc to smart pointer use.
2023-11-09 13:12:02 +01:00
suter_a
6340f9d196
more work on Raw -> Smart Pointers for external libs.
2023-11-09 13:11:51 +01:00
suter_a
4726764306
Raw -> Smart Pointers in TMusrRunHeader.
2023-11-09 13:11:40 +01:00
suter_a
4ba2502788
Raw -> Smart Pointers in PNeXus.
2023-11-09 13:11:21 +01:00
suter_a
2eec7bd182
Nonlocal: Raw -> Smart Pointers. Improved config of standalone dump_nonlocal_field.
2023-11-09 13:11:07 +01:00
suter_a
fb8ca28ea3
print for debug: the ostream need explicit string not char[].
2023-10-25 13:49:05 +02: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