suter_a
eb98c9727c
add simple F-mu-F to the standard theory functions.
2025-06-05 10:41:12 +02:00
suter_a
079baa3edf
start adding more standard theory functions. Not all ready yet.
2025-06-04 17:39:02 +02:00
suter_a
9fa90c24fb
start populating nfs4 path rather than afs in the musrfit_startup.xml.
2025-05-06 15:33:13 +02:00
suter_a
0f95551200
add necessary increment for unique cropped name for PSI-BIN.
2025-03-19 16:24:56 +01:00
suter_a
b8ce741534
make sure that for PSI-BIN export the 4 char detector names are unique.
2025-03-19 09:45:16 +01:00
suter_a
4b6654ca2a
add title to PRawRunDataSet.
2025-03-19 09:44:13 +01:00
suter_a
38d4ec1806
read 'Sample Orientation' from ROOT file, since it might be needed by any2many.
2025-03-18 12:51:40 +01:00
suter_a
4231d26604
make sure that the 'selected' object is present.
2025-02-24 20:22:20 +01:00
suter_a
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
suter_a
5f7f79e46d
header of exported data adopted for easier read in with pandas.
2025-02-14 09:06:55 +01:00
suter_a
4a20d805dd
updated the copyright info.
2025-01-30 11:15:42 +01:00
suter_a
0828d1b8d4
proper handling of comments and descriptions in the RUN block.
2025-01-29 08:04:48 +01:00
suter_a
ebdb0feb7f
path-run-name in RUN block of the msr-file can now handle spaces.
2025-01-18 13:35:08 +01:00
ext-mcfadd_r
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
suter_a
20dd08fbef
changed default ROOT color kGreen to kGreen+2.
2024-12-14 14:54:17 +01:00
suter_a
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
suter_a
ae95a5dc1c
implemented unary operator for metaData in functions.
2024-10-11 16:34:49 +02:00
suter_a
7838901fbe
make sure that the run template number has at least 4 digits before proceeding.
2024-09-17 16:27:04 +02:00
ext-mcfadd_r
58889614e5
fix batch mode averaged output
...
closes issue #63
2024-09-10 13:52:30 -07:00
suter_a
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
ext-mcfadd_r
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
suter_a
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
suter_a
92b1aac7a6
got rid off some double brackets.
2024-04-20 18:13:09 +02:00
suter_a
26e25ce10b
fixed a fruther bracket bug.
2024-04-20 17:39:18 +02:00
suter_a
cedaabeb98
improved bracket handling in function string generation.
2024-04-20 09:40:04 +02:00
suter_a
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
suter_a
cadd28b9fe
Merge branch 'root6' of https://git.psi.ch/nemu/musrfit into root6
2024-02-03 20:01:01 +01:00
suter_a
79c8be54bf
update of the copyright info.
2024-02-03 19:58:11 +01:00
suter_a
3cf89c6571
added some missing qutation marks musrfit_startup.xml.
2023-11-29 12:47:24 +01:00
suter_a
673a742631
added some more default search path to default musrfit_startup.xml.
2023-11-29 12:44:58 +01:00
suter_a
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
suter_a
d6a3767040
adopted default path/file-name scheme to the current state.
2023-11-10 15:05:38 +01:00
suter_a
4747fbc77d
make sure that singleRunMsrFile is a legal pointer before proceeding.
2023-11-01 14:38:21 +01:00
suter_a
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
suter_a
be29e55834
switched PRunSingleHistoRRF where possible to smart pointers.
2023-10-21 19:19:04 +02:00
suter_a
8e7fda92e1
switched PRunDataHandler where possible to smart pointers.
2023-10-21 19:11:01 +02:00
suter_a
890d48a95c
switched PRunBase where possible to smart pointers.
2023-10-21 18:46:24 +02:00
suter_a
823ef087c9
switched PRgeHandler where possible to smart pointers.
2023-10-21 18:40:35 +02:00
suter_a
05c06a071e
switched PMusrT0 where possible to smart pointers.
2023-10-21 18:34:55 +02:00
suter_a
dbfadc4e42
switched PMusrCanvas where possible to smart pointers.
2023-10-21 17:47:32 +02:00
suter_a
93754a9fc2
replaced some raw pointer by smart pointer in PFitter.
2023-10-21 17:45:49 +02:00
suter_a
0bff931af9
switch to smart pointers in PMsr2Data where possible.
2023-10-21 13:32:44 +02:00
suter_a
1a72d67be9
switched PFitter to smart pointers.
2023-10-21 11:39:16 +02:00
suter_a
7e17af0256
switched PMsrHandler where possible to smart pointers.
2023-10-21 11:21:27 +02:00
suter_a
5d731611cf
remove one check for Fourier only.
2023-10-18 14:22:06 +02:00
suter_a
4b561b1f15
get rid of raw pointers for PFourierCanvas where it makes sense.
2023-10-18 14:21:15 +02:00
suter_a
c6ebaf3675
more potential musr-data-file paths added.
2023-08-31 10:30:04 +02:00
suter_a
4d1c7c10c8
make sure that exported MusrRoot files have proper stats in the histo objects.
2023-08-31 08:22:37 +02:00
suter_a
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
suter_a
5d9eb0dcec
allow more flexible dealing with LEM run numbers > 9999.
2023-05-16 08:27:52 +02:00