866 Commits

Author SHA1 Message Date
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
5386342cf4 some more docu 2010-06-04 19:51:20 +00:00
nemu
787a95dad3 more docu 2010-06-04 04:55:19 +00:00
nemu
f938e4ed27 more docu, and a bug fix in the Abragam function 2010-06-02 20:18:22 +00:00
nemu
25693d6c44 more docu 2010-06-01 07:08:04 +00:00
nemu
5d124b3d79 added more docu 2010-05-31 08:25:57 +00:00
nemu
959c792a68 added more docu and cleaned up code a bit 2010-05-26 19:31:13 +00:00
nemu
dd8603219c fixed error when combining grouping and addrun, etc. 2010-05-12 16:00:22 +00:00
nemu
a8043ce89c massive cleanup 2010-05-12 13:10:22 +00:00
nemu
a52ae4c3e1 info part of musrview shows now the grouping, e.g. h:1+5 (single histo), or h:1+5/3+7, etc. 2010-05-10 05:34:00 +00:00
nemu
99492ab3c0 elimination of MUSR-116 bug 2010-03-16 17:47:14 +00:00
nemu
ee2bb20c62 elimination of MUSR-115 bug 2010-03-16 17:44:59 +00:00
nemu
686419119f some minor improvments in the SCAN/CONTOURS handling 2010-03-12 15:13:39 +00:00
nemu
97968654fa first (still crude) implementation of SCAN/CONTOURS/MNPLOT in PFitter (see MUSR-100). 2010-03-12 10:00:00 +00:00
nemu
901f12b5c5 preventing more nan's by replacing func(a) -> func(|a|) for func: sqrt(), ln(), log() 2010-03-09 10:13:24 +00:00
nemu
fe55074160 slight improvement to avoid nan's when using pow() 2010-03-08 14:36:28 +00:00
nemu
842463dc23 added power capability [pow(base,exp)] to functions 2010-03-08 10:43:46 +00:00
nemu
643dd1fa9d fix of wrong 'fixed background feeding'. Removed signed/unsigned warning by proper casting 2010-03-08 07:41:15 +00:00
Bastian M. Wojek
a63319fc70 Added the possibility to use sqrt() in the FUNCTION block - it could be removed again when finally pow() will be implemented 2010-03-06 23:53:53 +00:00
nemu
aeebe8b4dd fixed lifetimecorrection bug (see MUSR-123) 2010-02-22 08:32:29 +00:00
nemu
a4d578bfea switched axis labeling as wished in MUSR-124 2010-02-22 08:03:00 +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
6adf757ec0 fix of MuSR-119 (non-musr ascii export first point missing) 2010-01-29 08:40:50 +00:00
nemu
673c5b4f41 Improved issue described in MuSR-121 (wrong run numbers in plot block). Started with the implementation of MuSR-120 (adding histos; no adding implemented yet). 2010-01-28 08:16:40 +00:00
Bastian M. Wojek
2c1cc87150 Added a standard header to be able to fix a compilation error with a recent GNU compiler 2010-01-14 21:02:15 +00:00
nemu
9b94dff860 some minor improvements towards fixing the boost::spirit problem for newer distributions. Needs a thorough checking on a newer linux distribution, i.e. at home 2010-01-14 13:11:07 +00:00
nemu
41c5d45d8b replace RRF Asymmetry Fit dummy, by Mu Minus Single Histo Fit dummy 2010-01-12 16:00:12 +00:00
nemu
6837ba3cdf added a first implementation of RRF view representation for asymmetry view 2010-01-06 13:09:55 +00:00
nemu
6f49067095 improved handling for invalid MUSRFITPATH 2010-01-05 10:13:12 +00:00
Bastian M. Wojek
199ff918f0 Nicer solution for fftw3_threads 2009-12-27 15:26:11 +00:00
nemu
e0c893503f first implementation of a RRF. So far, for single histo only. 2009-12-23 13:43:23 +00:00
Bastian M. Wojek
a6959ea2fc Integrated a few external musrfit plug-ins into the standard build process.
In order to enable building of the additional libraries supply the following options to the configure script:

--enable-BMWlibs (for libTFitPofB libLFRelaxation libGapIntegrals libCalcMeanFieldsLEM)
--enable-ASlibs (for libPNL_PippardFitter)

By default, both options are disabled.

At the moment I have tested it only in an SL5 32-bit environment.
Further tests are going to follow.

For a clean installation I suggest to remove any musrfit and plug-in installations before newly building musrfit.
2009-12-22 17:00:43 +00:00
nemu
162d6eff39 strikter handling of ADDRUN (MUSR-106) 2009-12-18 06:58:20 +00:00
nemu
20fa6f88fb added sign form parX for the FUNCTION block. 2009-12-17 06:47:56 +00:00
nemu
3635df7fc9 fixed MUSR-107, namely that difference of Fourier != Fourier of difference. At the same time fixed left-over from MUSR-109, namely the inserted additional empty line after map for non-musr-fit. 2009-12-16 14:52:28 +00:00
nemu
fddc258401 corrected handling such that the proper initial phase is fitted 2009-12-16 06:30:02 +00:00
nemu
88c7978ab9 fix issue MUSR-110 2009-12-10 15:54:16 +00:00
nemu
b793c76e58 corrected warning messages 2009-12-09 16:34:08 +00:00
nemu
a3b7a10f49 fixed db data tag reading error 2009-12-09 10:14:22 +00:00
nemu
0e5d18160c added default background estimate if not present. Update the PSIBIN/MDU class from AA/AR. 2009-12-09 08:03:51 +00:00
nemu
76cc302e78 addded data default estimates 2009-12-08 08:55:28 +00:00
nemu
c7f3eb3be1 hopfully improved ascii export 2009-11-20 16:14:29 +00:00
nemu
cc7bfa3071 fixed a cut & paste error 2009-11-18 13:51:23 +00:00
nemu
da50f1d18c check for subsequent numbered parameters added according to the suggestion of the Royal Highness pointed out in MUSR-103. 2009-11-18 06:41:18 +00:00
nemu
246e763d71 changed the extraction of the time resolution for the mud data format, since MUD_getHistFsPerBin seems sometimes to return just crap. 2009-11-17 16:05:31 +00:00
nemu
13ef385056 changed WKMFULLDATAPATH to MUSRFULLDATAPATH 2009-11-13 12:01:09 +00:00
nemu
7ccd021cfc added new option to musrt0: the key 'T' will set the t0 cursor to the maximum of the histogram 2009-11-12 13:29:42 +00:00
nemu
e9cb6ded30 updated Class_MuSR_PSI from A.Amato/A.Raselli. Added support for MDU PSI binary format. Not rigorously tested yet. 2009-11-12 11:26:10 +00:00
nemu
c2b898a246 improved handling for musrt0 2009-11-11 12:42:55 +00:00