8fbadeb506
Removed some IF clauses from the chisq loops in order to enhance the fitting performance
Bastian M. Wojek
2011-05-22 07:54:03 +00:00
708cb0115b
Remove some includes left over from previous testing sessions
Bastian M. Wojek
2011-05-21 14:52:25 +00:00
1b5c1df691
Fixed a bug in the LF calculations and parallelized the chi^2 calculations in single-histogram and asymmetry fits
Bastian M. Wojek
2011-05-21 14:11:00 +00:00
c9c8f83971
Adjust the musrfit/musredit XML files to the new documentation URLs
Bastian M. Wojek
2011-05-13 17:54:45 +00:00
0af373d6b7
Transfer new features into development branch.
salman2011-05-13 12:44:38 +00:00
8792445c3f
some improvements when calculating mean values and reading rge-files
nemu
2011-05-13 11:07:03 +00:00
eb4e2ff726
Added view_packing option to web interface.
salman2011-05-12 08:01:24 +00:00
cb995d984d
Commit some code snippets lying around here already for a few years
Bastian M. Wojek
2011-05-09 13:06:27 +00:00
8884600bec
fix filtering of field units for PSI-BIN/PSI-MDU
nemu
2011-05-09 09:13:09 +00:00
4063fed5ea
fixed casting problem between uint32 and time_t present for some compilers (MUSR-185)
nemu
2011-05-07 14:18:58 +00:00
87d366355f
Changed the default search paths for HDF4, HDF5, and NeXus to find libraries installed through Fink or MacPorts on OS X
Bastian M. Wojek
2011-05-07 11:14:26 +00:00
3a56d329ce
Increase the number of figures shown in the time-resolution debugging output in order to accommodate the needs of the high-field project.
Bastian M. Wojek
2011-05-06 15:54:22 +00:00
960d15da08
fixed bug in PoissonNoise due to wrong ROOT method
nemu
2011-05-06 15:46:10 +00:00
89ea4cb63f
cosmetic in the musrview legend concerning the units
nemu
2011-05-05 12:34:32 +00:00
2fe5c035e5
Commit of the Meissner-state-simulation code using an asymmetric energy spectrum
Bastian M. Wojek
2011-05-05 10:11:37 +00:00
9d8bf8e80a
Apply some cosmetic changes.
salman2011-05-04 14:22:24 +00:00
a25af63b8e
FIXED bug reported in MUSR-183: missing background for 2nd histo in asymmetry fits when using musrt0.
nemu
2011-05-04 05:41:23 +00:00
585fdafe1f
If Bg and Data bins are empty use musrt0 for defaults.
salman2011-05-03 10:39:24 +00:00
26180566e5
If Bg and Data bins are empty use musrt0 for defaults.
salman2011-05-03 10:36:20 +00:00
9e0866a56e
Using musrt0 new features
salman2011-05-02 22:16:39 +00:00
01bbb3cd73
Year combox automatic filling.
salman2011-04-26 11:21:21 +00:00
043d185a60
clean up NeXus interface
nemu
2011-04-14 08:05:47 +00:00
2f8e393dfa
any2many: force the user to define the exact NeXus ouput formate (HDF4,HDF5,XML)
nemu
2011-04-14 08:01:44 +00:00
e77cb772e6
Added a short description how to get NeXus support on Cygwin
Bastian M. Wojek
2011-04-13 16:05:56 +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).
Bastian M. Wojek
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".
Bastian M. Wojek
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
Bastian M. Wojek
2011-04-12 09:53:26 +00:00
201808b055
added some additional standard path for HDF4
suter_a2011-04-11 09:05:19 +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
Bastian M. Wojek
2011-04-10 16:27:36 +00:00
c77eebc8a9
added missing files
nemu
2011-04-08 14:06:43 +00:00
abeaf81812
bug in asymmetry fit with fixed background
nemu
2011-04-08 13:08:37 +00:00
49619fcffb
added NeXus support. Still a lot of testing will be needed, documentation updated, etc.
nemu
2011-04-08 09:24:32 +00:00
00d591fbff
added some missing header files
suter_a2011-04-03 18:49:43 +00:00
42e4a1970e
added a first version of ISIS NeXus Version 1
nemu
2011-03-31 05:43:10 +00:00
e346f9c5c4
Produce a configure-error if fftw3f is not available but the BMWlibs should be built.
Bastian M. Wojek
2011-03-23 12:01:14 +00:00
56799142dc
Restructured the interdependencies within the BMWlibs (maybe other commits will follow)
Bastian M. Wojek
2011-03-21 14:33:34 +00:00
2c724e778b
delete left over
nemu
2011-03-21 08:00:04 +00:00
f6f383e1f1
Restructured the interdependencies within the BMWlibs (maybe other commits will follow)
Bastian M. Wojek
2011-03-20 18:47:54 +00:00
aaa0638729
Restructured the interdependencies within the BMWlibs (maybe other commits will follow)
Bastian M. Wojek
2011-03-20 18:03:49 +00:00
dc86404f88
Fixed formatting issue in the FUNCTIONS block (MUSR-171)
Bastian M. Wojek
2011-03-19 14:01:05 +00:00
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.
Bastian M. Wojek
2011-03-19 11:44:56 +00:00
653fcdcec8
minor fix of wrong offset
nemu
2011-03-18 13:48:46 +00:00
cb2ab44b63
Minor fixes
Bastian M. Wojek
2011-03-17 13:57:10 +00:00
032ce4a1e4
- Extended the usage of xml-startup files in some plugin libraries and renamed the file itself.
Bastian M. Wojek
2011-03-16 16:43:13 +00:00
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.
Bastian M. Wojek
2011-03-12 21:13:51 +00:00
d634a9286c
added a magnetic proximity user function to the ASlibs
nemu
2011-03-10 11:45:02 +00:00
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.)
Bastian M. Wojek
2011-03-03 13:49:22 +00:00
103283400a
improved parameter representation in musrview (MUSR-167)
nemu
2011-02-24 07:44:27 +00:00
626a7dd9f8
fixes plotting issues described in MUSR-174
nemu
2011-02-24 06:14:57 +00:00
9624e5171f
Slight improvement when an empty MUSRFITPATH environment variable is set
Bastian M. Wojek
2011-02-22 19:26:31 +00:00
c048dc4553
Fixed accidental casting of a NULL pointer in msr2data---originally this was expected to lead to an exception (but obviously things are different)
Bastian M. Wojek
2011-02-21 20:44:06 +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.
nemu
2011-02-21 10:20:47 +00:00
7fc76c7cb1
crash of musrfit if a run-data-files is not found (MUSR-176)
nemu
2011-02-14 20:18:45 +00:00
fe38ded491
removed an unnessary debug info
nemu
2011-02-14 19:54:08 +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.
nemu
2011-02-14 19:52:00 +00:00
8369690dc3
AA35 will not do anything anyway, therefore: changed the type of the PSI-BIN bin_width member from float to double.
Bastian M. Wojek
2011-02-09 17:53:15 +00:00
507c36b4d8
corrected time resolution for WKM from (ns) -> (us)
nemu
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.
nemu
2011-02-07 13:30:47 +00:00
90ed9df1b6
some more work, including the PSI-BIN write routines which are officially not released yet.
nemu
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)
nemu
2011-02-06 14:30:07 +00:00
5c6331f51f
Added some documentation to the numerical integration classes and applied small cosmetic changes to msr2data.
Bastian M. Wojek
2011-02-06 12:44:45 +00:00
4a3ccab3e9
Fix of the auto-header generation in msr2data for DOS-formatted output files
Bastian M. Wojek
2011-02-05 18:32:12 +00:00
bd9c562eb9
Remove also 'white lines' at the end of the output file when using the automatic header inclusion in msr2data
Bastian M. Wojek
2011-02-05 15:42:06 +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
nemu
2011-02-04 06:52:04 +00:00
aca61d4731
improved parameter formating
nemu
2011-02-03 10:31:57 +00:00
fbd0cae432
tries to deal with precision request MUSR-167
nemu
2011-02-02 21:56:57 +00:00
2cb6219fd0
Added an option "new" for output-file recreation to msr2data. This is present already in musrgui/musredit. Maybe the command-line users who do not know the "rm" shell command find it useful.
Bastian M. Wojek
2011-01-30 20:53:59 +00:00
91b9fef9a2
Changed the default behavior of msr2data for writing output-file headers.
Bastian M. Wojek
2011-01-30 14:23:14 +00:00
decd363404
msr2data becomes more tolerant
Bastian M. Wojek
2011-01-29 13:16:04 +00:00
8f5882897a
Another try to build libCuba while working around gcc-bugs
Bastian M. Wojek
2011-01-27 21:47:13 +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.
Bastian M. Wojek
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.
Bastian M. Wojek
2011-01-26 19:22:27 +00:00
20f61a8c2c
Fix of a problem in msr2data introduced earlier today
Bastian M. Wojek
2011-01-22 16:00:51 +00:00
c17f67bdb0
MUSR-170
Bastian M. Wojek
2011-01-22 13:26:13 +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).
Bastian M. Wojek
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.
Bastian M. Wojek
2011-01-22 01:17:22 +00:00
826ad1efa9
a more fexible handling of filename list and run list in any2many (see MUSR-166). Still far from production
nemu
2011-01-13 12:10:30 +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.
nemu
2011-01-11 20:50:38 +00:00
ade1f49d96
formatting issue for high field muSR (MUSR-164)
nemu
2011-01-11 07:13:31 +00:00
a406219826
some more work on any2may. Still not meant for production
nemu
2011-01-11 06:24:02 +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.
nemu
2010-12-23 13:16:57 +00:00
2735116ab7
Resulting from a previous bug in musrfit there exist many msr-files which have a huge number of empty lines at the end. Files that are newly generated through msr2data from now on will only write two successive empty lines (at any occurence). Any further empty lines will be deleted.
Bastian M. Wojek
2010-12-14 16:33:05 +00:00
6aa2d61c35
Introduced another safeguard in msr2data against the first one who tries to call her/his beamline PIE1083, the institute TRIUMF10000 or the data format NEXUS2011
Bastian M. Wojek
2010-12-11 16:08:41 +00:00
21b1421cfe
Start implementing use of msr2dat for global fit
salman2010-11-24 14:22:15 +00:00
6442d6a9e6
Trying to catch up with changes id bulk directories.. hopeless
salman2010-11-24 14:01:17 +00:00
9595ce5871
Trying to catch up with changes id bulk directories.. hopeless
salman2010-11-24 13:57:33 +00:00
7cb19dada8
fixed musrt0 crash for histogram number out of range (MUSR-157)
nemu
2010-11-19 06:54:15 +00:00
41f10b77c0
Comment the FUNCTIONS block in the written msr-file if there is none in the present msr-data-structure
Bastian M. Wojek
2010-11-17 19:47:07 +00:00
04e9d4e04f
less strict handling of empty function blocks, than before
nemu
2010-11-17 14:18:11 +00:00
62d33112ba
y-axis cosmetics the 2nd, or 3rd, or ... never mind
nemu
2010-11-15 06:48:37 +00:00
ec164c535d
Added a few more functions to libFitPofB
Bastian M. Wojek
2010-11-14 17:19:46 +00:00
31335c4bd1
Attempt to fix An. London model in BMWlibs - theory has to be checked again.
Bastian M. Wojek
2010-11-13 20:55:54 +00:00
cb1e5ca292
when comparing current/previous parameters, ignore the phase
nemu
2010-11-13 08:50:55 +00:00
7d928c93c4
changed URL to PSI web site docu, so that is accessible from outside of PSI
nemu
2010-11-12 16:20:49 +00:00
6684af651a
cosmetics in the y-labelling
nemu
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)
nemu
2010-11-12 09:30:18 +00:00