Commit Graph

152 Commits

Author SHA1 Message Date
Bastian M. Wojek fb8523d8bf Minor changes to the global input file generation 2010-06-10 12:01:40 +00:00
Bastian M. Wojek ce6819b741 To AS
---

Added a "global" option to msr2data

First, I hope, this major "surgery" does not cause any regressions in the standard features.
If so, please revert to an older version and file a bug report.

This new option is not yet documented and should be considered as experimental.

Also the newly added code still needs some cleanup - many things have simply been written as a proof of concept.
This will be done during further testing and fine-tuning stages.
2010-06-09 19:08:30 +00:00
Bastian M. Wojek 52d91435c1 Added some minor extensions to PMsrHandler and PMsrRunBlock 2010-06-08 21:35:19 +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 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 a8043ce89c massive cleanup 2010-05-12 13:10:22 +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 842463dc23 added power capability [pow(base,exp)] to functions 2010-03-08 10:43:46 +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 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 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
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 e0c893503f first implementation of a RRF. So far, for single histo only. 2009-12-23 13:43:23 +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
Bastian M. Wojek 72f858b89a Small change to avoid problems when using Boost >= 1.38.0 2009-11-23 11:58:27 +00:00
nemu c7f3eb3be1 hopfully improved ascii export 2009-11-20 16:14:29 +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 c2b898a246 improved handling for musrt0 2009-11-11 12:42:55 +00:00
nemu 43ec66ad7c added estimate of t0 for the case it is not present, neither in the msr-file nor in the data-file (see MUSR-73). 2009-11-06 06:16:31 +00:00
nemu 588747bd13 some more work towards a full encapsulation 2009-11-05 06:42:33 +00:00
nemu 208e6b97c2 some more work towards a full encapsulation 2009-11-04 21:09:54 +00:00
nemu 15ddd28644 some more work towards a full encapsulation 2009-11-04 11:42:51 +00:00
nemu 73b70defaa some more work on the encapsulation 2009-11-03 08:28:27 +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 e14feae99d added PSI mdu-ascii data format 2009-10-29 12:57:07 +00:00
nemu 61de7905e6 removed 'save db' support from PMusrCanvas. 2009-10-23 05:53:25 +00:00
nemu 33222b675c started with the encapsulation of the data structure which should reduce the number of crashes and help to reduce memory leaks 2009-10-07 12:26:41 +00:00
nemu e38d0793ba a first implementation for the triumf mud-format. Start migrating towards real CERN ROOT notation int->Int_t, etc. 2009-09-30 13:21:49 +00:00
nemu 060192488c 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:25:18 +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 970d272081 adopted HandleFourier such that it is working with the histo frameing 2009-06-03 08:08:00 +00:00
nemu 6e7b2fa1b2 some changes concerning proper scaling 2009-06-03 06:16:25 +00:00
nemu a2844ad03d first implementation of 'use_fit_ranges' and 'sub_ranges' in the PLOT block. Testing still to be performed. 2009-06-02 07:58:33 +00:00
nemu f287ef666c added skeleton for some additional PLOT block commands. No functionality yet. 2009-05-28 08:49:42 +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 8e8081a75b graphical dump without X 2009-05-06 05:35:26 +00:00
nemu 2012c537e8 some improvements for non-musr type handling 2009-05-04 11:52:34 +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