suter_a
ef4c6d75e5
make sure that index states in proper range for PRunAsymmetryRRF.
2025-08-05 10:30:41 +02:00
suter_a
392a0b089d
added more histo length versus fgb, lgb checks.
2025-07-11 13:05:49 +02:00
suter_a
2e951d92f1
error feed fStep rather than fPosError for expected chisq. Tweaked the param rounding for expected chisq.
2025-07-04 16:29:33 +02:00
suter_a
d9016d82a8
better exp estimate for precision.
2025-07-04 08:31:52 +02:00
suter_a
25bcdd25e5
add err==0.0 handling for rounding.
2025-07-03 10:22:11 +02:00
suter_a
781a2e7dbd
also apply the parameter rounding onto the per run block estimate.
2025-07-03 09:50:48 +02:00
suter_a
1aa7e6941f
improved rounding handling to get a more consistent expected chisq after fitting compared to pure chisq estimate of musrfit. Essentially get rid of rounding issues.
2025-07-03 09:38:34 +02:00
suter_a
832a74e0b5
added a feature which brings up a error message box, if there was any issue with the msr-file when starting musrview from musredit.
2025-06-29 09:04:45 +02:00
suter_a
0b1c9e53c6
(i) make most internal checking functions in the msr handler private. (ii) improved checking of real Fourier for consistency.
2025-06-23 16:02:07 +02:00
suter_a
0943f1f061
increase libPMusr version to 1.5.0.
2025-06-08 10:58:40 +02:00
suter_a
ecec59c8a3
1st full Gauss/Lorentz LF. Still room for optimization, and further testing.
2025-06-06 10:21:09 +02:00
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