Commit Graph

194 Commits

Author SHA1 Message Date
138e7ba369 first implementation of MusrRoot. Cleaner handling of Red/Green mode data. General cleanup 2012-03-22 07:00:34 +00:00
d2e6eacad2 fixed a bug in PRunAsymmetry::PrepareData relevant when combining addrun's and grouping (MUSR-209). Removed some obsolate out-commented parts from PRunSingleHisto 2012-01-05 15:50:00 +00:00
7f65a27d1e changed Qt parts of configure.ac in order to be compatible with BSD MacOS X 2011-12-23 06:19:43 +00:00
7e2ea62ac3 more work towards NeXus exchange 2011-12-22 10:27:01 +00:00
8f5b5609bc some more work towards a proper NeXus muon data format support. 2011-12-15 12:25:28 +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
a63ed33de7 proper phase correction for Re/Im Fourier transform (MUSR-206) 2011-11-14 20:24:27 +00:00
a41c518ecc Nonlocal: optimized the number of calculations for B(z) 2011-11-08 06:43:41 +00:00
d9a83c6c19 when release or restore is called (command block commands), the
corresponding parameter error is set to 2% of its parameter value (MUSR-188).
At the same time removed a left-over unused variable.
2011-10-17 08:26:12 +00:00
57d68e7133 better handling of all the various normalization issues, expecially fixed the wrong normalization when using "SCALE_N0_BKG FALSE" together with view_packing (MUSR-184) 2011-10-14 05:18:52 +00:00
2e41140242 crash in non-interactive mode of musrt0 when data file doesn't exist (MUSR-133) 2011-09-21 07:09:36 +00:00
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
7cedf2eb14 FIXED wrong asymmetry fit plotting if data range is not provided (MUSR-203). Added units to run duration in TPsiRunHeader 2011-09-09 06:37:22 +00:00
da9c6cda70 Integrated building and installing the Qt editor into the musrfit installation.
At the moment this is done in the simple way that qmake is called from the configure script.

Since there is not really a straightforward way to look for Qt installations at certain paths,
the automatic determination of the available Qt version is only done through pkg-config.
In case Qt is found at non-standard installation paths, one can either use the configure options
"--with-qt3" or "--with-qt4" to specify the Qt directory or alternatively set the variable
PKG_CONFIG_PATH to some value like
/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:$ROOTSYS/lib/pkgconfig:/opt/qtsdk-2010.02/qt/lib/pkgconfig

During the installation only one editor---either musredit or musrgui---is built and installed.
musredit/Qt4 is generally preferred over musrgui/Qt3.
The only way to install musrgui when also a sufficent Qt4 installation is present is to specify solely
the "--with-qt3" option on the configure level. If additionally the "--with-qt4" option is given, only
musredit will be installed.

Both editors still can be installed as previously---this step is merely to make the installation more
convenient for less-experienced users (hopefully).
2011-08-26 18:11:22 +00:00
03b9fe1e71 added minimal NeXus IDF 2 support. 2011-08-23 17:22:29 +00:00
09c810b461 Added the online documentation of musrfit to the repository. 2011-08-01 13:30:41 +00:00
c78c9cc3dd FIXED broken run-list interface to msr2data in musredit/musrgui (MUSR-202) 2011-07-31 09:43:05 +00:00
bff5b6c043 Fixed some severe problems in the run-number-digit determination of msr2data introduced in late 2010 2011-07-30 22:05:57 +00:00
58a79084b1 added per run block chisq output 2011-07-25 07:35:29 +00:00
2a4f5bf78a changed musredit/musrgui msr2data interface such that it is hopefully closer to the command line (MUSR-162, MUSR-173) 2011-07-15 05:43:41 +00:00
1e115c7bd3 Slightly changed the behavior of msr2data (see ChangeLog for details) 2011-07-13 13:37:28 +00:00
d0f520a1f4 a musrview exception error when starting with t0's very much off to the positive side in the msr-file (MUSR-199) 2011-07-12 07:17:38 +00:00
822a0bf0b7 in case first good bin (fgb) is not given, it is now fgb=t0+(10ns/time resolution) (MUSR-190) 2011-07-11 18:42:47 +00:00
d9f1f1235e added expected chisq calculation for single histogram fits (MUSR-194) 2011-07-09 16:26:42 +00:00
a9ceae63a0 improved handling of 'old' ROOT LEM data files (2006 and earlier) for any2many (MUSR-178) 2011-06-29 06:33:03 +00:00
3243d26ef1 improved handling of WKM/ASCII in PRunDataHandler for any2many (MUSR-172) 2011-06-28 18:06:29 +00:00
dc48ea9712 * Suggestion how to "solve" the XML-reading problems in certain environments:
A workaround has been implemented where it is not tried any more to "directly
  parse the file" but rather the file is read into a memory buffer which then
  is parsed.
  For further information, see MUSR-122.

* Fixed a linking problem when only shared libraries are built on Cygwin
  (introduced with the split-off of libPUserFcnBase).
2011-06-16 22:00:33 +00:00
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
f75194750c Prevent crash when a non-existing userFcn is called from an existing library (MUSR-159) 2011-06-14 13:15:09 +00:00
f0d05d35cd Refined the data-file search 2011-06-14 09:42:24 +00:00
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