suter_a
aa2f2756a4
add necessary increment for unique cropped name for PSI-BIN.
2025-03-19 16:46:44 +01:00
suter_a
129e4c10dd
make sure that for PSI-BIN export the 4 char detector names are unique.
2025-03-19 12:21:36 +01:00
suter_a
bf75b5ef14
add title to PRawRunDataSet.
2025-03-19 12:21:24 +01:00
suter_a
c0b1071a27
read 'Sample Orientation' from ROOT file, since it might be needed by any2many.
2025-03-19 12:21:12 +01:00
suter_a
5b9a66758b
make sure that the 'selected' object is present.
2025-02-25 16:15:53 +01:00
suter_a
d65b04e855
this is a workaround which should prevent that the key event is executed if a text/latex is written into the canvas.
2025-02-25 16:15:40 +01:00
suter_a
f3d7b9c7ff
header of exported data adopted for easier read in with pandas.
2025-02-17 08:17:58 +01:00
suter_a
44821cb8cd
updated the copyright info.
2025-01-30 12:00:49 +01:00
suter_a
86b5080dee
proper handling of comments and descriptions in the RUN block.
2025-01-29 08:17:51 +01:00
suter_a
8dc871e082
path-run-name in RUN block of the msr-file can now handle spaces.
2025-01-20 16:10:25 +01:00
ext-mcfadd_r
bfade6f4b8
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-10 11:19:25 +01:00
suter_a
196135fab5
changed default ROOT color kGreen to kGreen+2.
2024-12-14 15:23:58 +01:00
suter_a
532b6f42ff
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 14:38:05 +02:00
suter_a
6812f68a8f
implemented unary operator for metaData in functions.
2024-10-11 16:39:24 +02:00
suter_a
432c0bd6ec
make sure that the run template number has at least 4 digits before proceeding.
2024-09-21 13:10:08 +02:00
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