2486 Commits

Author SHA1 Message Date
129e4c10dd make sure that for PSI-BIN export the 4 char detector names are unique. 2025-03-19 12:21:36 +01:00
bf75b5ef14 add title to PRawRunDataSet. 2025-03-19 12:21:24 +01:00
c0b1071a27 read 'Sample Orientation' from ROOT file, since it might be needed by any2many. 2025-03-19 12:21:12 +01:00
5b9a66758b make sure that the 'selected' object is present. 2025-02-25 16:15:53 +01:00
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
688c319e6f fix of a copy/paste error. 2025-02-17 08:18:12 +01:00
f3d7b9c7ff header of exported data adopted for easier read in with pandas. 2025-02-17 08:17:58 +01:00
44821cb8cd updated the copyright info. 2025-01-30 12:00:49 +01:00
86b5080dee proper handling of comments and descriptions in the RUN block. 2025-01-29 08:17:51 +01:00
6a32ba5766 add switch to enable/disable HDF4 support for NeXus. 2025-01-29 08:17:30 +01:00
c6fda693a3 add a new tag PMUSR_UNSUPPORTED_FEATURE 2025-01-28 12:54:23 +01:00
258f248e99 make sure that 'ASCII', 'DAT', and 'DB' is rejected from musrFT. 2025-01-28 12:52:41 +01:00
8dc871e082 path-run-name in RUN block of the msr-file can now handle spaces. 2025-01-20 16:10:25 +01:00
Ryan M. L. McFadden
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
df0c5ec545 slightly re-ordered the default files for mupp in the open dialog. 2024-12-16 07:42:14 +01:00
196135fab5 changed default ROOT color kGreen to kGreen+2. 2024-12-14 15:23:58 +01:00
bb28e7258a adopted for custom button handling qt5. 2024-12-11 14:09:45 +01:00
3e216cb6ea adopted for custom button handling. 2024-12-11 14:09:34 +01:00
32768bfdf4 added missing enum tag. 2024-12-11 14:09:23 +01:00
5d5ebde4c2 make the theme handling in musredit more flexible. At the same time adopted some part to more modern c++. 2024-12-11 14:09:11 +01:00
60e2d25ce8 update of the ChangeLog 2024-12-03 18:21:01 +01:00
4c38ff131f center edit widget for find. This gives a better user experience. 2024-12-02 20:14:23 +01:00
3004823f36 added jump to block feature. 2024-12-02 20:11:54 +01:00
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
6812f68a8f implemented unary operator for metaData in functions. 2024-10-11 16:39:24 +02:00
2f6f3a6874 fixed a bug for out-of-repo build to generate git-info. 2024-10-11 08:25:27 +02:00
9e8f22f629 adopted OpenMP handling for libZFRelaxation. 2024-09-25 09:47:28 +02:00
a96f1b35d7 fixed a bug in the mupp gui refresh of a collection. 2024-09-21 13:10:19 +02:00
432c0bd6ec make sure that the run template number has at least 4 digits before proceeding. 2024-09-21 13:10:08 +02:00
Ryan M. L. McFadden
6263e9aba3 fix batch mode averaged output
closes issue #63
2024-09-12 11:02:09 +02:00
e0230196c2 improved dat-file reading for mupp. 2024-08-12 10:34:35 +02:00
01582b5a44 updated the docu. 2024-06-24 09:45:31 +02:00
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
Ryan M. L. McFadden
05c8625dc1 ignore all files generated from an in-repo build 2024-06-18 12:55:51 +02:00
Ryan M. L. McFadden
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
Ryan M. L. McFadden
1a1e756d77 fix segfault
This patch provides a memory-safe alternative to the changes introduced in commit 418adfde670b8d911a6a313e11a2ee4fc98feeee, 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 542b98b2cc/core/base/src/TApplication.cxx (L179-L180)).
2024-06-18 12:55:10 +02:00
f62a3cc88e add CPU info to the configure process. 2024-06-10 11:14:54 +02:00
a9d84b87e1 remove more accidently added file. 2024-06-08 16:41:51 +02:00
50781aa413 remove accidentely added file. 2024-06-08 16:41:38 +02:00
fa37bae855 update of the docu. 2024-06-08 16:29:05 +02:00
aa32d07929 updated version info, due to the macOS OpenMP support. 2024-06-08 16:28:48 +02:00
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
6a7178b3a9 propagate only necessary root flags to TApplication. 2024-06-06 10:04:03 +02:00
d6cc0f3c0e moved mupp examples form the mupp source destination to doc/examples. 2024-04-26 16:05:00 +02:00
04181ad1e0 update of the documentation. 2024-04-23 11:00:54 +02:00
c9ecca0c19 got rid off some double brackets. 2024-04-20 18:18:32 +02:00
1a5561b265 fixed a fruther bracket bug. 2024-04-20 17:52:22 +02:00
65066596e8 improved bracket handling in function string generation. 2024-04-20 09:59:23 +02:00
c7b0d2b40f update of the ChangeLog. 2024-04-20 09:59:14 +02:00
90d5e74289 increased musrfit patch number. 2024-04-20 09:59:04 +02:00