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
10271dab9a
update of the copyright info.
2020-04-29 09:05:40 +02:00
fe7a1b7920
first full implementation of the sector command.
2020-02-03 20:54:23 +01: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
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
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
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
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
d9f1f1235e
added expected chisq calculation for single histogram fits (MUSR-194)
2011-07-09 16:26:42 +00:00
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
0ebf68156a
Synchronized the 'noOfFitBins' calculations for single-histogram and asymmetry fits
2011-05-25 09:48:15 +00:00
c6912f2efe
Small cosmetic changes
2011-05-23 12:44:18 +00:00
8fbadeb506
Removed some IF clauses from the chisq loops in order to enhance the fitting performance
2011-05-22 07:54:03 +00:00
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
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
34e462e05f
Put in line the time-resolution output of single-histogram and asymmetry data.
...
Now both have a line break at the end--before this has only been true for the asymmetry data.
(If the line break is not needed it should be consistently removed and replaced by a cout.flush()
followed by a line break when musrview is terminated.)
2011-03-03 13:49:22 +00:00
626a7dd9f8
fixes plotting issues described in MUSR-174
2011-02-24 06:14:57 +00:00
fe38ded491
removed an unnessary debug info
2011-02-14 19:54:08 +00:00
ccd9d6ccfd
added the command SCALE_N0_BKG TRUE | FALSE to the command-block. This can be used to force a single histogram fit to use either 1/ns scaling for N0 and background or 1/bins one.
2011-02-14 19:52:00 +00:00
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
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