565 Commits

Author SHA1 Message Date
Bastian M. Wojek
230586a2d4 Fixed a few more problems in msr2data.
That these did not surface earlier can only be due to the musrgui/musredit interface which has additional safeguards.
Obviously no one uses this program from the command line (my guess).
2011-01-22 12:39:34 +00:00
Bastian M. Wojek
ebcd192509 Added a minor extension to the global mode of msr2data which allows the generation of a global msr-file including the results of single-run fits for
run-specific parameters. This might help to get overall better starting parameters for a global fit.
For a few more details and an example, see the documentation.
Any testing is very welcome.
2011-01-22 01:17:22 +00:00
nemu
826ad1efa9 a more fexible handling of filename list and run list in any2many (see MUSR-166). Still far from production 2011-01-13 12:10:30 +00:00
nemu
f9a310f2fa Changed two annoying little problems in musrview (PMusrCanvas):
(i) It was not always possible to zoom the x-range down below some threshold. The reason was that on overlay histogram frame is needed which is invoked by DrawFrame from the DataTheory Pad. This by default has only 1000 'bins'. If the plotted histogram had more bins (e.g. 16000 bins) zooming was only possible down to the relative ratio (16 for the example). This is fixed now by increasing the 'bins' of the overlay histogram frame.
(ii) When toggling between data view and difference view, the x-range was subtly shrinking.
2011-01-11 20:50:38 +00:00
nemu
ade1f49d96 formatting issue for high field muSR (MUSR-164) 2011-01-11 07:13:31 +00:00
nemu
a406219826 some more work on any2may. Still not meant for production 2011-01-11 06:24:02 +00:00
nemu
452018bedf added any2many, an attempt to write the universial musr-data-file converter. Still some work needed. Added the possibility to show the t0 saved in the data file. 2010-12-23 13:16:57 +00:00
Bastian M. Wojek
2735116ab7 Resulting from a previous bug in musrfit there exist many msr-files which have a huge number of empty lines at the end.
Files that are newly generated through msr2data from now on will only write two successive empty lines (at any occurence).
Any further empty lines will be deleted.
2010-12-14 16:33:05 +00:00
Bastian M. Wojek
6aa2d61c35 Introduced another safeguard in msr2data against the first one who tries to call her/his beamline PIE1083, the institute TRIUMF10000 or the data format NEXUS2011 2010-12-11 16:08:41 +00:00
nemu
7cb19dada8 fixed musrt0 crash for histogram number out of range (MUSR-157) 2010-11-19 06:54:15 +00:00
Bastian M. Wojek
41f10b77c0 Comment the FUNCTIONS block in the written msr-file if there is none in the present msr-data-structure 2010-11-17 19:47:07 +00:00
nemu
04e9d4e04f less strict handling of empty function blocks, than before 2010-11-17 14:18:11 +00:00
nemu
62d33112ba y-axis cosmetics the 2nd, or 3rd, or ... never mind 2010-11-15 06:48:37 +00:00
nemu
6684af651a cosmetics in the y-labelling 2010-11-12 15:37:18 +00:00
nemu
a1b94ae247 fixes the inadequate attempt to use log max likelihood fit for asymmetry/non-muSR fit (MUSR-148) 2010-11-12 09:30:18 +00:00
Bastian M. Wojek
f496416062 Fixed ChangeLog 2010-11-11 08:16:25 +00:00
Bastian M. Wojek
2e49d42cfb see MUSR-155 2010-11-10 23:02:10 +00:00
nemu
f4d6e349fe added the option to split a user function into a global and run-block related part (see MUSR-134) 2010-11-10 13:13:00 +00:00
nemu
a6466e2dac hanging musrt0's should be eliminated now (MUSR-153) 2010-10-29 05:29:49 +00:00
nemu
622f656849 improved y-axis scaling for Fourier. Fix of wrong WARNING for use_fit_ranges 2010-10-28 11:47:29 +00:00
nemu
e191844270 potential fix of event handler crash in non-muSR fit 2010-10-27 19:00:47 +00:00
nemu
38161c9d42 added y-range option to usr_fit_ranges in the PLOT block (MUSR-144) 2010-10-21 05:03:28 +00:00
nemu
5cd4283d30 added FIT_RANGE RESET | start end | s1 e1 s2 e2 .. sN eN command to the COMMAND block 2010-10-20 09:24:12 +00:00
nemu
99c1e8d17e fit range decimal precision handling of PMsrHandler improved (MUSR-150 request). musredit keeps now it last open directory 2010-10-14 19:52:20 +00:00
nemu
cc3106ff5e added FIX/RELEASE/RESTORE minuit2 command to the COMMAND block 2010-10-12 19:30:38 +00:00
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