Commit Graph

64 Commits

Author SHA1 Message Date
4d70c7baa9 use Claude ai to generate doxygen documentation. 2025-11-26 17:27:10 +01:00
b692b78cac 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 14:37:09 +02:00
4da145d674 (i) make most internal checking functions in the msr handler private. (ii) improved checking of real Fourier for consistency. 2025-06-23 16:06:32 +02:00
44821cb8cd updated the copyright info. 2025-01-30 12:00:49 +01:00
17339e191d updated copyright info. 2024-02-07 15:29:08 +01:00
9ef5c5cac6 switched PMsrHandler where possible to smart pointers. 2023-10-25 10:03:18 +02:00
a356534e6a updated the copyright info. 2023-01-05 11:04:42 +01:00
a7b540cfdb update of the copyright info. 2021-03-29 08:30:43 +02:00
32bac0e197 Functions can now not only operate on parameters and maps but also on meta information
obtained from the data files. Currently the following meta information can be accessed
if available:
field in (G): B or b
energy in (keV): En or en
temperature in (K): since some data files contain a vector of temperature, they have
                    to be accessed with an index, like T0 or t0, etc.
2020-06-18 08:16:43 +02:00
b6dba8965b update of the copyright info. 2020-04-30 17:46:10 +02:00
1ea877621f adopted to the SECTOR command in combination with DKS. 2020-02-03 10:25:01 +01:00
c64c74dbf8 modernized code to C++11 and newer.
This allows to analyze the code by external code analyzers. Since a lot is adopted,
the version is changed to 1.4.3

Conflicts:
	src/classes/PFitter.cpp
	src/classes/PFourier.cpp
	src/classes/PMsrHandler.cpp
	src/classes/PMusrCanvas.cpp
	src/classes/PRunAsymmetry.cpp
	src/classes/PRunAsymmetryRRF.cpp
	src/classes/PRunListCollection.cpp
	src/classes/PRunSingleHisto.cpp
	src/classes/PRunSingleHistoRRF.cpp
	src/classes/PStartupHandler.cpp
	src/include/PFourier.h
	src/include/PRunListCollection.h
	src/musrFT.cpp
2019-04-24 17:44:58 +02:00
357d46aac4 allow multiple Fourier phase parameters for phase shifted real Fourier. Autophasing still missing. 2018-10-15 16:12:49 +02:00
38c4293d58 resolved merge conflicts with master 2016-12-23 14:16:22 +01:00
c3c01e5de0 cleaning up left-overs and improved the comments. 2016-12-22 17:04:48 +01:00
c768c27898 for maxLH it is now possible to get the per-run-block maxLH, and the expected maxLH 2016-12-18 10:36:02 +01:00
ae77181f42 add memory handling for DKS/GPU. No fitting possible, yet. 2016-03-31 16:41:46 +02:00
5fb2ce777e some more work towards DKS/GPU support of musrfit 2016-03-10 15:52:48 +01:00
d9782c55c8 added a theory translator for DKS 2016-03-08 16:23:18 +01:00
8e399fa04e first steps towards asymmetry RRF fit. 2016-01-15 17:16:07 +01:00
99864b2b82 some more self-consistency checks with RRF. 2015-12-19 20:32:07 +01:00
b113a94ee9 added the class PStringNumberList which allow to parse a generic encoded list of numbers. Used this class to improve PMsrHandler, and improved the runList feature of msr2data. For details see the documentation of msr2data. 2015-08-16 11:43:57 +02:00
075c259971 transferred lifetimecorrection from RUN block to the PLOT block. More work towards a working GLOBAL block 2014-12-10 16:02:32 +01:00
3f021c112c start working on the global section. 2014-12-09 10:48:26 +01:00
bbb8550f96 since we moved to git, I cleaned up the svn prop's from the sources and added a GIT_REVISION through git-revision.h 2014-02-12 12:43:32 +01:00
310eedf190 add N0 estimate to single histogram fit. Some improvements in musredit (see ChangLog) 2013-02-14 09:16:27 +00:00
22c7702cfe docu updated 2013-01-15 12:25:48 +00:00
138e7ba369 first implementation of MusrRoot. Cleaner handling of Red/Green mode data. General cleanup 2012-03-22 07:00:34 +00:00
b7418623e5 implemented compact detector grouping in musrview 2011-09-13 06:48:25 +00:00
nemu
ad14d62117 forward/backward accept now not only c0 c1 c2 ... cn, but also c0-cn cm-cp, or c0 c1-cn cm cx-cy, etc. (MUSR-201, improvement whish) 2011-09-09 11:30:13 +00:00
nemu
d9f1f1235e added expected chisq calculation for single histogram fits (MUSR-194) 2011-07-09 16:26:42 +00:00
nemu
aca61d4731 improved parameter formating 2011-02-03 10:31:57 +00:00
nemu
fbd0cae432 tries to deal with precision request MUSR-167 2011-02-02 21:56:57 +00:00
nemu
a1b94ae247 fixes the inadequate attempt to use log max likelihood fit for asymmetry/non-muSR fit (MUSR-148) 2010-11-12 09:30:18 +00:00
nemu
99c1e8d17e fit range decimal precision handling of PMsrHandler improved (MUSR-150 request). musredit keeps now it last open directory 2010-10-14 19:52:20 +00:00
nemu
1688a904f6 implemented more checks on the integrity of the msr-file (MUSR-145) 2010-08-27 04:54:40 +00:00
Bastian M. Wojek
fb8523d8bf Minor changes to the global input file generation 2010-06-10 12:01:40 +00:00
Bastian M. Wojek
dbd9350522 Added a new method PWriteMsrFile to the PMsrHandler
The purpose of this method is to be able to write heavily modified msr-files using all the msr-handler support.
The further existing method PWriteMsrLogFile can only handle small changes to the msr-file (like changing parameter values or fixing the formatting),
however, it is e.g. not possible to add parameters or run blocks that have not existed before since during the mlog-file writing the original
msr-file is streamed again and then only things are handled which are present in the msr-file.

