a28650f017
this is a workaround which should prevent that the key event is executed if a text/latex is written into the canvas.
2025-02-17 17:53:39 +01:00
5f7f79e46d
header of exported data adopted for easier read in with pandas.
2025-02-14 09:06:55 +01:00
4a20d805dd
updated the copyright info.
2025-01-30 11:15:42 +01:00
0828d1b8d4
proper handling of comments and descriptions in the RUN block.
2025-01-29 08:04:48 +01:00
ebdb0feb7f
path-run-name in RUN block of the msr-file can now handle spaces.
2025-01-18 13:35:08 +01:00
ead1674b13
Explicit passing of MnStrategy during minimizer initialization
...
This patch fixes compilation errors that arise with recent ROOT versions (e.g., 6.34.02),
which require a ROOT::Minuit2::MnStrategy object to be passed when initializing the
ROOT::Minuit2::MnX (X = Migrad, Simplex, Minimize) minimizers (i.e., instead of the integer
representing the "strategy").
2025-01-09 11:38:33 -08:00
20dd08fbef
changed default ROOT color kGreen to kGreen+2.
2024-12-14 14:54:17 +01:00
4febdb42b4
make sure that for non-muSR data errors are not = 0. Will set it to 1, and issue a warning. This prevents chisq to crash.
2024-10-14 12:22:25 +02:00
ae95a5dc1c
implemented unary operator for metaData in functions.
2024-10-11 16:34:49 +02:00
7838901fbe
make sure that the run template number has at least 4 digits before proceeding.
2024-09-17 16:27:04 +02:00
58889614e5
fix batch mode averaged output
...
closes issue #63
2024-09-10 13:52:30 -07: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
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
ccaba41868
modernize the way how to check/deal with OpenMP. This helps also on the macOS side.
2024-06-07 12:44:59 +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
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
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
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
4747fbc77d
make sure that singleRunMsrFile is a legal pointer before proceeding.
2023-11-01 14:38:21 +01:00
6f521668c0
increased main version to 1.9.2, libPMusr to 1.4.0, and mupp to 1.1.0.
2023-10-25 08:46:02 +02:00
be29e55834
switched PRunSingleHistoRRF where possible to smart pointers.
2023-10-21 19:19:04 +02:00
8e7fda92e1
switched PRunDataHandler where possible to smart pointers.
2023-10-21 19:11:01 +02:00
890d48a95c
switched PRunBase where possible to smart pointers.
2023-10-21 18:46:24 +02:00
823ef087c9
switched PRgeHandler where possible to smart pointers.
2023-10-21 18:40:35 +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
93754a9fc2
replaced some raw pointer by smart pointer in PFitter.
2023-10-21 17:45:49 +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
5d731611cf
remove one check for Fourier only.
2023-10-18 14:22:06 +02:00
4b561b1f15
get rid of raw pointers for PFourierCanvas where it makes sense.
2023-10-18 14:21:15 +02:00
c6ebaf3675
more potential musr-data-file paths added.
2023-08-31 10:30:04 +02:00
4d1c7c10c8
make sure that exported MusrRoot files have proper stats in the histo objects.
2023-08-31 08:22:37 +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
5d9eb0dcec
allow more flexible dealing with LEM run numbers > 9999.
2023-05-16 08:27:52 +02:00
05a732c9ec
add 5-digit run name template for lem, needed for addRun and dump_header.
2023-05-14 16:57:08 +02:00
f7620445dc
fixed c++ streaming output flag error.
2023-03-07 12:28:01 +01:00
3457ff9d25
make sure that dictionary generation works.
2023-02-19 11:29:55 +01:00
9e88ddb989
Merge remote-tracking branch 'origin/depthProf' into root6
2023-02-17 07:39:17 +01:00
26d4fbda11
fix of an old copy/paste error!
2023-01-10 15:33:44 +01:00
fe32046c21
updated the copyright info.
2023-01-05 10:24:31 +01:00
47bee12d3e
improvement on: allow to draw theory only at the data points for PRunNonMusr.
2023-01-05 08:12:11 +01:00
8a6e4dca6f
allow to draw theory only at the data points for PRunNonMusr.
2023-01-05 07:59:15 +01:00