437 Commits

Author SHA1 Message Date
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
nemu
e76399634f improved attribute handling for NeXus IDF 1 2011-12-22 13:51:04 +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
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
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
cbacba3f2c proper normalization for NOT lifetime corrected signals 2011-10-14 13:23:31 +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
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
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
nemu
03b9fe1e71 added minimal NeXus IDF 2 support. 2011-08-23 17:22:29 +00:00
nemu
b67a19d406 changed label 'Power Fourier' to 'Ampl. Fourier' 2011-08-11 06:51:28 +00:00
Bastian M. Wojek
61fd5fa948 Adjusted msr2data that it works together with the NeXus reading routine which explicitly writes the ring-anode vector 2011-07-31 07:39:52 +00:00
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