Commit Graph

214 Commits

Author SHA1 Message Date
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
db4425e352 slightly wrong chisq since the 0-bin entries were treated wrongly for scaled N0/Bkg data (MUSR-193) 2011-05-25 14:39:54 +00:00
0ebf68156a Synchronized the 'noOfFitBins' calculations for single-histogram and asymmetry fits 2011-05-25 09:48:15 +00:00
1b5c1df691 Fixed a bug in the LF calculations and parallelized the chi^2 calculations in single-histogram and asymmetry fits 2011-05-21 14:11:00 +00:00
4063fed5ea fixed casting problem between uint32 and time_t present for some compilers (MUSR-185) 2011-05-07 14:18:58 +00:00
89ea4cb63f cosmetic in the musrview legend concerning the units 2011-05-05 12:34:32 +00:00
a25af63b8e FIXED bug reported in MUSR-183: missing background for 2nd histo in asymmetry fits when using musrt0. 2011-05-04 05:41:23 +00:00
2f8e393dfa any2many: force the user to define the exact NeXus ouput formate (HDF4,HDF5,XML) 2011-04-14 08:01:44 +00:00
0191375a96 The previous approach did not work...
Needed to split off the userFcn part from libPMusr to be able to provide a shared library of it (under Cygwin).
2011-04-13 09:59:33 +00:00
1024f5a28f Removed the user-function dependency on libPMusr
It should now be possible to build a static version of musrfit and shared libraries for the user functions.
This is needed on systems which do not support linking static libraries to shared ones (like Cygwin).
These changes still need to be tested on Cygwin, especially with user functions implementing the "global interface".
2011-04-13 08:18:14 +00:00
f471eb2efe FIXED Makefiles so that the NeXus support will not be built if it has not been enabled during the configure stage 2011-04-12 09:53:26 +00:00
2c514a881c Tried to fix the ASCII export from musrview in the case of a Fourier-power-difference (some more tests needed); additionally minor changes to the BMWlibs 2011-04-10 16:27:36 +00:00
abeaf81812 bug in asymmetry fit with fixed background 2011-04-08 13:08:37 +00:00
49619fcffb added NeXus support. Still a lot of testing will be needed, documentation updated, etc. 2011-04-08 09:24:32 +00:00
dc86404f88 Fixed formatting issue in the FUNCTIONS block (MUSR-171) 2011-03-19 14:01:05 +00:00
032ce4a1e4 - Extended the usage of xml-startup files in some plugin libraries and renamed the file itself.
- Added some documentation to libLFRelaxation which in the present stage is mainly used for testing purposes.
2011-03-16 16:43:13 +00:00
d634a9286c added a magnetic proximity user function to the ASlibs 2011-03-10 11:45:02 +00:00
626a7dd9f8 fixes plotting issues described in MUSR-174 2011-02-24 06:14:57 +00:00
9624e5171f Slight improvement when an empty MUSRFITPATH environment variable is set 2011-02-22 19:26:31 +00:00
076753e018 added an additional layer for process killing to musrgui/musredit which hopefully should help to reduce the number of musrfit/musrview corpses with high CPU load. 2011-02-21 10:20:47 +00:00
7fc76c7cb1 crash of musrfit if a run-data-files is not found (MUSR-176) 2011-02-14 20:18:45 +00:00
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
507c36b4d8 corrected time resolution for WKM from (ns) -> (us) 2011-02-07 16:59:42 +00:00
9e4f92173a the formating of fixed parameters (step=0) where wrongly formatted (connected to MUSR-167). This should be done correctly now. 2011-02-07 13:30:47 +00:00
90ed9df1b6 some more work, including the PSI-BIN write routines which are officially not released yet. 2011-02-07 06:02:56 +00:00
20665da9eb fix of fix concerning cyclotron background correction for asymmetry fits (MUSR-175). For single histogram fits, the chisq/maxLH is now estimated correctly (see ChangeLog for more details) 2011-02-06 14:30:07 +00:00
0a422229b1 correct the end of the background intervall such that the background is as close as possible to a multiple of the proton cylce 2011-02-04 06:52:04 +00:00
aca61d4731 improved parameter formating 2011-02-03 10:31:57 +00:00
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
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
55071fb754 Updated the built-in version of the cuba library to version 2.1 within the BMWlibs.
Also the cuba-compiler-check for gcc-versions containing a certain bug (4.2, 4.4.3) has been adopted.
This still needs to be tested on systems having such a gcc.

If this new version of the built-in library should be installed,
first make sure that the old version is completely deinstalled (including headers, pkg-config-files, etc.).
2011-01-27 13:46:51 +00:00
a89c70ae84 Fixed the linking of the BMWlibs under Cygwin by adding explicitly "-lgomp" to the linker-flags
which seems to be necessary for Cygwin and does not hurt under GNU/Linux.
2011-01-26 19:22:27 +00:00
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
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
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
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
7cb19dada8 fixed musrt0 crash for histogram number out of range (MUSR-157) 2010-11-19 06:54:15 +00:00
04e9d4e04f less strict handling of empty function blocks, than before 2010-11-17 14:18:11 +00:00
6684af651a cosmetics in the y-labelling 2010-11-12 15:37:18 +00:00
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
f496416062 Fixed ChangeLog 2010-11-11 08:16:25 +00:00
d586158967 Introduced one more safeguard against trys to hand over run numbers outside the range of an unsigned integer to msr2data 2010-11-10 23:30:24 +00:00
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
c4dfc3cbce Fixed compilation of BMWlibs with gcc 3.x 2010-11-02 14:25:57 +00:00
a6466e2dac hanging musrt0's should be eliminated now (MUSR-153) 2010-10-29 05:29:49 +00:00
622f656849 improved y-axis scaling for Fourier. Fix of wrong WARNING for use_fit_ranges 2010-10-28 11:47:29 +00:00
38161c9d42 added y-range option to usr_fit_ranges in the PLOT block (MUSR-144) 2010-10-21 05:03:28 +00:00
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
616740f299 change into the msr-file directory before calling musrview 2010-10-18 05:09:27 +00:00
3322097fdf musredit: improved file system watcher notification mechanism to prevent multiple user notifications. 2010-10-15 07:36:00 +00:00