257 Commits

Author SHA1 Message Date
3443820e83 add a stretched Kubo-Toyabe function to the PTheory class, including an update of the docu. Motivated by Z. Salman, which also provided a patch, which needed some improvements. 2013-09-10 09:03:21 +00:00
310eedf190 add N0 estimate to single histogram fit. Some improvements in musredit (see ChangLog) 2013-02-14 09:16:27 +00:00
22c7702cfe docu updated 2013-01-15 12:25:48 +00:00
459a36fa79 added some information about elapsed fitting times. Corrected some outdated online helps. 2013-01-07 11:54:28 +00:00
3fe4875267 if multiple SAVE are present in the COMMAND block, append MINUIT2.OUTPUT file. Added docu for PRINT_LEVEL (MUSR-244). 2012-12-11 09:56:17 +00:00
17d7ef4b99 improved Fourier transform. For details see the ChangeLog 2012-11-19 13:27:37 +00:00
e5dd674b44 changed to out formating of the fitting parameters such that enough relevant digits are written 2012-11-06 06:52:33 +00:00
6c8ce66e1d (i) add PRINT_LEVEL to the command block (0='nothing' to
3='everything'). This allows to tune the Minuit2 output. (ii) added the
possibilty to give the fit range in bins. For details see the docu.
2012-10-25 14:44:16 +00:00
c713a367d6 added Noakes-Kalvius function 2012-05-31 09:02:05 +00:00
bf1d8cc96d added spin rotation angle to the LEM MusrRoot file 2012-05-22 13:51:56 +00:00
1d6f8082f0 newly added dump_header, which dumps the header information of a muSR data file. Furthermore some minor cleanup took place. 2012-05-12 14:08:27 +00:00
f04dd5a283 prevent any2many from overwriting an input file. At the some additional bug fixing of any2many has be carried out. 2012-05-10 14:43:48 +00:00
99c24a146d added negative muon fitting support. Fixed at the same time bugs related to logx/logy plotting. Allow now comments after functions in the FUNCTION block. 2012-04-24 10:52:20 +00:00
7368884482 added timeout facility for musrfit, musrview, musrt0. Adopted musredit/musrgui accordingly. 2012-04-15 08:39:30 +00:00
315691741c removed Area since it is the same as 'Beamline Name' 2012-03-22 12:53:45 +00:00
138e7ba369 first implementation of MusrRoot. Cleaner handling of Red/Green mode data. General cleanup 2012-03-22 07:00:34 +00:00
7e2ea62ac3 more work towards NeXus exchange 2011-12-22 10:27:01 +00:00
60a11bffa5 more work on the conversion routines, NeXus, etc. 2011-12-16 15:22:35 +00:00
379345496b if the background is estimated from an interval rather than fitted, it will be added as a comment to the background interval tag. (MUSR-192) 2011-11-15 08:46:00 +00:00
b7418623e5 implemented compact detector grouping in musrview 2011-09-13 06:48:25 +00:00
nemu
ad14d62117 forward/backward accept now not only c0 c1 c2 ... cn, but also c0-cn cm-cp, or c0 c1-cn cm cx-cy, etc. (MUSR-201, improvement whish) 2011-09-09 11:30:13 +00:00
nemu
03b9fe1e71 added minimal NeXus IDF 2 support. 2011-08-23 17:22:29 +00:00
nemu
58a79084b1 added per run block chisq output 2011-07-25 07:35:29 +00:00
Bastian M. Wojek
1e115c7bd3 Slightly changed the behavior of msr2data (see ChangeLog for details) 2011-07-13 13:37:28 +00:00
nemu
d9f1f1235e added expected chisq calculation for single histogram fits (MUSR-194) 2011-07-09 16:26:42 +00:00
Bastian M. Wojek
caa3fdfc12 * Define a function for the XML-reading workaround in order to clean up a bit.
For the moment we keep to copies of it -- one for the use within the various
  musrfit programs, one that can be used in user functions.

* musrt0 is now again activated in musrgui/musredit by default.
2011-06-23 11:00:09 +00:00
Bastian M. Wojek
8dc31cad54 Fixed crash of musrview in case the XML startup file is present but cannot be parsed correctly 2011-06-14 17:53:33 +00:00
Bastian M. Wojek
f0d05d35cd Refined the data-file search 2011-06-14 09:42:24 +00:00
Bastian M. Wojek
b448487cd0 Try to provide a solution to MUSR-195:
In the RUN block data file names can now be given in the following way:
- without extension (default and only possible way up to now)
- with (completely) lower-case extension (e.g. .nxs)
- with (completely) upper-case extension (e.g. .NXS)

In any case, the file that is looked for can have both a lower-case or an upper-case extension.
2011-06-13 15:04:16 +00:00
Bastian M. Wojek
0ebf68156a Synchronized the 'noOfFitBins' calculations for single-histogram and asymmetry fits 2011-05-25 09:48:15 +00:00
nemu
49619fcffb added NeXus support. Still a lot of testing will be needed, documentation updated, etc. 2011-04-08 09:24:32 +00:00
nemu
103283400a improved parameter representation in musrview (MUSR-167) 2011-02-24 07:44:27 +00:00
nemu
ccd9d6ccfd added the command SCALE_N0_BKG TRUE | FALSE to the command-block. This can be used to force a single histogram fit to use either 1/ns scaling for N0 and background or 1/bins one. 2011-02-14 19:52:00 +00:00
nemu
90ed9df1b6 some more work, including the PSI-BIN write routines which are officially not released yet. 2011-02-07 06:02:56 +00:00
nemu
aca61d4731 improved parameter formating 2011-02-03 10:31:57 +00:00
nemu
fbd0cae432 tries to deal with precision request MUSR-167 2011-02-02 21:56:57 +00:00
Bastian M. Wojek
91b9fef9a2 Changed the default behavior of msr2data for writing output-file headers.
The default (if no option is given) is now that only for newly generated or empty files the respective header will be written.
If data is appended to an existing file, it is assumed that the header also is present already!
In this case only the new data blocks are appended directly after to existing ones.
[Most probably this behavior is broken if used in a native Windows environment, however, this is not the only problem there...]

The previous option "noheader" is preserved.
It suppresses the output of the header in any case.
If new data are appended to an existing output file this is done at the end of the file---just as before!

A new option "header" has been introduced.
If this is given, the output of the header is forced---no matter if a file (probably with header) existed before or not.
Also in this case all new data (and the header) are appended at the end of the output file if it existed already.

In case both options are given, the default behavior is activated.
2011-01-30 14:23:14 +00:00
Bastian M. Wojek
decd363404 msr2data becomes more tolerant
Non-existing msr-files in the specified list of runs are now ignored as far as possible!
Still a warning for each non-existing file will be issued!
Before, encountering such a file led to the termination of the program.

Also the writing of the empty lines at the end of the data-output-file should be fixed now in this case.
It is needed to get a "correct db-file".
Before, when the program has been aborted before the last run was processed, these empty lines had not been appended to the file.
2011-01-29 13:16:04 +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
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
nemu
62d33112ba y-axis cosmetics the 2nd, or 3rd, or ... never mind 2010-11-15 06:48:37 +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
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
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