67 Commits

Author SHA1 Message Date
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
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
3a0715b3ed fix of a wrong variable 2012-04-02 05:03:04 +00:00
6d374b89e3 improved libxml2 check 2012-03-30 13:52:29 +00:00
5db90af1dc added a validator program (musrRootValidation) for MusrRoot files. 2012-03-28 07:48:36 +00:00
138e7ba369 first implementation of MusrRoot. Cleaner handling of Red/Green mode data. General cleanup 2012-03-22 07:00:34 +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
Bastian M. Wojek
83578df2ce Tell the user that QtWebKit or QtXml have not been found (even though parts of Qt4 might be present) 2011-08-31 15:07:10 +00:00
Bastian M. Wojek
e5c673dda2 Ask the user if an installed musrfit_startup.xml should be overwritten if it has changed compared to the distribution's version 2011-08-31 14:43:14 +00:00
Bastian M. Wojek
84467eae96 Pass the compiler information from the configure script to the musredit/musrgui configuration 2011-08-29 10:32:47 +00:00
Bastian M. Wojek
b74a98c71c Fix a small bug in the musrfit configure script 2011-08-28 13:28:05 +00:00
Bastian M. Wojek
d201408728 Fixed a small dash incompatibility; there might be more bashisms out there---more testing is needed. 2011-08-27 12:47:37 +00:00
Bastian M. Wojek
ac421a6f2c Small fix to get the editor installation directory correctly 2011-08-27 11:27:56 +00:00
Bastian M. Wojek
34cf836455 Tried to improve the qmake detection 2011-08-27 10:49:42 +00:00
Bastian M. Wojek
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
Bastian M. Wojek
d16aef5ef0 Install the musrfit documentation locally and adjust the paths in musredit_startup.xml at configure time 2011-08-06 19:55:16 +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
44b156cab7 Small improvements for the musrfit installation process 2011-06-09 12:01:42 +00:00
Bastian M. Wojek
02d5784b68 Commit of some improvements when running under Cygwin
* musredit can now be built using Qt 4.5.3 of Cygwin 1.7---however, without online help
* FFTW3 threading in some user functions has been disabled

Obviously, there is a major problem when running musrgui/musredit with Cygwin on Windows7/64bit.
This has not been solved by this commit!
2011-06-07 09:15:24 +00:00
Bastian M. Wojek
0ebf68156a Synchronized the 'noOfFitBins' calculations for single-histogram and asymmetry fits 2011-05-25 09:48:15 +00:00
Bastian M. Wojek
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
Bastian M. Wojek
cb995d984d Commit some code snippets lying around here already for a few years 2011-05-09 13:06:27 +00:00
Bastian M. Wojek
87d366355f Changed the default search paths for HDF4, HDF5, and NeXus to find libraries installed through Fink or MacPorts on OS X 2011-05-07 11:14:26 +00:00
Bastian M. Wojek
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
Bastian M. Wojek
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
201808b055 added some additional standard path for HDF4 2011-04-11 09:05:19 +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
Bastian M. Wojek
e346f9c5c4 Produce a configure-error if fftw3f is not available but the BMWlibs should be built. 2011-03-23 12:01:14 +00:00
Bastian M. Wojek
aaa0638729 Restructured the interdependencies within the BMWlibs (maybe other commits will follow) 2011-03-20 18:03:49 +00:00
Bastian M. Wojek
2d2cf448db Trying to tie the same startup handler into different plugin libraries did not work quite well.
Therefore, a new library is built and the plugins link to that one.
This new library at the moment only contains the startup handler, however, finally it might serve as well for other routines
that are used by different plugins.
2011-03-19 11:44:56 +00:00
Bastian M. Wojek
cb2ab44b63 Minor fixes 2011-03-17 13:57:10 +00:00
Bastian M. Wojek
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
Bastian M. Wojek
233ca10dff - Removed the extensions of the external libraries in the test files.
ROOT is anyway checking multiple extensions for dynamic libraries, therefore leaving them out yields platform-independent msr files.

- Minor changes in libTFitPofB