For writing the output the new method does _not_ read in the originally handled msr-file again!
Only the information stored in the internal data structures are used to recreate a full msr-file (including all changes that might have been made).
Since comments in the original msr-file are not stored internally these are lost.
At the moment it is however possible to add single lines of comments in the FITPARAMETER, THEORY, FUNCTIONS und between different RUN blocks.
This feature could easily be added also to the other blocks, if needed.

For now I skipped all checks for missing tags in the RUN blocks.

Nothing is tested, therefore:
THIS METHOD NEEDS TO BE REVIEWED AND TESTED BEFORE IT CAN BE USED SERIOUSLY!
2010-06-06 18:08:44 +00:00
nemu
5d124b3d79 added more docu 2010-05-31 08:25:57 +00:00
nemu
d5d36d21fd improved handling for grouping and addrun 2010-02-22 06:55:49 +00:00
nemu
f2bd5b124f first implementation of histogram grouping. Probably still some more testing needed. 2010-02-08 14:01:41 +00:00
nemu
c2b898a246 improved handling for musrt0 2009-11-11 12:42:55 +00:00
nemu
90807030f1 started with the next step of encapsulation, will take a while 2009-11-02 08:40:47 +00:00
nemu
2a03bb7f61 changed variables to comply with the ROOT standards. Error messages now sent to stderr rather than stdout 2009-10-30 08:29:27 +00:00
nemu
9ac709451c merge in Bastian M. Wojek's cpp-version of msr2data. This should help to step towards a real platform independent musrfit package. 2009-08-31 11:19:03 +00:00
nemu
c8fc4a95fe option "title from data file" added to musrfit 2009-06-25 14:15:00 +00:00
nemu
5d99f6cf8c fixed handling of new mlog file writer for musrt0 2009-05-22 11:39:47 +00:00
nemu
2c9f392b81 write mlog-file routine fully rewritten to make it more robust. BMW is to prefect guy to test it since he is most creative in complex msr-files ;-) 2009-05-20 08:52:41 +00:00
nemu
e44bc91a03 some minor changes needed for proper msr-file handling with musrt0 (see MUSR-45) 2009-05-01 06:51:46 +00:00
nemu
28c9ff7784 added msr-file-directory-path-handling. Rigorous tests still due 2009-04-30 08:23:51 +00:00