690 Commits

Author SHA1 Message Date
nemu
4dee2b1b4d fixed a bug in zooming for 'f'-'f'-'d' 2010-10-11 05:43:38 +00:00
nemu
c3d9a11f63 zoom/unzoom once more. Uncluttered PMusrCanvas which should improve the situation 2010-10-07 14:42:34 +00:00
nemu
c41fe09422 fixed mangled chisq/maxLH issue (MUSR-148) 2010-10-07 05:42:21 +00:00
nemu
937a26d704 second attempt to improve the unzoom option after "improvement" in root-5.27.04. 2010-09-25 13:35:03 +00:00
nemu
36d6455783 adopted unzoom to "improvement" r33665 in root-5.27.04 also for difference Fourier. Fixed unzoom bug in musrt0 (MUSR-77) 2010-09-15 12:21:37 +00:00
nemu
12511fe662 adopted unzoom to "improvement" r33665 in root-5.27.04 also for Fourier 2010-09-15 10:46:46 +00:00
nemu
afe5f2eca0 adopted unzoom to "improvement" r33665 in root-5.27.04 2010-09-15 05:53:59 +00:00
nemu
28260beba0 fix of a variable mix-up 2010-09-04 07:20:22 +00:00
039aea08b0 Fixed reading ASCII data fiels (bug MUSR-146). 2010-09-02 19:08:53 +00:00
nemu
6774573f7a fixed fitting issue for boundaries none/none (MUSR-136), and some minor cleanup in PFitter 2010-08-31 06:02:06 +00:00
nemu
1688a904f6 implemented more checks on the integrity of the msr-file (MUSR-145) 2010-08-27 04:54:40 +00:00
nemu
0d4dc340ad another attempt to get rid of the bugs reported in MUSR-115 (d-f-d, f-d-f issues in the key event handling of musrview 2010-08-19 13:33:57 +00:00
nemu
68e3dc4dac fixed formating issue raised in MUSR-142 2010-08-17 11:26:07 +00:00
nemu
91c66651aa fix of a time window frame bug reported in MUSR-138 2010-08-11 13:12:31 +00:00
nemu
e94d869534 improved handling of LF, including bug fixing. 2010-08-05 14:20:49 +00:00
Bastian M. Wojek
7536ca6fc6 Submission of a few minor changes of the last time 2010-07-29 09:25:16 +00:00
Bastian M. Wojek
b99a75d156 Allow case insensitive 'run' as first entry in a runlist-file as input to msr2data 2010-06-28 08:11:01 +00:00
Bastian M. Wojek
20bb0e05a6 Added a tiny bit of documentation for the msr2data code 2010-06-27 11:23:40 +00:00
Bastian M. Wojek
10993ff2ee Tried to fix two bugs in the msr2data global-option:
* Functions in the RUN blocks are now correctly ignored
* Function lines which contain parameters with adjacent characters (+-*/()\t) should now be handled correctly [-> more tests are needed here]
2010-06-22 21:29:01 +00:00
Bastian M. Wojek
f1a0dc72fc Added another intensive check at the beginning of the db-data-output routine in order to prevent misuse of the program by using faulty global msr-files. This actually renders some of the later checks obsolete, however, I leave them for now. 2010-06-11 20:23:58 +00:00
Bastian M. Wojek
3dd64e0a3c Added a further convenience check to the file generation procedure - still needs to be tested 2010-06-11 11:24:22 +00:00
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
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