112 Commits

Author SHA1 Message Date
de5763d5cc start adding CSV like data reading routine with the FileFormat label DAT. 2023-02-17 10:01:35 +01:00
a356534e6a updated the copyright info. 2023-01-05 11:04:42 +01:00
19c1875442 fixed a typo. 2022-03-14 10:20:33 +01:00
1bdccae1d6 improve the readability of the time with packing in the code. 2021-06-08 07:30:37 +02:00
8c604cc02b fix an error number of theory points for the view data. 2021-04-06 14:40:38 +02:00
a7b540cfdb update of the copyright info. 2021-03-29 08:30:43 +02:00
3b5060c061 musrview gets the new feature: calculate theory points only at data points.
Conflicts:
	doc/html/searchindex.js
	doc/html/setup-dks.html
	src/classes/PMusrCanvas.cpp
	src/include/PMusrCanvas.h
	src/musrview.cpp
2020-08-29 11:49:49 +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
8acb5474a9 add field, temperature values from meta-data of the data-files to the runs. This will be needed if functions want to access this information (not yet implemented). 2020-06-18 08:16:28 +02:00
b6dba8965b update of the copyright info. 2020-04-30 17:46:10 +02:00
3797c73aeb first full implementation of the sector command.
Conflicts resolved:
	src/classes/PFitter.cpp
	src/classes/PFitterFcn.cpp
	src/classes/PRunListCollection.cpp
2020-02-04 08:20:30 +01: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
5617cf2925 cleaned up signed/unsigned int issues. 2018-06-06 16:24:42 +02:00
bc7ddcfc6d Changed behaviour for the case where LGB > Histo Size. New: LGB = (Histo Size - 1) together with a warning instead of issuing an error. 2017-11-09 10:37:27 +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
af7b729a5a start-/endTimeBin are now class members. This reduces the number of recalculations. 2016-04-26 12:39:27 +02:00
82ba938c2d make sure that N0 is only estimated if N0 is NOT fixed. 2016-04-11 11:11:31 +02:00
8e399fa04e first steps towards asymmetry RRF fit. 2016-01-15 17:16:07 +01:00
5a00d49bbd fixed error in view_packing for single histo (wrong norm of the theory). 2015-09-08 13:08:41 +02:00
11ea9f5457 'final' changes towards a to-be-tested GLOBAL block implementation 2014-12-18 15:42:16 +01:00
e87672f632 try to setup a much cleaner handling for t0's, fgb/lgb, and fit-range 2014-12-17 15:51:26 +01:00
f13fa554bf added global section to non-muSR, and mu-minus. Added mu-minus to musrt0. 2014-12-12 12:50:12 +01: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
918f1eb110 more work on the global section 2014-12-09 15:47:13 +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
e2712ce3f7 changed normalization of log max likelihood 2013-11-12 08:36:30 +00:00
392cd0b4b3 (1) changed normalization of maximum likelihood. (2) ascii export from canvas adds initial space for empty column for easier parsing. (3) fix of some typos 2013-11-08 11:55:43 +00:00
c8222754ce some minor issues with run block names messages in case of missing t0's 2013-03-01 08:10:48 +00: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
17d7ef4b99 improved Fourier transform. For details see the ChangeLog 2012-11-19 13:27:37 +00:00
6c8ce66e1d (i) add PRINT_LEVEL to the command block (0='nothing' to
3='everything'). This allows to tune the Minuit2 output. (ii) added the
possibilty to give the fit range in bins. For details see the docu.
2012-10-25 14:44:16 +00:00
d2e28d33ec fixed bug in RRF single histo. Update docu 2012-05-30 06:01:04 +00:00
99c24a146d added negative muon fitting support. Fixed at the same time bugs related to logx/logy plotting. Allow now comments after functions in the FUNCTION block. 2012-04-24 10:52:20 +00:00
nemu
3830229ac0 fixed some double/int inconsistencies 2012-03-22 14:23:43 +00:00
138e7ba369 first implementation of MusrRoot. Cleaner handling of Red/Green mode data. General cleanup 2012-03-22 07:00:34 +00:00
d2e6eacad2 fixed a bug in PRunAsymmetry::PrepareData relevant when combining addrun's and grouping (MUSR-209). Removed some obsolate out-commented parts from PRunSingleHisto 2012-01-05 15:50:00 +00:00
379345496b if the background is estimated from an interval rather than fitted, it will be added as a comment to the background interval tag. (MUSR-192) 2011-11-15 08:46:00 +00:00
d9a83c6c19 when release or restore is called (command block commands), the
corresponding parameter error is set to 2% of its parameter value (MUSR-188).
At the same time removed a left-over unused variable.
2011-10-17 08:26:12 +00:00
cbacba3f2c proper normalization for NOT lifetime corrected signals 2011-10-14 13:23:31 +00:00
57d68e7133 better handling of all the various normalization issues, expecially fixed the wrong normalization when using "SCALE_N0_BKG FALSE" together with view_packing (MUSR-184) 2011-10-14 05:18:52 +00:00
nemu
822a0bf0b7 in case first good bin (fgb) is not given, it is now fgb=t0+(10ns/time resolution) (MUSR-190) 2011-07-11 18:42:47 +00:00
nemu
d9f1f1235e added expected chisq calculation for single histogram fits (MUSR-194) 2011-07-09 16:26:42 +00:00
nemu
db4425e352 slightly wrong chisq since the 0-bin entries were treated wrongly for scaled N0/Bkg data (MUSR-193) 2011-05-25 14:39:54 +00:00
Bastian M. Wojek
0ebf68156a Synchronized the 'noOfFitBins' calculations for single-histogram and asymmetry fits 2011-05-25 09:48:15 +00:00
Bastian M. Wojek
c6912f2efe Small cosmetic changes 2011-05-23 12:44:18 +00:00
Bastian M. Wojek
8fbadeb506 Removed some IF clauses from the chisq loops in order to enhance the fitting performance 2011-05-22 07:54:03 +00:00
Bastian M. Wojek
1b5c1df691 Fixed a bug in the LF calculations and parallelized the chi^2 calculations in single-histogram and asymmetry fits 2011-05-21 14:11:00 +00:00
Bastian M. Wojek
3a56d329ce Increase the number of figures shown in the time-resolution debugging output in order to accommodate the needs of the high-field project. 2011-05-06 15:54:22 +00:00