421 Commits

Author SHA1 Message Date
Bastian M. Wojek
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
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
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
nemu
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
nemu
d9f1f1235e added expected chisq calculation for single histogram fits (MUSR-194) 2011-07-09 16:26:42 +00:00
nemu
a9ceae63a0 improved handling of 'old' ROOT LEM data files (2006 and earlier) for any2many (MUSR-178) 2011-06-29 06:33:03 +00:00
nemu
3243d26ef1 improved handling of WKM/ASCII in PRunDataHandler for any2many (MUSR-172) 2011-06-28 18:06:29 +00:00
Bastian M. Wojek
b55f18289e Fixed the order in which libPMusr and libPUserFcnBase are built 2011-06-24 08:59:31 +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
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
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
f75194750c Prevent crash when a non-existing userFcn is called from an existing library (MUSR-159) 2011-06-14 13:15:09 +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
37c2cd0d8f Added some debugging information 2011-05-31 14:55:56 +00:00
nemu
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
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
c6912f2efe Small cosmetic changes 2011-05-23 12:44:18 +00:00
Bastian M. Wojek
8fbadeb506 Removed some IF clauses from the chisq loops in order to enhance the fitting performance 2011-05-22 07:54:03 +00:00
Bastian M. Wojek
708cb0115b Remove some includes left over from previous testing sessions 2011-05-21 14:52:25 +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
nemu
8884600bec fix filtering of field units for PSI-BIN/PSI-MDU 2011-05-09 09:13:09 +00:00
nemu
4063fed5ea fixed casting problem between uint32 and time_t present for some compilers (MUSR-185) 2011-05-07 14:18:58 +00:00
Bastian M. Wojek
3a56d329ce Increase the number of figures shown in the time-resolution debugging output in order to accommodate the needs of the high-field project. 2011-05-06 15:54:22 +00:00
nemu
89ea4cb63f cosmetic in the musrview legend concerning the units 2011-05-05 12:34:32 +00:00
nemu
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
nemu
043d185a60 clean up NeXus interface 2011-04-14 08:05:47 +00:00
nemu
2f8e393dfa any2many: force the user to define the exact NeXus ouput formate (HDF4,HDF5,XML) 2011-04-14 08:01:44 +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
Bastian M. Wojek
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
ae83e1a296 added missing NEXUS_CLFAGS 2011-04-08 14:40:18 +00:00
nemu
abeaf81812 bug in asymmetry fit with fixed background 2011-04-08 13:08:37 +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
aaa0638729 Restructured the interdependencies within the BMWlibs (maybe other commits will follow) 2011-03-20 18:03:49 +00:00
Bastian M. Wojek
dc86404f88 Fixed formatting issue in the FUNCTIONS block (MUSR-171) 2011-03-19 14:01:05 +00:00
Bastian M. Wojek
34e462e05f Put in line the time-resolution output of single-histogram and asymmetry data.
Now both have a line break at the end--before this has only been true for the asymmetry data.
(If the line break is not needed it should be consistently removed and replaced by a cout.flush()
followed by a line break when musrview is terminated.)
2011-03-03 13:49:22 +00:00
nemu
103283400a improved parameter representation in musrview (MUSR-167) 2011-02-24 07:44:27 +00:00
nemu
626a7dd9f8 fixes plotting issues described in MUSR-174 2011-02-24 06:14:57 +00:00
Bastian M. Wojek
9624e5171f Slight improvement when an empty MUSRFITPATH environment variable is set 2011-02-22 19:26:31 +00:00
Bastian M. Wojek
c048dc4553 Fixed accidental casting of a NULL pointer in msr2data---originally this was expected to lead to an exception (but obviously things are different) 2011-02-21 20:44:06 +00:00
nemu
fe38ded491 removed an unnessary debug info 2011-02-14 19:54:08 +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
507c36b4d8 corrected time resolution for WKM from (ns) -> (us) 2011-02-07 16:59:42 +00:00
nemu
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
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
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
Bastian M. Wojek
5c6331f51f Added some documentation to the numerical integration classes and applied small cosmetic changes to msr2data. 2011-02-06 12:44:45 +00:00
Bastian M. Wojek
4a3ccab3e9 Fix of the auto-header generation in msr2data for DOS-formatted output files 2011-02-05 18:32:12 +00:00