24 Commits

Author SHA1 Message Date
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
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
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
aeebe8b4dd fixed lifetimecorrection bug (see MUSR-123) 2010-02-22 08:32:29 +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
e0c893503f first implementation of a RRF. So far, for single histo only. 2009-12-23 13:43:23 +00:00
nemu
fddc258401 corrected handling such that the proper initial phase is fitted 2009-12-16 06:30:02 +00:00
nemu
b793c76e58 corrected warning messages 2009-12-09 16:34:08 +00:00
nemu
76cc302e78 addded data default estimates 2009-12-08 08:55:28 +00:00
nemu
d58d7f36e1 (i) added that LEM afs paths to musrfit_startup.xml. (ii) fixed the resize errors (0/1 issue) 2009-11-10 11:34:27 +00:00
nemu
8943295bef fixed 0/1 problem PMsrRunBlock::GetBkgRange and PMsrRunBlock::GetDataRange 2009-11-09 11:20:06 +00:00
nemu
4bb5b7e979 adopted to comment MUSR-99 2009-11-09 07:20:16 +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
404028c478 newly added since it has been forgotten in the last commit. 2009-10-08 11:01:38 +00:00