91 Commits

Author SHA1 Message Date
ab29dedb77 lift #forward == #backward restriction. 2021-06-16 17:58:40 +02:00
927f2e83c2 improve the readability of the time with packing in the code. 2021-06-07 18:34:36 +02:00
cab8703f85 fix an error number of theory points for the view data. 2021-04-01 20:30:53 +02:00
e6e951e8f4 update the copyright info. 2021-03-29 08:22:38 +02:00
66f3b48e2a musrview gets the new feature: calculate theory points only at data points. 2020-08-29 11:15:02 +02:00
7b6180a688 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-17 19:31:31 +02:00
602a5a4e6c 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-13 16:13:44 +02:00
c930298972 allow alpha, beta in the RUN block being expressed via a function. 2020-05-25 16:21:16 +02:00
10271dab9a update of the copyright info. 2020-04-29 09:05:40 +02:00
1fb1753d82 more work on the SECTOR command. CalcNoOfFitBins() needed to be changed from protected to public. 2020-02-02 17:12:08 +01:00
795cd75b1e 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
2019-04-16 15:34:49 +02:00
c6766864d9 AddT0 offset bug
Up to now there has been an addT0 offset bug which resulted to the following situation.
Since the offset was wrong by '1', for the first addt0 the t0 of the file was used
instead of the one given in the msr-file. If these t0's are substantially different, the
adding of the runs was quite off, resulting in strong distortions at very early times.
Pant Amba Datt pointed towards this bug which is fixed now.
2018-12-11 13:59:58 +01:00
4a881fad56 cleaned up signed/unsigned int issues. 2018-06-06 16:04:27 +02:00
6162f683c8 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 09:57:53 +01:00
nemu
95ac103605 Merge branch 'master' into root6 2016-04-26 12:58:50 +02:00
af7b729a5a start-/endTimeBin are now class members. This reduces the number of recalculations. 2016-04-26 12:39:27 +02:00
e8b0b002d8 Merge branch 'master' into root6 2016-01-23 09:49:33 +01:00
8e399fa04e first steps towards asymmetry RRF fit. 2016-01-15 17:16:07 +01:00
a467553bd1 adding a branch for ROOT 6.x. This needs some minor adaptations due to the new rootcint/rootclang and the stricter c++11. 2015-01-17 15:31:52 +01: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
89ae45b769 (i) added cross-check for Asymmetry view which makes sure that fbg-t0 is equal for forward and backward histo. (ii) extended the command block for the test-nonlocal.msr in order to have an example which shows the more 'advanced' features of minuit. 2014-11-10 15:57:07 +01:00
3d7324e91e fixes the background bug reported in MUSR-299 2014-08-12 18:33:12 +02: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
c8222754ce some minor issues with run block names messages in case of missing t0's 2013-03-01 08:10:48 +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
c713a367d6 added Noakes-Kalvius function 2012-05-31 09:02:05 +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
nemu
7cedf2eb14 FIXED wrong asymmetry fit plotting if data range is not provided (MUSR-203). Added units to run duration in TPsiRunHeader 2011-09-09 06:37:22 +00:00
nemu
58a79084b1 added per run block chisq output 2011-07-25 07:35:29 +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
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
nemu
abeaf81812 bug in asymmetry fit with fixed background 2011-04-08 13:08:37 +00:00
nemu
20665da9eb fix of fix concerning cyclotron background correction for asymmetry fits (MUSR-175). For single histogram fits, the chisq/maxLH is now estimated correctly (see ChangeLog for more details) 2011-02-06 14:30:07 +00:00
nemu
0a422229b1 correct the end of the background intervall such that the background is as close as possible to a multiple of the proton cylce 2011-02-04 06:52:04 +00:00
nemu
5cd4283d30 added FIT_RANGE RESET | start end | s1 e1 s2 e2 .. sN eN command to the COMMAND block 2010-10-20 09:24:12 +00:00
nemu
f938e4ed27 more docu, and a bug fix in the Abragam function 2010-06-02 20:18:22 +00:00
nemu
5d124b3d79 added more docu 2010-05-31 08:25:57 +00:00
nemu
dd8603219c fixed error when combining grouping and addrun, etc. 2010-05-12 16:00:22 +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