- Added a user function for Uemura's ZF/LF dynamical spin-glass relaxation function
  see, e.g. Y.J. Uemura et al., Phys. Rev. B 31, 546-563 (1985)
  or Y.J. Uemura, Hyperfine Interact. 8, 739 (1981)

  This yields an overall Lorentzian field distribution with motional narrowing.
  However, the present implementation is at best some design study:
  The Lorentzian distribution of width "a" is modeled by Gaussian distributions of widths "sigma" from 0 to infinity.
  Some "resonable cut-offs" would be: 0.1*a < sigma < 10000*a
  Due to finite memory and computing power, in the present version these cut-offs are: 0.1*a < sigma < 40*a
  This yields depolarization functions overall similar to those in Uemura's articles.
  However, due to the low cut-off the first derivative of the depolarization function is zero in the limit t->0
  (what should not be the case for a true Lorentzan).
  Furthermore, the calculation is rather slow and the resulting functions should only be regarded as crude approximations.
  Therefore, at the moment this is far from being of practical use in analyzing experimental data.
2011-03-12 21:13:51 +00:00
nemu
d634a9286c added a magnetic proximity user function to the ASlibs 2011-03-10 11:45:02 +00:00
Bastian M. Wojek
8f5882897a Another try to build libCuba while working around gcc-bugs 2011-01-27 21:47:13 +00:00
Bastian M. Wojek
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
Bastian M. Wojek
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
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
Bastian M. Wojek
c4dfc3cbce Fixed compilation of BMWlibs with gcc 3.x 2010-11-02 14:25:57 +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
Bastian M. Wojek
ce50cd396e Marginal updates to the parallelized parts of libFitPofB 2010-10-05 07:41:21 +00:00
Bastian M. Wojek
440d22bc99 * Changed the exit condition for a few external classes in case the xml-file is not found.
Until now the program terminated with a segmentation fault which was not very user friendly...

* Got rid of a strange construction in the TRIM.SP handler (vector<pair> -> map)
2010-06-20 10:34:49 +00:00
Bastian M. Wojek
3b3521eccf J'en ai marre! J'ai fait les modifications dans le code de MUD que D. Arseneau a proposé. Au moins il est possible maintenant d'utiliser l'architecture EM64T. 2010-01-23 15:12:15 +00:00
Bastian M. Wojek
74fd4d8538 A few changes to the previous commit. Basic features should work now everywhere (MUD only 32bit) 2010-01-10 22:20:10 +00:00
Bastian M. Wojek
ed7a15f025 Further steps to OS independence (at least Linux, Mac OS X, Cygwin) of musrfit 2010-01-10 12:52:14 +00:00
Bastian M. Wojek
b321f52dd1 Fixed some bugs in the configure-generation introduced with the cuba-support 2010-01-07 19:58:37 +00:00
Bastian M. Wojek
39f00e58a2 * Added initial builtin-support for a subset of Cuba
This has not been tested too much (so it might be better not to build the BMWlibs at the moment)
  In case shared library support will become available from T. Hahn, this support will be dropped again.

* Added a few " " to musrgui (calls to musrview, musrt0 and msr<->mlog)
  These are needed in the simple system commands to support paths with spaces and other strange things... :-(
2010-01-05 21:56:52 +00:00
Bastian M. Wojek
852eea9015 Fixing part of the cygwin-installation.
The shared BMWlibs cannot be built at the moment since libcuba is built static only.
I am still thinking about including the C-part of Cuba into the BMWlibs
if T.Hahn would not add shared library support to it.
2010-01-04 20:07:35 +00:00
Bastian M. Wojek
9c78332387 Fixed the recursive building of musrfit in case only a subset of optional plug-ins is selected (make dist is not working at the moment) 2009-12-30 19:03:06 +00:00
Bastian M. Wojek
a270d81853 Minor improvements in the build procedure of musrfit:
- removed most of the not used checks
- introduced a new check for Minuit2 in ROOT
- building of static libraries is disabled by default now
- disabled the F77-checks related to libtool
  (when support for Minuit will become available in musrfit checks for Fortran compilers will be added explicitly)

Some tests under different environments are still needed...
2009-12-27 21:08:16 +00:00