Compare commits
316 Commits
Author | SHA1 | Date | |
---|---|---|---|
6883249117 | |||
dcced32d27 | |||
14fbb427dd | |||
41a5e493eb | |||
f987776d41 | |||
4a881fad56 | |||
342da696db | |||
5c03c229dc | |||
a756a2def4 | |||
1c901f73ba | |||
92f230e220 | |||
5540b628c1 | |||
25b59ab473 | |||
e4d56519b2 | |||
88d5bb64b4 | |||
57b7c52865 | |||
cd82c613aa | |||
99e8eb9769 | |||
f109281ba7 | |||
54040c6bcd | |||
8f3ed6f222 | |||
48fd3fa082 | |||
591540cef7 | |||
a5d236ec23 | |||
83aff2667a | |||
da8d5dcbfa | |||
eab0f2d626 | |||
1258e1a0cb | |||
b71455da66 | |||
455314350f | |||
a796bf6ee2 | |||
bd45eec20d | |||
8ffcd488dd | |||
2774821b73 | |||
1bff46a61d | |||
f977f88791 | |||
37e35c72be | |||
5ca9925dae | |||
1477320be0 | |||
37dced302b | |||
58080fe4f1 | |||
d95193141d | |||
0bc2ef7612 | |||
7a0609dc84 | |||
e8aecbb419 | |||
595fc89740 | |||
da42b95813 | |||
293f6ecd3e | |||
4061b7f24f | |||
d8145d92d0 | |||
1d191acd60 | |||
326f40ce04 | |||
25d9adc8fc | |||
9fd077cf6d | |||
7a66d35055 | |||
557b562047 | |||
b5d446212f | |||
f6d8df74e1 | |||
5f3cf3c64a | |||
2efa975de8 | |||
b57d67fe35 | |||
fa6344360f | |||
c640e8719f | |||
12817c1baf | |||
16be3f3c7a | |||
f6a20031db | |||
e578072469 | |||
d223667872 | |||
36d14d226f | |||
8f23d8b5ab | |||
14b54bbfc8 | |||
fffd276376 | |||
9bdb8ec2ec | |||
9370b2cd4d | |||
f99b69b820 | |||
5248ad5cf8 | |||
5384da49e1 | |||
dbf9c930e6 | |||
15a82cbcc1 | |||
aa34efb0a8 | |||
9bf47a2690 | |||
42086350e7 | |||
e05aee0ce9 | |||
13242bd5d0 | |||
3ddb736f88 | |||
194bd31c8f | |||
382c27b24b | |||
89fbdff40a | |||
a5669569d8 | |||
258def542f | |||
21ccdad460 | |||
404683b15f | |||
60893f8df4 | |||
83984c1ef5 | |||
f7ccf79fa8 | |||
b840bd022b | |||
b2850d015c | |||
7d86a26bb7 | |||
a9a8fb1bac | |||
19312a042d | |||
95e47a826a | |||
f843d61bbb | |||
d34d1b9679 | |||
ae5f95b83a | |||
cf584ae117 | |||
924edcf70f | |||
2e2f4554a9 | |||
d2325aff60 | |||
716ac6d8c0 | |||
1f73e808b5 | |||
be1e47e480 | |||
f43d51738f | |||
d49821658b | |||
5d8a47fe1e | |||
6162f683c8 | |||
523e54c6db | |||
60580a920f | |||
c4d52df3bc | |||
bb18b01514 | |||
b1422053ab | |||
9dd3340f78 | |||
63db43519c | |||
c2f5d01beb | |||
f83cf055be | |||
27a744c8f5 | |||
720d62dc51 | |||
79b59b6dfb | |||
bb5f502398 | |||
462119dd35 | |||
33da0caf2c | |||
455129be6b | |||
1ae0b284b4 | |||
80a7398350 | |||
60b804c3a1 | |||
c6cee9f6d8 | |||
07a1dc1d59 | |||
450a5c9d1b | |||
9232d96246 | |||
25685b8989 | |||
9bdcdcc661 | |||
2bc6e2a8cf | |||
3840b86efc | |||
c17924a742 | |||
ceaf7d0c6a | |||
fb3dc05505 | |||
b4aaa2bc15 | |||
fdf604fff2 | |||
ed0bdcdd8f | |||
a1c5d1d4d9 | |||
de3d4ca932 | |||
f6741a470a | |||
815190d316 | |||
bfbdb5af4b | |||
b1fce70959 | |||
e019efb272 | |||
c3cd58802a | |||
9cad7580b7 | |||
f906c81448 | |||
9374f18d54 | |||
b76d88cb2a | |||
bfe501f6f2 | |||
377c2acc02 | |||
f8503db8b8 | |||
2f993cffaf | |||
7f16918007 | |||
da4525a5a5 | |||
40c54fe195 | |||
9866554574 | |||
5d43c1d514 | |||
ca61789bf3 | |||
9ba57235ad | |||
bb41ce188f | |||
9d8c1c7606 | |||
fa67af63b7 | |||
c44ad0d6bf | |||
1709b5e4d9 | |||
fca13283e1 | |||
cc1679144c | |||
d52b0b70a4 | |||
261691c040 | |||
07aa67a1a2 | |||
6e32f5f9c9 | |||
a17abc952b | |||
bcbed139f9 | |||
9a638eee0a | |||
ab15fa833e | |||
5908d8791a | |||
454e6771e2 | |||
ceb7aa6818 | |||
5e28f465a4 | |||
3a112cd391 | |||
d13c6565ca | |||
c61641efe3 | |||
a93bcb86c4 | |||
77636efbb1 | |||
30708ff4bc | |||
ad082a8cb2 | |||
31f47f6214 | |||
238dbda037 | |||
51a8dfd879 | |||
8a6b24cc9d | |||
c3c01e5de0 | |||
31fc9af9bf | |||
02cdef0fa7 | |||
421fe729f8 | |||
2fb9679e4d | |||
dce31426a7 | |||
43a8945109 | |||
265fe18f36 | |||
5d80c342e0 | |||
63516fc499 | |||
c768c27898 | |||
65d40cfe97 | |||
9c1144fa7b | |||
b106ac61a1 | |||
a361c7f7bb | |||
08d2b00e86 | |||
f7834aaead | |||
1e5bfb8216 | |||
4c24a1e481 | |||
af51f488d2 | |||
87c8860ef7 | |||
19d5c09b45 | |||
78548b21b4 | |||
ae22917323 | |||
ea841ec186 | |||
d74588827e | |||
333eaea7f1 | |||
e32d0e912c | |||
6585032df0 | |||
2471b76ec0 | |||
ba11658e5b | |||
41c21cb446 | |||
aae5762f7c | |||
68a788c3c7 | |||
2f0b65f816 | |||
e95bee2c41 | |||
08848e68a8 | |||
f93ef114e0 | |||
5c69c21f56 | |||
4cdc4dbf1d | |||
852043f286 | |||
2f91278871 | |||
35198e46da | |||
8d18ca7905 | |||
6c9adda7d2 | |||
8c2b38cd5e | |||
bb1f6b113b | |||
c94acc8e26 | |||
cb14afbe07 | |||
b0bb5f94a5 | |||
a9744e273b | |||
95ac103605 | |||
af7b729a5a | |||
03667f9dfb | |||
0972843d30 | |||
9cf8a7287d | |||
2c5765dd5d | |||
ee064fc504 | |||
3dfd348d5e | |||
b65e07b8c8 | |||
908f728744 | |||
2d2d24681c | |||
2339ee9b80 | |||
82ba938c2d | |||
0eb017c946 | |||
666f2c49c3 | |||
be73428f00 | |||
d5f7d9eb9d | |||
9f38d49773 | |||
21d216f301 | |||
b1ba14ec76 | |||
e0e4a1e17e | |||
ec5a26d96d | |||
47580b66d8 | |||
cd04164943 | |||
2afdf14c15 | |||
3ff1bebd9d | |||
4d2d7c860e | |||
a5e9191f15 | |||
c720b60a07 | |||
f3542337fc | |||
a0f7d5e934 | |||
fe48da74a1 | |||
7ae1b9ab5e | |||
1c5c94a86b | |||
96ad763940 | |||
1c31fc88d0 | |||
fe4c0ddede | |||
f395f6c601 | |||
158b4b2486 | |||
1a64e0c5e8 | |||
4ab8e6ebf2 | |||
d5fbd2f2a9 | |||
c7b840a4f3 | |||
e8b0b002d8 | |||
9b22dc24f3 | |||
2da9f5312d | |||
4fd610442d | |||
53a18397c9 | |||
8aed37a793 | |||
1f7c4898dc | |||
0a59e6b4d9 | |||
e37f6c9bcc | |||
df63cdd462 | |||
5f925c4fc3 | |||
1c9b1f237f | |||
e10c0281a0 | |||
21e133f87a | |||
8a371e1b6e | |||
cdc2b157fd | |||
f1a1dd2121 | |||
71275e313c | |||
46864e7942 | |||
fec752182b | |||
a467553bd1 |
314
CMakeLists.txt
Normal file
@ -0,0 +1,314 @@
|
||||
# - musrfit
|
||||
cmake_minimum_required(VERSION 3.6)
|
||||
|
||||
project(musrfit VERSION 1.3.0 LANGUAGES C CXX)
|
||||
|
||||
#--- musrfit specific options -------------------------------------------------
|
||||
option(nexus "build optional NeXus support. Needed for ISIS" OFF)
|
||||
option(ASlibs "build optional ASlibs" OFF)
|
||||
option(BMWlibs "build optional BMWlibs" OFF)
|
||||
option(BNMRlibs "build optional beta-NMR libs" OFF)
|
||||
option(qt_based_tools "try to install Qt based tools (musredit, musrWiz, musrStep, mupp)" ON)
|
||||
option(try_OpenMP "try to use OpenMP if available" ON)
|
||||
# define qt_version with possible values 'auto' or version '3', '4', '5'
|
||||
set(qt_version AUTO CACHE STRING "provide a specific Qt version to be used.")
|
||||
set_property(CACHE qt_version PROPERTY STRINGS AUTO 3 4 5)
|
||||
|
||||
#--- set a default build type if none was specified ---------------------------
|
||||
set(default_build_type "Release")
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
||||
message(STATUS "Setting build type to '${default_build_type}' as none was specified.")
|
||||
set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE
|
||||
STRING "Choose the type of build." FORCE)
|
||||
# Set the possible values of build type for cmake-gui
|
||||
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
|
||||
"Debug" "Release" "MinSizeRel" "RelWithDebInfo")
|
||||
endif()
|
||||
|
||||
#--- perform some checks and generate the config.h ----------------------------
|
||||
include(CheckTypeSize)
|
||||
include(CheckIncludeFiles)
|
||||
include(CheckFunctionExists)
|
||||
check_include_files(alloca.h HAVE_ALLOCA_H)
|
||||
check_include_files("sys/ipc.h;sys/shm.h" HAVE_SHMGET)
|
||||
check_function_exists(fork HAVE_FORK)
|
||||
check_include_files(dlfcn.h HAVE_DLFCN_H)
|
||||
check_function_exists(erf HAVE_ERF)
|
||||
check_function_exists(getloadavg HAVE_GETLOADAVG)
|
||||
check_include_files(inttypes.h HAVE_INTTYPES_H)
|
||||
check_include_files(memory.h HAVE_MEMORY_H)
|
||||
check_function_exists(powl HAVE_POWL)
|
||||
check_include_files(memory.h HAVE_MEMORY_H)
|
||||
check_include_files(stdint.h HAVE_STDINT_H)
|
||||
check_include_files(stdlib.h HAVE_STDLIB_H)
|
||||
check_include_files(string.h HAVE_STRING_H)
|
||||
check_include_files(strings.h HAVE_STRINGS_H)
|
||||
check_include_files(sys/stat.h HAVE_SYS_STAT_H)
|
||||
check_include_files(sys/types.h HAVE_SYS_TYPES_H)
|
||||
check_include_files(sys/unistd.h HAVE_UNISTD_H)
|
||||
check_type_size("long double" LONG_DOUBLE)
|
||||
check_type_size("double" DOUBLE)
|
||||
if (${LONG_DOUBLE} GREATER ${DOUBLE})
|
||||
set(HAVE_LONG_DOUBLE 1)
|
||||
set(HAVE_LONG_DOUBLE_WIDER 1)
|
||||
endif (${LONG_DOUBLE} GREATER ${DOUBLE})
|
||||
|
||||
#--- check for all the needed packages ----------------------------------------
|
||||
|
||||
#--- add path to my own find modules and other stuff
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||
|
||||
#--- check for git ------------------------------------------------------------
|
||||
find_package(Git REQUIRED)
|
||||
|
||||
#--- check for ROOT -----------------------------------------------------------
|
||||
find_package(ROOT 6.06 REQUIRED COMPONENTS Gui MathMore Minuit2 XMLParser)
|
||||
if (ROOT_mathmore_FOUND)
|
||||
execute_process(COMMAND root-config --bindir OUTPUT_VARIABLE ROOT_BINDIR)
|
||||
string(STRIP ${ROOT_BINDIR} ROOT_BINDIR)
|
||||
execute_process(COMMAND root-config --version OUTPUT_VARIABLE ROOT_VERSION)
|
||||
string(STRIP ${ROOT_VERSION} ROOT_VERSION)
|
||||
message("-- Found ROOT: ${ROOT_BINDIR} (found version: ${ROOT_VERSION})")
|
||||
#---Define useful ROOT functions and macros (e.g. ROOT_GENERATE_DICTIONARY)
|
||||
include(${ROOT_USE_FILE})
|
||||
endif (ROOT_mathmore_FOUND)
|
||||
|
||||
#--- check for boost ----------------------------------------------------------
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
#--- check for gsl ------------------------------------------------------------
|
||||
find_package(GSL REQUIRED)
|
||||
|
||||
#--- check for fftw3 ----------------------------------------------------------
|
||||
find_package(FFTW3 REQUIRED)
|
||||
if (FFTW3_THREAD_FOUND)
|
||||
set(HAVE_LIBFFTW3_THREADS 1 CACHE INTERNAL "fftw3_threads are available")
|
||||
endif (FFTW3_THREAD_FOUND)
|
||||
if (FFTW3F_THREAD_FOUND)
|
||||
set(HAVE_LIBFFTW3F_THREADS 1 CACHE INTERNAL "fftw3f_threads are available")
|
||||
endif (FFTW3F_THREAD_FOUND)
|
||||
|
||||
#--- check for libxml2 --------------------------------------------------------
|
||||
find_package(LibXml2 REQUIRED)
|
||||
|
||||
#--- check for OpenMP ---------------------------------------------------------
|
||||
if (try_OpenMP AND NOT APPLE)
|
||||
find_package(OpenMP)
|
||||
if (OpenMP_FOUND)
|
||||
add_definitions(-DHAVE_GOMP)
|
||||
set(HAVE_GOMP 1 CACHE INTERNAL "Have GOMP")
|
||||
endif (OpenMP_FOUND)
|
||||
endif (try_OpenMP AND NOT APPLE)
|
||||
|
||||
#--- check for Qt -------------------------------------------------------------
|
||||
if (qt_based_tools)
|
||||
# check for any Qt, i.e. AUTO
|
||||
if (qt_version STREQUAL AUTO)
|
||||
# first try Qt5
|
||||
# Find the QtCore library
|
||||
find_package(Qt5Core)
|
||||
if (Qt5Core_FOUND)
|
||||
# Find the QtWidgets library
|
||||
find_package(Qt5Widgets CONFIG REQUIRED)
|
||||
# Find the QtXml library
|
||||
find_package(Qt5Xml CONFIG REQUIRED)
|
||||
# Find the QtNetwork library
|
||||
find_package(Qt5Network CONFIG REQUIRED)
|
||||
# Find the QtSvg library
|
||||
find_package(Qt5Svg CONFIG REQUIRED)
|
||||
# Fing the QtPrintSupport
|
||||
find_package(Qt5PrintSupport CONFIG REQUIRED)
|
||||
endif (Qt5Core_FOUND)
|
||||
|
||||
# if Qt5 is not found, try Qt4
|
||||
if (NOT Qt5Core_FOUND)
|
||||
find_package(Qt4 COMPONENTS QtGui QtWebKit QtXml)
|
||||
endif (NOT Qt5Core_FOUND)
|
||||
|
||||
# if Qt5 and Qt4 is not found try Qt3. Hopefully you never reach this point
|
||||
if (NOT Qt5Core_FOUND)
|
||||
if (NOT Qt4_FOUND)
|
||||
find_package(Qt3)
|
||||
endif (NOT Qt4_FOUND)
|
||||
endif (NOT Qt5Core_FOUND)
|
||||
endif (qt_version STREQUAL AUTO)
|
||||
|
||||
# check specifically for Qt5
|
||||
if (qt_version STREQUAL 5)
|
||||
# Find the QtCore library
|
||||
find_package(Qt5Core)
|
||||
if (Qt5Core_FOUND)
|
||||
# Find the QtWidgets library
|
||||
find_package(Qt5Widgets CONFIG REQUIRED)
|
||||
# Find the QtXml library
|
||||
find_package(Qt5Xml CONFIG REQUIRED)
|
||||
# Find the QtNetwork library
|
||||
find_package(Qt5Network CONFIG REQUIRED)
|
||||
# Find the QtSvg library
|
||||
find_package(Qt5Svg CONFIG REQUIRED)
|
||||
# Fing the QtPrintSupport
|
||||
find_package(Qt5PrintSupport CONFIG REQUIRED)
|
||||
else (Qt5Core_FOUND)
|
||||
message(FATAL_ERROR "Couldn't find the specifically requested Qt5 version.")
|
||||
endif (Qt5Core_FOUND)
|
||||
endif (qt_version STREQUAL 5)
|
||||
|
||||
# check specifically for Qt4
|
||||
if (qt_version STREQUAL 4)
|
||||
find_package(Qt4 COMPONENTS QtGui QtWebKit QtXml)
|
||||
if (NOT Qt4_FOUND)
|
||||
message(FATAL_ERROR "Couldn't find the specifically requested Qt4 version.")
|
||||
endif (NOT Qt4_FOUND)
|
||||
endif (qt_version STREQUAL 4)
|
||||
|
||||
# check specifically for Qt3
|
||||
if (qt_version STREQUAL 3)
|
||||
find_package(Qt3)
|
||||
if (NOT QT_FOUND)
|
||||
message(FATAL_ERROR "Couldn't find the specifically requested Qt3 version.")
|
||||
endif (NOT QT_FOUND)
|
||||
endif (qt_version STREQUAL 3)
|
||||
endif (qt_based_tools)
|
||||
|
||||
#--- if NeXus check also for HDF4, HDF5, and MXML -----------------------------
|
||||
if (nexus)
|
||||
find_package(HDF5 COMPONENTS CXX REQUIRED )
|
||||
#//as35 - STILL NEEDED?? -> find_package(HDF4 REQUIRED)
|
||||
find_package(MXML REQUIRED)
|
||||
find_package(NeXus REQUIRED)
|
||||
add_definitions(-DPNEXUS_ENABLED)
|
||||
endif (nexus)
|
||||
|
||||
#--- check for Cuba lib if BMWlibs are enabled --------------------------------
|
||||
#//as35 probably always stick to the internal one ...
|
||||
|
||||
#--- all checks done -> feed config.h -----------------------------------------
|
||||
set(HAVE_CONFIG_H 1 CACHE INTERNAL "config.h is available")
|
||||
configure_file(${CMAKE_SOURCE_DIR}/cmake/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
||||
|
||||
#--- propagate to the sub-directories -----------------------------------------
|
||||
add_subdirectory(src)
|
||||
|
||||
#--- write summary of the installation
|
||||
message("")
|
||||
message("|-----------------------------------------------------------------------|")
|
||||
message("| |")
|
||||
message("| Summary |")
|
||||
message("| |")
|
||||
message("|-----------------------------------------------------------------------|")
|
||||
message("")
|
||||
message(" System: ${CMAKE_HOST_SYSTEM_NAME} ${CMAKE_SYSTEM_PROCESSOR} - ${CMAKE_HOST_SYSTEM_VERSION}")
|
||||
message(" -------")
|
||||
message("")
|
||||
message(" Build Type: ${CMAKE_BUILD_TYPE}")
|
||||
message(" -----------")
|
||||
message("")
|
||||
message(" Requirements:")
|
||||
message(" -------------")
|
||||
message("")
|
||||
message(" FFTW3 found in ${FFTW3_INCLUDE_DIR}")
|
||||
message(" GSL found in ${GSL_INCLUDE_DIRS}")
|
||||
message(" BOOST found in ${Boost_INCLUDE_DIRS}")
|
||||
message(" LibXML2 found in ${LIBXML2_INCLUDE_DIR}")
|
||||
message(" ROOT found in ${ROOT_INCLUDE_DIRS}")
|
||||
if (OpenMP_FOUND)
|
||||
if (OpenMP_CXX_VERSION)
|
||||
message(" OpenMP found (version ${OpenMP_CXX_VERSION})")
|
||||
else (OpenMP_CXX_VERSION)
|
||||
message(" OpenMP found")
|
||||
endif (OpenMP_CXX_VERSION)
|
||||
endif (OpenMP_FOUND)
|
||||
|
||||
if (nexus)
|
||||
message("")
|
||||
#//as35 message(" HDF4 found in ${HDF4_INCLUDE_DIRS}")
|
||||
message(" HDF5 found in ${HDF5_INCLUDE_DIRS}")
|
||||
message(" NeXus found in ${NEXUS_INCLUDE_DIR}")
|
||||
endif (nexus)
|
||||
|
||||
message("")
|
||||
if (qt_based_tools)
|
||||
if (Qt5Core_FOUND)
|
||||
message(" Qt found in ${Qt5Core_INCLUDE_DIRS} (Version: ${Qt5Core_VERSION})")
|
||||
else (Qt5Core_FOUND)
|
||||
if (Qt4_FOUND)
|
||||
message(" Qt found (Version: ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH})")
|
||||
else (Qt4_FOUND)
|
||||
if (QT_FOUND)
|
||||
message(" Qt found (Version: ${QT_VERSION})")
|
||||
endif (QT_FOUND)
|
||||
endif (Qt4_FOUND)
|
||||
endif (Qt5Core_FOUND)
|
||||
endif (qt_based_tools)
|
||||
message("")
|
||||
message(" Features:")
|
||||
message(" ---------")
|
||||
message("")
|
||||
message(" Supported muSR file formates:")
|
||||
message(" MusrRoot : yes")
|
||||
message(" ROOT (LEM) : yes")
|
||||
message(" MUD (triumf) : yes")
|
||||
message(" PSI-BIN : yes")
|
||||
message(" PSI-MDU : yes")
|
||||
message(" WKM (deprecated) : yes")
|
||||
if (nexus)
|
||||
message(" NeXus : yes")
|
||||
else (nexus)
|
||||
message(" NeXus : no")
|
||||
endif (nexus)
|
||||
|
||||
message("")
|
||||
message(" External user-function libraries:")
|
||||
if (ASlibs)
|
||||
message(" ASlibs : yes")
|
||||
else (ASlibs)
|
||||
message(" ASlibs : no")
|
||||
endif (ASlibs)
|
||||
if (BMWlibs)
|
||||
message(" BMWlibs : yes")
|
||||
else (BMWlibs)
|
||||
message(" BMWlibs : no")
|
||||
endif (BMWlibs)
|
||||
if (BNMRlibs)
|
||||
message(" BNMRlibs : yes")
|
||||
else (BNMRlibs)
|
||||
message(" BNMRlibs : no")
|
||||
endif (BNMRlibs)
|
||||
|
||||
if (qt_based_tools)
|
||||
if (Qt5Core_FOUND)
|
||||
message("")
|
||||
message(" Qt5 based tools:")
|
||||
message(" musredit, musrStep, musrWiz, mupp : yes")
|
||||
endif (Qt5Core_FOUND)
|
||||
if (Qt4_FOUND)
|
||||
message("")
|
||||
message(" Qt4 based tools (deprecated):")
|
||||
message(" musredit : yes")
|
||||
endif (Qt4_FOUND)
|
||||
if (QT_FOUND)
|
||||
message("")
|
||||
message(" Qt3 based tools (outdated):")
|
||||
message(" musrgui : yes")
|
||||
endif (QT_FOUND)
|
||||
if (NOT Qt5Core_FOUND AND NOT Qt4_FOUND AND NOT QT_FOUND)
|
||||
message("")
|
||||
message(" NO Qt based tools will be installed since Qt is not found or not installed on the system")
|
||||
endif (NOT Qt5Core_FOUND AND NOT Qt4_FOUND AND NOT QT_FOUND)
|
||||
else (qt_based_tools)
|
||||
message("")
|
||||
message(" Qt based tools (musredit, musrStep, musrWiz, mupp) have been disabled")
|
||||
endif (qt_based_tools)
|
||||
message("")
|
||||
message(" Installation directories:")
|
||||
message(" -------------------------")
|
||||
message("")
|
||||
message(" Programs : ${CMAKE_INSTALL_PREFIX}/bin")
|
||||
message(" XML configuration files : " $ENV{HOME} "/.musrfit")
|
||||
message(" Documentation : ${CMAKE_INSTALL_PREFIX}/share/doc/musrfit")
|
||||
message("")
|
||||
message("-------------------------------------------------------------------------")
|
||||
message("")
|
||||
|
||||
#--- end ----------------------------------------------------------------------
|
72
ChangeLog
@ -2,9 +2,77 @@
|
||||
# ChangeLog
|
||||
#---------------------------------------------------------------------
|
||||
|
||||
changes since 0.17.0
|
||||
The ChangeLog will describe feature changes rather than coding detail changes.
|
||||
|
||||
For detailed information about changes have a look here:
|
||||
|
||||
https://gitlab.psi.ch/nemu/musrfit/activity
|
||||
|
||||
or
|
||||
|
||||
https://bitbucket.org/muonspin/musrfit/commits/all
|
||||
|
||||
Release of V1.2.0, 2017/10/26
|
||||
=============================
|
||||
|
||||
Adopted to be ready for rpm builds in a first step. This will be followed by debian style
|
||||
packages.
|
||||
|
||||
Release of V1.1.0, 2017/10/26
|
||||
=============================
|
||||
|
||||
Added full DKS support, i.e. additionally to CUDA also OpenCL for GPU's and CPU's in place.
|
||||
|
||||
Release of V1.0.0, 2017/05/18
|
||||
=============================
|
||||
|
||||
I feel that musrfit has majored enough to lift it to its first full version, i.e. V1.0.0.
|
||||
|
||||
A lot of bug fixing went into it since 0.18.0. It is now also fully ROOT 6 compatible which
|
||||
is also the main supported version now.
|
||||
|
||||
New features:
|
||||
|
||||
* musrWiz: a wizard which will help the user to get started to generate msr-files.
|
||||
* musrStep: a little helper program which allows to reset the step size of a msr-file.
|
||||
This is useful if you deal with a lot of detectors (e.g. HAL-9500 at PSI).
|
||||
* auto-phase correction of Fourier transforms: this is still in its early stage but will
|
||||
eventually provide a real phase corrected Fourier transform, which will allow
|
||||
a real Fourier detector average.
|
||||
* the startup file handling has improved substantially.
|
||||
|
||||
changes since 0.18.0
|
||||
===================================
|
||||
|
||||
changes since 0.17.0
|
||||
===================================
|
||||
NEW 2016-12-18 for maxLH it is now possible to get the per-run-block maxLH,
|
||||
and the expected maxLH.
|
||||
NEW 2016-12-18 musrview allows no to show directly the Fourier transform,
|
||||
and the averaged data/Fourier transform.
|
||||
NEW 2016-12-18 added a first full version of an automatic phase correction
|
||||
for the real part of the Fourier transform. It is based on
|
||||
the algorithm published in JMR 158, 164 (2002).
|
||||
NEW 2016-12-18 a couple of improvements in dump_header: (i) it is not
|
||||
only searching in the current directory, but also in all
|
||||
default paths defined in musrfit_startup.xml. (ii) it is
|
||||
now possible also to give only run numbers instead of the
|
||||
full file name.
|
||||
NEW 2016-08-24 in musrview it is now possible to enable/disable a
|
||||
crosshair cursor by pressing 'c'.
|
||||
NEW 2016-04-28 updated licence info in musredit and added paramList
|
||||
feature to the msr2data GUI.
|
||||
NEW 2016-04-28 msr2data gets a new option: paramList which allows to
|
||||
extract a subset of all the parameters of a collection
|
||||
of msr-files.
|
||||
NEW 2016-04-22 Added the theory function muMinusExpTF for mu minus fits
|
||||
NEW 2016-02-23 It is now possible to export the averaged data/Fourier
|
||||
CHANGED 2016-12-18 updated the docu.
|
||||
CHANGED 2016-12-18 a couple of little improvements in musredit.
|
||||
CHANGED 2016-08-10 drop NeXus support for Version < 4.4
|
||||
CHANGED 2016-04-26 start-/endTimeBin are now class members. This reduces
|
||||
the number of recalculations.
|
||||
FIXED 2016-08-02 run lists are now properly loaded if containing nS-nE elements.
|
||||
|
||||
changes since 0.16.0
|
||||
===================================
|
||||
@ -101,6 +169,8 @@ NEW 2015-02-13 first implementation of a standalone Fourier transform/plotter:
|
||||
A first simple minded lifetime correction is implemented as well.
|
||||
NEW 2015-02-04 Integration of libBNMR for fitting beta-NMR relaxation data
|
||||
into automake of musrfit.
|
||||
NEW 2015-01-17 adding a branch for ROOT 6.x. This needs some minor adaptations due
|
||||
to the new rootcint/rootclang and the stricter c++11.
|
||||
NEW 2014-12-18 first implementation of a GLOBAL block which allows to shorten
|
||||
a typical msr-file. Duplicate entries from the RUN blocks can be
|
||||
added here. Furthermore, the 'lifetimecorrection' flag is
|
||||
|
69
INSTALL
@ -1,17 +1,80 @@
|
||||
#---------------------------------------------------------------------
|
||||
# INSTALL
|
||||
# AS/BMW, 2014/02/11; 2011/01/27
|
||||
#---------------------------------------------------------------------
|
||||
|
||||
To get it all build:
|
||||
There are currently 2 wasy to build musrfit:
|
||||
|
||||
1) via the automake tool chain (this will phase out until 2019)
|
||||
2) via the cmake tool chain (this will be the default starting from now)
|
||||
|
||||
In the following it is assumed that the system variable ROOTSYS is already
|
||||
defined and pointing to the place where CERN/ROOT is installed.
|
||||
|
||||
#----------------------------------
|
||||
# Install via automake tool chain
|
||||
#----------------------------------
|
||||
|
||||
To get it build:
|
||||
|
||||
sh autogen.sh
|
||||
./configure --prefix=/opt/cern/root (or where ever musrfit should be installed)
|
||||
./configure --prefix=$ROOTSYS (or where ever musrfit should be installed)
|
||||
make
|
||||
make install (as superuser -- maybe)
|
||||
/sbin/ldconfig (as superuser)
|
||||
|
||||
configure comes with a couple of options. For details either execute
|
||||
|
||||
./configure --help
|
||||
|
||||
or check under http://lmu.web.psi.ch/musrfit/user/MUSR/MusrFitSetup.html
|
||||
for a more detailed description.
|
||||
|
||||
An example with NeXus support and BMWlibs needed would look like this
|
||||
|
||||
sh autogen.sh
|
||||
./configure --enable-NeXus --enable-BMWlibs --prefix=$ROOTSYS
|
||||
make
|
||||
make install (as superuser -- maybe)
|
||||
/sbin/ldconfig (as superuser)
|
||||
|
||||
In the optimal case, everything is set up ;-)
|
||||
|
||||
#----------------------------------
|
||||
# Install via cmake tool chain
|
||||
#----------------------------------
|
||||
|
||||
cmake minimal required version is 3.6.
|
||||
|
||||
musrfit supports only out-of-source cmake build! Hence, go to the musrfit
|
||||
directory and
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../ -DCMAKE_INSTALL_PREFIX=$ROOTSYS (or where ever musrfit should be installed)
|
||||
cmake --build ./ --clean-first
|
||||
make install (as superuser -- maybe)
|
||||
/sbin/ldconfig (as superuser)
|
||||
|
||||
cmake configuration allows a couple of switches. For details check the user
|
||||
docu under
|
||||
|
||||
http://lmu.web.psi.ch/musrfit/user/MUSR/MusrFitSetup.html
|
||||
|
||||
An example with NeXus support and BMWlibs needed would look like this
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../ -Dnexus=1 -DBMWlibs=1 -DCMAKE_INSTALL_PREFIX=$ROOTSYS
|
||||
cmake --build ./ --clean-first
|
||||
make install (as superuser -- maybe)
|
||||
/sbin/ldconfig (as superuser)
|
||||
|
||||
In the optimal case, everything is set up ;-)
|
||||
|
||||
#----------------------------------
|
||||
# Link to the docu
|
||||
#----------------------------------
|
||||
|
||||
More information about the software requirements and the installation can be found at:
|
||||
|
||||
http://lmu.web.psi.ch/musrfit/user/MUSR/MusrFitSetup.html
|
||||
|
@ -6,8 +6,7 @@ EXTRA_DIST = autogen.sh acinclude.m4
|
||||
|
||||
# The following is to install the documentation
|
||||
# It is a bit lengthy because one cannot simply install whole directories (except copying them recursively -- which also takes the .svn directories...)
|
||||
DOCDIRS = templates \
|
||||
examples \
|
||||
DOCDIRS = examples \
|
||||
examples/data \
|
||||
examples/ASlibs \
|
||||
examples/ASlibs/data \
|
||||
|
@ -18,7 +18,7 @@ dnl The macro defines the following substitution variables
|
||||
dnl
|
||||
dnl ROOTCONF full path to root-config
|
||||
dnl ROOTEXEC full path to root
|
||||
dnl ROOTCINT full path to rootcint
|
||||
dnl ROOTCLING full path to rootcling
|
||||
dnl ROOTLIBDIR Where the ROOT libraries are
|
||||
dnl ROOTINCDIR Where the ROOT headers are
|
||||
dnl ROOTETCDIR Where the ROOT configuration is
|
||||
@ -29,7 +29,7 @@ dnl ROOTAUXLIBS Auxilary libraries and linker flags for ROOT
|
||||
dnl ROOTAUXCFLAGS Auxilary compiler flags
|
||||
dnl ROOTRPATH Same as ROOTLIBDIR
|
||||
dnl
|
||||
dnl The macro will fail if root-config and rootcint isn't found.
|
||||
dnl The macro will fail if root-config and rootcling isn't found.
|
||||
dnl
|
||||
dnl Christian Holm Christensen <cholm@nbi.dk>
|
||||
dnl
|
||||
@ -49,10 +49,10 @@ AC_DEFUN([ROOT_PATH],
|
||||
fi
|
||||
AC_PATH_PROG(ROOTCONF, root-config , no, $rootbin)
|
||||
AC_PATH_PROG(ROOTEXEC, root , no, $rootbin)
|
||||
AC_PATH_PROG(ROOTCINT, rootcint , no, $rootbin)
|
||||
AC_PATH_PROG(ROOTCLING, rootcling , no, $rootbin)
|
||||
|
||||
if test ! x"$ROOTCONF" = "xno" && \
|
||||
test ! x"$ROOTCINT" = "xno" ; then
|
||||
test ! x"$ROOTCLING" = "xno" ; then
|
||||
|
||||
# define some variables
|
||||
ROOTLIBDIR=`$ROOTCONF --libdir`
|
||||
|
151
cmake/FindFFTW3.cmake
Normal file
@ -0,0 +1,151 @@
|
||||
# - Find fftw3 library
|
||||
# Find the native FFTW3 includes and library
|
||||
# This module defines
|
||||
# FFTW3_INCLUDE_DIR, where to find fftw3.h, etc.
|
||||
# ---
|
||||
# FFTW3_LIBRARY, library to link against to use FFTW3
|
||||
# FFTW3_OMP_LIBRARY, library to link against to use FFTW3_omp
|
||||
# FFTW3_THREADS_LIBRARY, library to link against to use FFTW3_threads
|
||||
# FFTW3_FOUND, if false, do not try to use FFTW3.
|
||||
# FFTW3_OMP_FOUND, if false, do not try to use OpenMP FFTW3.
|
||||
# FFTW3_THREADS_FOUND, if false, do not try to use threaded FFTW3.
|
||||
# ---
|
||||
# FFTW3L_LIBRARY, library to link against to use FFTW3l
|
||||
# FFTW3L_OMP_LIBRARY, library to link against to use FFTW3l_omp
|
||||
# FFTW3L_THREADS_LIBRARY, library to link against to use FFTW3l_threads
|
||||
# FFTW3L_FOUND, if false, do not try to use FFTW3l.
|
||||
# FFTW3L_OMP_FOUND, if false, do not try to use OpenMP FFTW3l.
|
||||
# FFTW3L_THREADS_FOUND, if false, do not try to use threaded FFTW3l.
|
||||
# ---
|
||||
# FFTW3F_LIBRARY, library to link against to use FFTW3f
|
||||
# FFTW3F_OMP_LIBRARY, library to link against to use FFTW3f_omp
|
||||
# FFTW3F_THREADS_LIBRARY, library to link against to use FFTW3f_threads
|
||||
# FFTW3F_FOUND, if false, do not try to use FFTW3f.
|
||||
# FFTW3F_OMP_FOUND, if false, do not try to use OpenMP FFTW3f.
|
||||
# FFTW3F_THREADS_FOUND, if false, do not try to use threaded FFTW3f.
|
||||
# ---
|
||||
# FFTW3Q_LIBRARY, library to link against to use FFTW3q
|
||||
# FFTW3Q_OMP_LIBRARY, library to link against to use FFTW3q_omp
|
||||
# FFTW3Q_THREADS_LIBRARY, library to link against to use FFTW3q_threads
|
||||
# FFTW3Q_FOUND, if false, do not try to use FFTW3q.
|
||||
# FFTW3Q_OMP_FOUND, if false, do not try to use OpenMP FFTW3q.
|
||||
# FFTW3Q_THREADS_FOUND, if false, do not try to use threaded FFTW3q.
|
||||
|
||||
find_path(FFTW3_INCLUDE_DIR fftw3.h
|
||||
HINTS "/usr/include" "/opt/local/include"
|
||||
)
|
||||
|
||||
# find position of fftw3.h from the end
|
||||
string(FIND "${FFTW3_INCLUDE_DIR}" "/fftw3.h" pos REVERSE)
|
||||
# truncate the string
|
||||
string(SUBSTRING "${FFTW3_INCLUDE_DIR}" 0 ${pos} substr)
|
||||
set(FFTW3_INCLUDE_DIR ${substr})
|
||||
unset(substr)
|
||||
|
||||
find_library(FFTW3_LIBRARY fftw3)
|
||||
find_library(FFTW3_OMP_LIBRARY fftw3_omp)
|
||||
find_library(FFTW3_THREAD_LIBRARY fftw3_threads)
|
||||
find_library(FFTW3L_LIBRARY fftw3l)
|
||||
find_library(FFTW3L_OMP_LIBRARY fftw3l_omp)
|
||||
find_library(FFTW3L_THREAD_LIBRARY fftw3l_threads)
|
||||
find_library(FFTW3F_LIBRARY fftw3f)
|
||||
find_library(FFTW3F_OMP_LIBRARY fftw3f_omp)
|
||||
find_library(FFTW3F_THREAD_LIBRARY fftw3f_threads)
|
||||
find_library(FFTW3Q_LIBRARY fftw3q)
|
||||
find_library(FFTW3Q_OMP_LIBRARY fftw3q_omp)
|
||||
find_library(FFTW3Q_THREAD_LIBRARY fftw3q_threads)
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set FFTW3_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
|
||||
find_package_handle_standard_args(FFTW3
|
||||
REQUIRED_VARS FFTW3_LIBRARY FFTW3_INCLUDE_DIR
|
||||
VERSION_VAR "3")
|
||||
find_package_handle_standard_args(FFTW3_OMP
|
||||
REQUIRED_VARS FFTW3_OMP_LIBRARY FFTW3_INCLUDE_DIR
|
||||
VERSION_VAR "3")
|
||||
find_package_handle_standard_args(FFTW3_THREAD
|
||||
REQUIRED_VARS FFTW3_THREAD_LIBRARY FFTW3_INCLUDE_DIR
|
||||
VERSION_VAR "3")
|
||||
|
||||
find_package_handle_standard_args(FFTW3L
|
||||
REQUIRED_VARS FFTW3L_LIBRARY FFTW3_INCLUDE_DIR
|
||||
VERSION_VAR "3")
|
||||
find_package_handle_standard_args(FFTW3L_OMP
|
||||
REQUIRED_VARS FFTW3L_OMP_LIBRARY FFTW3_INCLUDE_DIR
|
||||
VERSION_VAR "3")
|
||||
find_package_handle_standard_args(FFTW3L_THREAD
|
||||
REQUIRED_VARS FFTW3L_THREAD_LIBRARY FFTW3_INCLUDE_DIR
|
||||
VERSION_VAR "3")
|
||||
|
||||
find_package_handle_standard_args(FFTW3F
|
||||
REQUIRED_VARS FFTW3F_LIBRARY FFTW3_INCLUDE_DIR
|
||||
VERSION_VAR "3")
|
||||
find_package_handle_standard_args(FFTW3F_OMP
|
||||
REQUIRED_VARS FFTW3F_OMP_LIBRARY FFTW3_INCLUDE_DIR
|
||||
VERSION_VAR "3")
|
||||
find_package_handle_standard_args(FFTW3F_THREAD
|
||||
REQUIRED_VARS FFTW3F_THREAD_LIBRARY FFTW3_INCLUDE_DIR
|
||||
VERSION_VAR "3")
|
||||
|
||||
find_package_handle_standard_args(FFTW3Q
|
||||
REQUIRED_VARS FFTW3Q_LIBRARY FFTW3_INCLUDE_DIR
|
||||
VERSION_VAR "3")
|
||||
find_package_handle_standard_args(FFTW3Q_OMP
|
||||
REQUIRED_VARS FFTW3Q_OMP_LIBRARY FFTW3_INCLUDE_DIR
|
||||
VERSION_VAR "3")
|
||||
find_package_handle_standard_args(FFTW3Q_THREAD
|
||||
REQUIRED_VARS FFTW3Q_THREAD_LIBRARY FFTW3_INCLUDE_DIR
|
||||
VERSION_VAR "3")
|
||||
|
||||
if (NOT FFTW3_FOUND)
|
||||
unset(FFTW3_LIBRARY)
|
||||
endif()
|
||||
if (NOT FFTW3_OMP_FOUND)
|
||||
unset(FFTW3_OMP_LIBRARY)
|
||||
endif()
|
||||
if (NOT FFTW3_THREAD_FOUND)
|
||||
unset(FFTW3_THREAD_LIBRARY)
|
||||
endif()
|
||||
|
||||
if (NOT FFTW3L_FOUND)
|
||||
unset(FFTW3L_LIBRARY)
|
||||
endif()
|
||||
if (NOT FFTW3L_OMP_FOUND)
|
||||
unset(FFTW3L_OMP_LIBRARY)
|
||||
endif()
|
||||
if (NOT FFTW3L_THREAD_FOUND)
|
||||
unset(FFTW3L_THREAD_LIBRARY)
|
||||
endif()
|
||||
|
||||
if (NOT FFTW3F_FOUND)
|
||||
unset(FFTW3F_LIBRARY)
|
||||
endif()
|
||||
if (NOT FFTW3F_OMP_FOUND)
|
||||
unset(FFTW3F_OMP_LIBRARY)
|
||||
endif()
|
||||
if (NOT FFTW3F_THREAD_FOUND)
|
||||
unset(FFTW3F_THREAD_LIBRARY)
|
||||
endif()
|
||||
|
||||
if (NOT FFTW3Q_FOUND)
|
||||
unset(FFTW3Q_LIBRARY)
|
||||
endif()
|
||||
if (NOT FFTW3Q_OMP_FOUND)
|
||||
unset(FFTW3Q_OMP_LIBRARY)
|
||||
endif()
|
||||
if (NOT FFTW3Q_THREAD_FOUND)
|
||||
unset(FFTW3Q_THREAD_LIBRARY)
|
||||
endif()
|
||||
|
||||
mark_as_advanced(
|
||||
FFTW3_INCLUDE_DIR
|
||||
FFTW3_LIBRARY FFTW3_OMP_LIBRARY FFTW3_THREAD_LIBRARY
|
||||
FFTW3L_LIBRARY FFTW3L_OMP_LIBRARY FFTW3L_THREAD_LIBRARY
|
||||
FFTW3F_LIBRARY FFTW3F_OMP_LIBRARY FFTW3F_THREAD_LIBRARY
|
||||
FFTW3Q_LIBRARY FFTW3Q_OMP_LIBRARY FFTW3Q_THREAD_LIBRARY
|
||||
)
|
||||
|
||||
if (FFTW3_FOUND)
|
||||
message("-- Found FFTW3: ${FFTW3_INCLUDE_DIR}")
|
||||
endif (FFTW3_FOUND)
|
34
cmake/FindMXML.cmake
Normal file
@ -0,0 +1,34 @@
|
||||
# - find MXML
|
||||
# find the MXML lib and includes
|
||||
# This module defines
|
||||
# LIBMXML_INCLUDE_DIR, where to find mxml.h
|
||||
# LIBMXML_LIBRARY, library to link against
|
||||
# LIBMXML_FOUND, if false, do not try to use the MXML lib
|
||||
|
||||
find_path(LIBMXML_INCLUDE_DIR mxml.h
|
||||
HINT "/usr/include"
|
||||
)
|
||||
# find position of mxml.h from the end
|
||||
string(FIND "${LIBMXML_INCLUDE_DIR}" "/mxml.h" pos REVERSE)
|
||||
# truncate the string
|
||||
string(SUBSTRING "${LIBMXML_INCLUDE_DIR}" 0 ${pos} substr)
|
||||
set(LIBMXML_INCLUDE_DIR ${substr})
|
||||
unset(substr)
|
||||
|
||||
find_library(LIBMXML_LIBRARY mxml)
|
||||
|
||||
# get version string
|
||||
# currently do not know from where to get it automatically
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set LIBMXML_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(MXML
|
||||
REQUIRED_VARS LIBMXML_LIBRARY LIBMXML_INCLUDE_DIR)
|
||||
|
||||
if (NOT LIBMXML_FOUND)
|
||||
unset(LIBMXML_LIBRARY)
|
||||
endif()
|
||||
|
||||
mark_as_advanced(LIBMXML_INCLUDE_DIR LIBMXML_LIBRARY)
|
||||
|
45
cmake/FindNeXus.cmake
Normal file
@ -0,0 +1,45 @@
|
||||
# - Find NeXus library
|
||||
# Find the native NEXUS includes and library
|
||||
# This module defines
|
||||
# NEXUS_INCLUDE_DIR, where to find NeXus.h, etc.
|
||||
# NEXUS_LIBRARY, library to link against to use NEXUS
|
||||
# NEXUS_FOUND, if false, do not try to use NEXUS.
|
||||
|
||||
find_path(NEXUS_INCLUDE_DIR napi.h
|
||||
HINTS "/usr/local/include" "/opt/nexus/include" "/usr/local/include/nexus"
|
||||
)
|
||||
# find position of napi.h from the end
|
||||
string(FIND "${NEXUS_INCLUDE_DIR}" "/napi.h" pos REVERSE)
|
||||
# truncate the string
|
||||
string(SUBSTRING "${NEXUS_INCLUDE_DIR}" 0 ${pos} substr)
|
||||
set(NEXUS_INCLUDE_DIR ${substr})
|
||||
unset(substr)
|
||||
|
||||
find_library(NEXUS_LIBRARY NeXus
|
||||
HINTS "/usr/lib" "/usr/lib64" "/usr/local/lib" "/usr/local/lib64" "/opt/nexus/lib")
|
||||
|
||||
# get version string
|
||||
if (NEXUS_INCLUDE_DIR AND EXISTS ${NEXUS_INCLUDE_DIR}/napi.h)
|
||||
file(STRINGS "${NEXUS_INCLUDE_DIR}/napi.h" NEXUS_version_str
|
||||
REGEX "^#define[\t ]+NEXUS_VERSION[\t ].*")
|
||||
|
||||
string(REGEX REPLACE "^#define[\t ]+NEXUS_VERSION[\t ]+\"([^\"]*).*"
|
||||
"\\1" NEXUS_VERSION_STRING "${NEXUS_version_str}")
|
||||
unset(NEXUS_version_str)
|
||||
endif()
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set NEXUS_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(NEXUS
|
||||
REQUIRED_VARS NEXUS_LIBRARY NEXUS_INCLUDE_DIR
|
||||
VERSION_VAR NEXUS_VERSION_STRING)
|
||||
|
||||
if (NOT NEXUS_FOUND)
|
||||
unset(NEXUS_LIBRARY)
|
||||
endif()
|
||||
|
||||
mark_as_advanced(NEXUS_INCLUDE_DIR NEXUS_LIBRARY)
|
||||
|
||||
|
||||
|
67
cmake/config.h.in
Normal file
@ -0,0 +1,67 @@
|
||||
// config.h
|
||||
|
||||
#define PACKAGE_VERSION "@PROJECT_VERSION@"
|
||||
|
||||
// define to 1 if you have fork and it should be used
|
||||
#cmakedefine HAVE_FORK 1
|
||||
|
||||
// define to 1 if you have <alloca.h> and it should be used
|
||||
#cmakedefine HAVE_ALLOCA_H 1
|
||||
|
||||
// Define to 1 if you have the <dlfcn.h> header file.
|
||||
#cmakedefine HAVE_DLFCN_H 1
|
||||
|
||||
// Define to 1 if you have the `erf' function.
|
||||
#cmakedefine HAVE_ERF 1
|
||||
|
||||
// Define to 1 if you have the `getloadavg' function.
|
||||
#cmakedefine HAVE_GETLOADAVG 1
|
||||
|
||||
// Define to 1 if gomp is available */
|
||||
#cmakedefine HAVE_GOMP 1
|
||||
|
||||
// Define to 1 if you have the <inttypes.h> header file.
|
||||
#cmakedefine HAVE_INTTYPES_H 1
|
||||
|
||||
// Define to 1 if the type `long double' works and has more range or precision than `double'.
|
||||
#cmakedefine HAVE_LONG_DOUBLE 1
|
||||
|
||||
// Define to 1 if the type `long double' works and has more range or precision than `double'.
|
||||
#cmakedefine HAVE_LONG_DOUBLE_WIDER 1
|
||||
|
||||
// Define to 1 if fftw3f_threads are available
|
||||
#cmakedefine HAVE_LIBFFTW3F_THREADS 1
|
||||
|
||||
// Define to 1 if fftw3_threads are available
|
||||
#cmakedefine HAVE_LIBFFTW3_THREADS 1
|
||||
|
||||
// Define to 1 if you have the <memory.h> header file.
|
||||
#cmakedefine HAVE_MEMORY_H 1
|
||||
|
||||
// Define to 1 if you have the `powl' function.
|
||||
#cmakedefine HAVE_POWL 1
|
||||
|
||||
// Define to 1 if you have the `shmget' function.
|
||||
#cmakedefine HAVE_SHMGET 1
|
||||
|
||||
// Define to 1 if you have the <stdint.h> header file.
|
||||
#cmakedefine HAVE_STDINT_H 1
|
||||
|
||||
// Define to 1 if you have the <stdlib.h> header file.
|
||||
#cmakedefine HAVE_STDLIB_H 1
|
||||
|
||||
// Define to 1 if you have the <string.h> header file.
|
||||
#cmakedefine HAVE_STRING_H 1
|
||||
|
||||
// Define to 1 if you have the <strings.h> header file.
|
||||
#cmakedefine HAVE_STRINGS_H 1
|
||||
|
||||
// Define to 1 if you have the <sys/stat.h> header file.
|
||||
#cmakedefine HAVE_SYS_STAT_H 1
|
||||
|
||||
// Define to 1 if you have the <sys/types.h> header file.
|
||||
#cmakedefine HAVE_SYS_TYPES_H 1
|
||||
|
||||
// Define to 1 if you have the <unistd.h> header file.
|
||||
#cmakedefine HAVE_UNISTD_H 1
|
||||
|
30
cmake/configure_musrfit_version_file.cmake.in
Normal file
@ -0,0 +1,30 @@
|
||||
# configure_musrfit_version_file.cmake.in:
|
||||
set(SRC_DIR "@CMAKE_SOURCE_DIR@")
|
||||
set(BIN_DIR "@CMAKE_CURRENT_BINARY_DIR@")
|
||||
|
||||
# Set variables
|
||||
set(CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@")
|
||||
set(MUSRFIT_VERSION "@MUSRFIT_VERSION@")
|
||||
|
||||
# Get the current working branch
|
||||
execute_process(
|
||||
COMMAND git rev-parse --abbrev-ref HEAD
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
OUTPUT_VARIABLE GIT_BRANCH
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
|
||||
# Get the latest abbreviated commit hash of the working branch
|
||||
execute_process(
|
||||
COMMAND git log -1 --pretty="%h, %ci"
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
OUTPUT_VARIABLE GIT_CURRENT_SHA1
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
|
||||
configure_file(
|
||||
${SRC_DIR}/cmake/git-revision.h.in
|
||||
${BIN_DIR}/git-revision.h
|
||||
@ONLY
|
||||
)
|
||||
# EOF
|
8
cmake/git-revision.h.in
Normal file
@ -0,0 +1,8 @@
|
||||
#ifndef GIT_VERSION_H
|
||||
#define GIT_VERSION_H
|
||||
|
||||
#define GIT_BRANCH "@GIT_BRANCH@"
|
||||
#define GIT_CURRENT_SHA1 @GIT_CURRENT_SHA1@
|
||||
|
||||
#endif // GIT_VERSION_H
|
||||
|
4
cmake/musrfit-info.h.in
Normal file
@ -0,0 +1,4 @@
|
||||
//--- This file is generated by cmake -----------------------------------------
|
||||
|
||||
#define MUSRFIT_PREFIX "@CMAKE_INSTALL_PREFIX@"
|
||||
#define MUSRFIT_DOC_DIR "@CMAKE_INSTALL_PREFIX@/share/doc/musrfit"
|
125
configure.ac
@ -1,7 +1,7 @@
|
||||
AC_REVISION([m4_esyscmd_s([git describe --always])])
|
||||
|
||||
AC_PREREQ(2.63)
|
||||
AC_INIT([musrfit],[0.17.0],[andreas.suter@psi.ch])
|
||||
AC_INIT([musrfit],[1.3.0],[andreas.suter@psi.ch])
|
||||
AC_CONFIG_AUX_DIR(admin)
|
||||
AC_CANONICAL_HOST
|
||||
#AC_MSG_RESULT([${host} ${host_cpu} ${host_vendor} ${host_os}])
|
||||
@ -34,8 +34,8 @@ dnl -----------------------------------------------
|
||||
|
||||
|
||||
#release versioning
|
||||
MUSR_MAJOR_VERSION=0
|
||||
MUSR_MINOR_VERSION=17
|
||||
MUSR_MAJOR_VERSION=1
|
||||
MUSR_MINOR_VERSION=3
|
||||
MUSR_MICRO_VERSION=0
|
||||
|
||||
#release versioning
|
||||
@ -54,7 +54,7 @@ PSIBIN_MINOR_VERSION=1
|
||||
PSIBIN_MICRO_VERSION=0
|
||||
|
||||
#release versioning
|
||||
MUD_MAJOR_VERSION=0
|
||||
MUD_MAJOR_VERSION=1
|
||||
MUD_MINOR_VERSION=0
|
||||
MUD_MICRO_VERSION=0
|
||||
|
||||
@ -69,7 +69,7 @@ PLUGIN_MINOR_VERSION=0
|
||||
PLUGIN_MICRO_VERSION=0
|
||||
|
||||
#release versioning
|
||||
CUBA_MAJOR_VERSION=3
|
||||
CUBA_MAJOR_VERSION=4
|
||||
CUBA_MINOR_VERSION=2
|
||||
CUBA_MICRO_VERSION=0
|
||||
|
||||
@ -421,7 +421,7 @@ dnl -----------------------------------------------
|
||||
dnl Check for ROOT
|
||||
dnl -----------------------------------------------
|
||||
|
||||
ROOT_PATH([5.22/00], [], AC_MSG_ERROR([Either ROOT is not installed correctly or the version is too old... please check!]))
|
||||
ROOT_PATH([6.06/00], [], AC_MSG_ERROR([Either ROOT is not installed correctly or the version is too old... please check!]))
|
||||
|
||||
ROOT_LIBS="-L${ROOTLIBDIR} ${ROOTGLIBS} ${ROOTAUXLIBS} -lMinuit2 -lMathMore -lXMLParser"
|
||||
ROOT_CFLAGS="-I${ROOTINCDIR} ${ROOTCFLAGS} ${ROOTAUXCFLAGS}"
|
||||
@ -554,34 +554,31 @@ AC_ARG_ENABLE([NeXus], [AS_HELP_STRING([--enable-NeXus],[build optional NeXus su
|
||||
[AS_HELP_STRING([--with-nexus],[prefix of the NeXus installation, e.g. /usr/local])],
|
||||
[NEXUS_PREFIX=$with_nexus
|
||||
AC_MSG_CHECKING([whether NeXus can be found at the specified location])
|
||||
if !(test -r ${NEXUS_PREFIX}/include/napi.h); then
|
||||
if !(test -r ${NEXUS_PREFIX}/include/nexus/napi.h); then
|
||||
AC_MSG_RESULT([no])
|
||||
AC_MSG_ERROR([NeXus cannot be found at the specified path!])
|
||||
fi
|
||||
AC_MSG_RESULT([${NEXUS_PREFIX}])],
|
||||
[PKG_CHECK_MODULES(NEXUS, nexus >= 4.1, [NEXUS_FOUND=1],
|
||||
[PKG_CHECK_MODULES(NEXUS, nexus >= 4.4, [NEXUS_FOUND=1],
|
||||
[AC_MSG_CHECKING([whether NeXus is installed in a standard location])
|
||||
if test -r /usr/local/include/napi.h; then
|
||||
NEXUS_PREFIX="/usr/local"
|
||||
AC_MSG_RESULT([${NEXUS_PREFIX}])
|
||||
elif test -r /usr/local/nexus/include/napi.h; then
|
||||
NEXUS_PREFIX="/usr/local/nexus"
|
||||
if test -r /usr/local/include/nexus/napi.h; then
|
||||
NEXUS_PREFIX="/usr/local"
|
||||
AC_MSG_RESULT([${NEXUS_PREFIX}])
|
||||
elif test -r /usr/include/napi.h; then
|
||||
NEXUS_PREFIX="/usr"
|
||||
AC_MSG_RESULT([${NEXUS_PREFIX}])
|
||||
elif test -r /sw/include/napi.h; then
|
||||
elif test -r /sw/include/nexus/napi.h; then
|
||||
NEXUS_PREFIX="/sw"
|
||||
AC_MSG_RESULT([${NEXUS_PREFIX}])
|
||||
elif test -r /opt/local/include/napi.h; then
|
||||
elif test -r /opt/local/include/nexus/napi.h; then
|
||||
NEXUS_PREFIX="/opt/local"
|
||||
AC_MSG_RESULT([${NEXUS_PREFIX}])
|
||||
else
|
||||
elif test -r /opt/nexus/include/nexus/napi.h; then
|
||||
NEXUS_PREFIX="/opt/nexus"
|
||||
AC_MSG_RESULT([${NEXUS_PREFIX}])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
AC_MSG_ERROR(
|
||||
[NeXus not found. Please call configure with the --with-nexus option.
|
||||
[NeXus Version >= 4.4 not found. Please call configure with the --with-nexus option.
|
||||
This tells configure where to find the NeXus headers,
|
||||
e.g. --with-nexus=/usr/local/nexus]
|
||||
e.g. --with-nexus=/opt/nexus]
|
||||
)
|
||||
fi
|
||||
]
|
||||
@ -589,8 +586,27 @@ AC_ARG_ENABLE([NeXus], [AS_HELP_STRING([--enable-NeXus],[build optional NeXus su
|
||||
)
|
||||
AC_SUBST(NEXUS_PREFIX)
|
||||
if test "${NEXUS_FOUND}" != "1"; then
|
||||
NEXUS_LIBS="-L${NEXUS_PREFIX}/lib -lNeXus"
|
||||
NEXUS_CFLAGS="-I${NEXUS_PREFIX}/include"
|
||||
dnl get suffix for the NeXus library depending on the OS
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
AS_CASE([$host_os],
|
||||
[linux*], [NEXUS_SUFFIX="so"],
|
||||
[darwin*], [NEXUS_SUFFIX="dylib"],
|
||||
[*cygwin*], [NEXUS_SUFFIX="dll"],
|
||||
[AC_MSG_ERROR([NeXus check: Your platform is not currently supported])]
|
||||
)
|
||||
AC_MSG_NOTICE([NeXus Suffix Result: "${NEXUS_SUFFIX}"])
|
||||
if test -r ${NEXUS_PREFIX}/lib/libNeXus.${NEXUS_SUFFIX}; then
|
||||
NEXUS_LIB_DIR="lib"
|
||||
elif test -r ${NEXUS_PREFIX}/lib64/libNeXus.${NEXUS_SUFFIX}; then
|
||||
NEXUS_LIB_DIR="lib64"
|
||||
else
|
||||
AC_MSG_ERROR(
|
||||
[Couldn't find the NeXus library.]
|
||||
)
|
||||
fi
|
||||
|
||||
NEXUS_LIBS="-L${NEXUS_PREFIX}/${NEXUS_LIB_DIR} -lNeXus"
|
||||
NEXUS_CFLAGS="-I${NEXUS_PREFIX}/include/nexus"
|
||||
fi
|
||||
AC_SUBST(NEXUS_LIBS)
|
||||
AC_SUBST(NEXUS_CFLAGS)
|
||||
@ -984,6 +1000,14 @@ if test "x$enable_editor" != "xno"; then
|
||||
[PKG_CHECK_MODULES(QT3MT, qt-mt >= 3.3.0 qt-mt < 4.0, [QT3MT_FOUND=yes], [QT3MT_FOUND=no])]
|
||||
)]
|
||||
)
|
||||
fi
|
||||
if test "x${QT5_FOUND}" != "xyes"; then
|
||||
PKG_CHECK_MODULES(QT5, Qt5WebEngine >= $QT5MINVER Qt5Xml >= $QT5MINVER, [QT5_FOUND=yes],
|
||||
[AC_MSG_NOTICE([Qt5 (including Qt5WebEngine and Qt5Xml) not found!])
|
||||
PKG_CHECK_MODULES(QT3, qt >= 3.3.0 qt < 4.0, [QT3_FOUND=yes],
|
||||
[PKG_CHECK_MODULES(QT3MT, qt-mt >= 3.3.0 qt-mt < 4.0, [QT3MT_FOUND=yes], [QT3MT_FOUND=no])]
|
||||
)]
|
||||
)
|
||||
fi]
|
||||
)
|
||||
|
||||
@ -1008,6 +1032,12 @@ if test "x$enable_editor" != "xno"; then
|
||||
QTEDITOR=musrgui
|
||||
fi
|
||||
|
||||
dnl if Qt5 but Qt5WebEngine instead of Qt5WebKit
|
||||
if test "x$QTPATH" = "x"; then
|
||||
QTPATH=$(pkg-config --variable=prefix Qt5WebEngine)
|
||||
QTEDITOR=musredit_qt5
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([for qmake])
|
||||
if test "x${QTPATH}" != "xnone"; then
|
||||
if test "x$QTEDITOR" = "xmusredit_qt5"; then
|
||||
@ -1103,6 +1133,9 @@ case "${host_cpu}" in
|
||||
;;
|
||||
esac
|
||||
|
||||
CXXFLAGS="-std=c++11 ${CXXFLAGS}"
|
||||
AC_SUBST(CXXFLAGS)
|
||||
|
||||
LOCAL_BIN_CXXFLAGS="${CPUFLAGS} -Wall -Wno-trigraphs"
|
||||
LOCAL_LIB_CXXFLAGS="${LOCAL_BIN_CXXFLAGS}"
|
||||
LOCAL_PSIBIN_LIB_CXXFLAGS="${LOCAL_LIB_CXXFLAGS}"
|
||||
@ -1127,7 +1160,8 @@ case "$host" in
|
||||
;;
|
||||
*-*-darwin*)
|
||||
ARCH=DARWIN
|
||||
LOCAL_PSIBIN_LIB_CXXFLAGS="${LOCAL_LIB_CXXFLAGS} -D__linux__"
|
||||
LOCAL_PSIBIN_LIB_CXXFLAGS="${LOCAL_LIB_CXXFLAGS} -D_Darwin_"
|
||||
LOCAL_BIN_LDFLAGS="${LOCAL_BIN_LDFLAGS} -Wl,-rpath ${ROOTLIBDIR}"
|
||||
;;
|
||||
*)
|
||||
ARCH=OTHERUNIX
|
||||
@ -1178,11 +1212,24 @@ else
|
||||
INSTALLDIR="${prefix}"
|
||||
fi
|
||||
|
||||
if test -d "${INSTALLDIR}/doc"
|
||||
dnl only define DOCDIR if not already present. This allows
|
||||
dnl to feed DOCDIR on the configure level which is useful when
|
||||
dnl for instance building a rpm. DOCDIR2 is needed for rpmbuild only
|
||||
if test "x${DOCDIR}" = "x"
|
||||
then
|
||||
DOCDIR="${INSTALLDIR}/doc/musrfit"
|
||||
if test -d "${INSTALLDIR}/doc"
|
||||
then
|
||||
DOCDIR="${INSTALLDIR}/doc/musrfit"
|
||||
else
|
||||
DOCDIR="${INSTALLDIR}/share/doc/musrfit"
|
||||
fi
|
||||
else
|
||||
DOCDIR="${INSTALLDIR}/share/doc/musrfit"
|
||||
if test -d "${INSTALLDIR}/doc"
|
||||
then
|
||||
DOCDIR2="${INSTALLDIR}/doc/musrfit"
|
||||
else
|
||||
DOCDIR2="${INSTALLDIR}/share/doc/musrfit"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_SUBST(DOCDIR)
|
||||
@ -1239,12 +1286,11 @@ AC_CONFIG_FILES([Makefile \
|
||||
src/external/libSpinValve/classes/Makefile \
|
||||
src/external/libPhotoMeissner/Makefile \
|
||||
src/external/libPhotoMeissner/classes/Makefile \
|
||||
src/external/libGbGLF/Makefile \
|
||||
src/external/libBNMR/Makefile \
|
||||
src/musredit_qt5/Makefile \
|
||||
src/musredit/Makefile \
|
||||
src/musrgui/Makefile \
|
||||
src/musredit_qt5/musredit_startup.xml \
|
||||
src/musredit/musredit_startup.xml \
|
||||
src/musrgui/musrgui_startup.xml])
|
||||
|
||||
AC_OUTPUT
|
||||
@ -1405,3 +1451,24 @@ echo " Programs: ${INSTALLDIR}/bin"
|
||||
echo " XML configuration files: ${HOME}/.musrfit"
|
||||
echo " Documentation: ${DOCDIR}"
|
||||
echo ""
|
||||
|
||||
dnl --------------
|
||||
dnl create header file that musredit knows at runtime where to find the documentation
|
||||
dnl the DOCDIR2 tag is used for rpmbuild only
|
||||
dnl --------------
|
||||
if test "x$enable_editor" != "xno" && test "x${QMAKEBIN}" != "x" && test "x${QTEDITOR}" = "xmusredit_qt5"; then
|
||||
echo \#define MUSRFIT_PREFIX \"${INSTALLDIR}\" > src/musredit_qt5/musrfit-info.h
|
||||
if test "x$DOCDIR2" = "x"; then
|
||||
echo \#define MUSRFIT_DOC_DIR \"${DOCDIR}\" >> src/musredit_qt5/musrfit-info.h
|
||||
else
|
||||
echo \#define MUSRFIT_DOC_DIR \"${DOCDIR2}\" >> src/musredit_qt5/musrfit-info.h
|
||||
fi
|
||||
fi
|
||||
if test "x$enable_editor" != "xno" && test "x${QMAKEBIN}" != "x" && test "x${QTEDITOR}" = "xmusredit"; then
|
||||
echo \#define MUSRFIT_PREFIX \"${INSTALLDIR}\" > src/musredit/musrfit-info.h
|
||||
if test "x$DOCDIR2" = "x"; then
|
||||
echo \#define MUSRFIT_DOC_DIR \"${DOCDIR}\" >> src/musredit/musrfit-info.h
|
||||
else
|
||||
echo \#define MUSRFIT_DOC_DIR \"${DOCDIR2}\" >> src/musredit/musrfit-info.h
|
||||
fi
|
||||
fi
|
||||
|
60
doc/examples/UserFcn/Makefile.PUserFcn
Normal file
@ -0,0 +1,60 @@
|
||||
#---------------------------------------------------
|
||||
# get compilation flags from root-config
|
||||
|
||||
ROOTCFLAGS = $(shell $(ROOTSYS)/bin/root-config --cflags)
|
||||
|
||||
#---------------------------------------------------
|
||||
|
||||
OS = LINUX
|
||||
CXX = g++
|
||||
CXXFLAGS = -O3 -Wall -Wno-trigraphs -fPIC
|
||||
LOCALINCLUDE = .
|
||||
ROOTINCLUDE = $(ROOTSYS)/include
|
||||
INCLUDES = -I$(LOCALINCLUDE) -I$(ROOTINCLUDE)
|
||||
LD = g++
|
||||
LDFLAGS =
|
||||
SOFLAGS = -O -shared
|
||||
|
||||
# the output from the root-config script:
|
||||
CXXFLAGS += $(ROOTCFLAGS)
|
||||
LDFLAGS +=
|
||||
|
||||
# some definitions: headers (used to generate *Dict* stuff), sources, objects,...
|
||||
OBJS =
|
||||
OBJS += PUserFcn.o PUserFcnDict.o
|
||||
|
||||
SHLIB = libPUserFcn.so
|
||||
|
||||
# make the shared lib:
|
||||
#
|
||||
all: $(SHLIB)
|
||||
|
||||
$(SHLIB): $(OBJS)
|
||||
@echo "---> Building shared library $(SHLIB) ..."
|
||||
/bin/rm -f $(SHLIB)
|
||||
$(LD) $(OBJS) $(SOFLAGS) -o $(SHLIB)
|
||||
@echo "done"
|
||||
|
||||
# clean up: remove all object file (and core files)
|
||||
# semicolon needed to tell make there is no source
|
||||
# for this target!
|
||||
#
|
||||
clean:; @rm -f $(OBJS) *Dict* core*
|
||||
@echo "---> removing $(OBJS)"
|
||||
|
||||
#
|
||||
$(OBJS): %.o: %.cpp
|
||||
$(CXX) $(INCLUDES) $(CXXFLAGS) -c $<
|
||||
|
||||
# Generate the ROOT CLING dictionary
|
||||
|
||||
PUserFcnDict.cpp: PUserFcn.h PUserFcnLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcling -f $@ -c -p -I$(ROOTINCLUDE) $^
|
||||
|
||||
install: all
|
||||
@echo "Installing shared lib: libTApproximation.so"
|
||||
ifeq ($(OS),LINUX)
|
||||
cp -pv $(SHLIB) $(ROOTSYS)/lib
|
||||
cp -pv $(LOCALINCLUDE)/*.h $(ROOTSYS)/include
|
||||
endif
|
59
doc/examples/UserFcn/PUserFcn.cpp
Normal file
@ -0,0 +1,59 @@
|
||||
/***************************************************************************
|
||||
|
||||
PUserFcn.cpp
|
||||
|
||||
Author: Andreas Suter
|
||||
e-mail: andreas.suter@psi.ch
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007-2016 by Andreas Suter *
|
||||
* andreas.suter@psi.ch *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program; if not, write to the *
|
||||
* Free Software Foundation, Inc., *
|
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include "PUserFcn.h"
|
||||
|
||||
ClassImp(PUserFcn)
|
||||
|
||||
//------------------------------------------------------
|
||||
/**
|
||||
* <p> user function example: polynome of 3rd order
|
||||
*
|
||||
* \f[ = \sum_{k=0}^3 c_k t^k \f]
|
||||
*
|
||||
* <b>meaning of paramValues:</b> \f$c_0\f$, \f$c_1\f$, \f$c_2\f$, \f$c_3\f$
|
||||
*
|
||||
* <b>return:</b> function value
|
||||
*
|
||||
* \param t time in \f$(\mu\mathrm{s})\f$, or x-axis value for non-muSR fit
|
||||
* \param param parameter vector
|
||||
*/
|
||||
Double_t PUserFcn::operator()(Double_t t, const std::vector<Double_t> ¶m) const
|
||||
{
|
||||
// expected parameters: c0, c1, c2, c3
|
||||
|
||||
assert(param.size() == 4);
|
||||
|
||||
return param[0] + param[1]*t + param[2]*t*t + param[3]*t*t*t;
|
||||
}
|
58
doc/examples/UserFcn/PUserFcn.h
Normal file
@ -0,0 +1,58 @@
|
||||
/***************************************************************************
|
||||
|
||||
PUserFcn.h
|
||||
|
||||
Author: Andreas Suter
|
||||
e-mail: andreas.suter@psi.ch
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007-2016 by Andreas Suter *
|
||||
* andreas.suter@psi.ch *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program; if not, write to the *
|
||||
* Free Software Foundation, Inc., *
|
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef _PUSERFCN_H_
|
||||
#define _PUSERFCN_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "PUserFcnBase.h"
|
||||
|
||||
/**
|
||||
* <p>User function example class. Polynome of 3rd order.
|
||||
*/
|
||||
class PUserFcn : public PUserFcnBase
|
||||
{
|
||||
public:
|
||||
PUserFcn() {}
|
||||
~PUserFcn() {}
|
||||
|
||||
// global user-function-access functions, here without any functionality
|
||||
Bool_t NeedGlobalPart() const { return false; }
|
||||
void SetGlobalPart(vector<void*> &globalPart, UInt_t idx) { }
|
||||
Bool_t GlobalPartIsValid() const { return true; }
|
||||
|
||||
// function operator
|
||||
Double_t operator()(Double_t t, const std::vector<Double_t> ¶m) const;
|
||||
|
||||
// definition of the class for the ROOT dictionary
|
||||
ClassDef(PUserFcn, 1)
|
||||
};
|
||||
|
||||
#endif // _PUSERFCN_H_
|
15
doc/examples/UserFcn/PUserFcnLinkDef.h
Normal file
@ -0,0 +1,15 @@
|
||||
/***************************************************************************
|
||||
|
||||
PUserFcnLinkDef.h
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
#ifdef __CINT__
|
||||
|
||||
#pragma link off all globals;
|
||||
#pragma link off all classes;
|
||||
#pragma link off all functions;
|
||||
|
||||
#pragma link C++ class PUserFcn+;
|
||||
|
||||
#endif //__CINT__
|
89
doc/examples/UserFcn/README
Normal file
@ -0,0 +1,89 @@
|
||||
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
|
||||
|
||||
Simple Example for a User Function without Global Part
|
||||
|
||||
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
|
||||
|
||||
Goal: define a user function which implements a polynom
|
||||
of 3rd order.
|
||||
|
||||
For details see: http://lmu.web.psi.ch/musrfit/user/MUSR/MusrFit.html#A_6_User_Functions
|
||||
|
||||
Implementation:
|
||||
3 Files are needed:
|
||||
|
||||
1) A header file which defines your user function
|
||||
interface.
|
||||
|
||||
In the example here it is called PUserFcn.h
|
||||
|
||||
Please rename it in your case to something more
|
||||
sensible, e.g. PMyPoly.h. At the same time also
|
||||
rename correspondingly the class name in your
|
||||
header file, i.e. PUserFcn -> PMyPoly. This will
|
||||
be at 4 places in the header file of this example.
|
||||
|
||||
2) The source file which defines your user function.
|
||||
|
||||
In the example here it is called PUserFcn.cpp
|
||||
|
||||
Please rename it accordingly to the header file.
|
||||
In case the header file is called PMyPoly.h, the
|
||||
source file will need to be called PMyPoly.cpp.
|
||||
As for the header file, the class names need to
|
||||
be adopted: PUserFcn -> PMyPoly.
|
||||
|
||||
In the source file change the operator implementation
|
||||
(Double_t PUserFcn::operator()(Double_t t,
|
||||
const std::vector<Double_t> ¶m) const)
|
||||
to whatever you need.
|
||||
|
||||
3) There is another header file needed to generate
|
||||
the necessary ROOT dictionary.
|
||||
|
||||
In this example it is called PUserFcnLinkDef.h
|
||||
|
||||
Here you only will need to find PUserFcn+ and
|
||||
replace it with your class name, e.g. PMyPoly+
|
||||
|
||||
Generate Code:
|
||||
You will find the Makefil.PUserFcn which generates
|
||||
the needed shared library for your user function.
|
||||
|
||||
Again, if your user function is called PMyPoly, you
|
||||
will need to replace things accordingly in the
|
||||
Makefile, i.e.
|
||||
|
||||
Makefile.PUserFcn -> Makefile.PMyPoly
|
||||
|
||||
In the Makefile:
|
||||
|
||||
PUserFcn.o -> PMyPoly.o
|
||||
PUserFcnDict.o -> PMyPolyDict.o
|
||||
libPUserFcn.so -> libPMyPoly.so
|
||||
|
||||
To create the shared library do:
|
||||
|
||||
make -f Makefile.PUserFcn
|
||||
|
||||
on the command line. This should create a file
|
||||
libPUserFcn.so.
|
||||
|
||||
Next call on the command line:
|
||||
|
||||
make -f Makefile.PUserFcn install
|
||||
|
||||
This will copy the shared library to the correct
|
||||
place.
|
||||
|
||||
You also will need to make sure that the system is
|
||||
finding the shared library, either by setting
|
||||
LD_LIBRARY_PATH or by calling /sbin/ldconfig as
|
||||
superuser/root assuming you are using linux.
|
||||
|
||||
Example msr-file:
|
||||
You will find an example msr-file test-asy-MUS.msr
|
||||
which is using PUserFcn. The example is UN-PHYSICALLY
|
||||
it is just to show how to use a user function.
|
||||
|
||||
|
BIN
doc/examples/UserFcn/data/000100.msr
Normal file
55
doc/examples/UserFcn/test-asy-MUD.msr
Normal file
@ -0,0 +1,55 @@
|
||||
MgB12H12 No2 ZF T=150
|
||||
###############################################################
|
||||
FITPARAMETER
|
||||
# Nr. Name Value Step Pos_Error Boundaries
|
||||
1 alpha 1 0 none 0 2
|
||||
2 asy 0.1650 0.0027 none 0 0.33
|
||||
3 c0 1.047 0.016 none
|
||||
4 c1 -0.1957 0.0038 none
|
||||
5 c2 0.0216 0.0011 none
|
||||
6 c3 -0.00119 0.00011 none
|
||||
|
||||
###############################################################
|
||||
THEORY
|
||||
asymmetry 2
|
||||
userFcn libPUserFcn PUserFcn 3 4 5 6
|
||||
|
||||
###############################################################
|
||||
RUN data/000100 XXXX TRIUMF MUD (name beamline institute data-file-format)
|
||||
fittype 2 (asymmetry fit)
|
||||
alpha 1
|
||||
map 0 0 0 0 0 0 0 0 0 0 0
|
||||
forward 1
|
||||
backward 2
|
||||
background 79 391 80 409 # estimated bkg: 21.0833 / 17.2249
|
||||
data 438 12785 436 12787
|
||||
t0 432.0 431.0
|
||||
fit 0 8
|
||||
packing 100
|
||||
|
||||
###############################################################
|
||||
COMMANDS
|
||||
MINIMIZE
|
||||
MINOS
|
||||
#HESSE
|
||||
SAVE
|
||||
|
||||
###############################################################
|
||||
FOURIER
|
||||
units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s'
|
||||
fourier_power 12
|
||||
apodization NONE # NONE, WEAK, MEDIUM, STRONG
|
||||
plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE
|
||||
phase 8
|
||||
#range_for_phase_correction 50.0 70.0
|
||||
range 0 2000
|
||||
dc-corrected true
|
||||
|
||||
###############################################################
|
||||
PLOT 2 (asymmetry plot)
|
||||
runs 1
|
||||
range 0 9 0 0.22
|
||||
|
||||
###############################################################
|
||||
STATISTIC --- 2016-06-22 09:34:01
|
||||
chisq = 152.4, NDF = 97, chisq/NDF = 1.571461
|
BIN
doc/examples/data/07770.root
Normal file
BIN
doc/examples/data/deltat_tdc_dolly_1020.bin
Normal file
60
doc/examples/test-asy-LF-BaB6.msr
Normal file
@ -0,0 +1,60 @@
|
||||
BaB6 T20K LF5G
|
||||
###############################################################
|
||||
FITPARAMETER
|
||||
# Nr. Name Value Step Pos_Error Boundaries
|
||||
1 alpha 0.7 0 none 0 none
|
||||
2 asy 0.2091 -0.0013 0.0013 0 0.33
|
||||
3 field 2.127 0 none 0 none
|
||||
4 width 0.5387 -0.0054 0.0055 0 100
|
||||
5 hopp 0.119 -0.013 0.014 0 100
|
||||
6 asyConst 0 0 none
|
||||
|
||||
###############################################################
|
||||
THEORY
|
||||
asymmetry 2
|
||||
dynGssKTLF fun1 4 5 (frequency damping hopping-rate)
|
||||
+
|
||||
asymmetry 6
|
||||
|
||||
###############################################################
|
||||
FUNCTIONS
|
||||
fun1 = par3 * gamma_mu
|
||||
|
||||
###############################################################
|
||||
RUN data/deltat_tdc_dolly_1020 PIE1 PSI PSI-BIN (name beamline institute data-file-format)
|
||||
fittype 2 (asymmetry fit)
|
||||
alpha 1
|
||||
map 0 0 0 0 0 0 0 0 0 0
|
||||
forward 2
|
||||
backward 1
|
||||
background 15 146 13 148 # estimated bkg: 20.4846 / 4.8731
|
||||
data 170 9956 168 9110
|
||||
t0 160.0 161.0
|
||||
fit 0.25 10
|
||||
packing 5
|
||||
|
||||
###############################################################
|
||||
COMMANDS
|
||||
MINIMIZE
|
||||
MINOS
|
||||
SAVE
|
||||
|
||||
###############################################################
|
||||
FOURIER
|
||||
units Gauss # units either 'Gauss', 'MHz', or 'Mc/s'
|
||||
fourier_power 12
|
||||
apodization STRONG # NONE, WEAK, MEDIUM, STRONG
|
||||
plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE
|
||||
phase 8
|
||||
#range_for_phase_correction 50.0 70.0
|
||||
range 0 800
|
||||
|
||||
###############################################################
|
||||
PLOT 2 (asymmetry plot)
|
||||
runs 1
|
||||
range 0 9.5 -0.15 0.3
|
||||
view_packing 150
|
||||
|
||||
###############################################################
|
||||
STATISTIC --- 2013-07-01 20:40:44
|
||||
chisq = 1911.7, NDF = 1905, chisq/NDF = 1.003494
|
@ -3,7 +3,7 @@ MgB12H12 No2 ZF T=150
|
||||
FITPARAMETER
|
||||
# Nr. Name Value Step Pos_Error Boundaries
|
||||
1 alpha 1 0 none 0 2
|
||||
2 asy 0.17503 -0.00082 0.00083 0 0.33
|
||||
2 asy 0.17503 -0.00081 0.00083 0 0.33
|
||||
3 rate 0.1649 -0.0016 0.0016 0 none
|
||||
4 beta 0.892 -0.016 0.016 0.5 2
|
||||
|
||||
@ -19,7 +19,7 @@ alpha 1
|
||||
map 0 0 0 0 0 0 0 0 0 0 0
|
||||
forward 1
|
||||
backward 2
|
||||
background 79 391 80 409 # estimated bkg: 21.0224 / 17.1702
|
||||
background 79 391 80 409 # estimated bkg: 21.0833 / 17.2249
|
||||
data 438 12785 436 12787
|
||||
t0 432.0 431.0
|
||||
fit 0 8
|
||||
@ -34,10 +34,10 @@ SAVE
|
||||
|
||||
###############################################################
|
||||
FOURIER
|
||||
units Gauss # units either 'Gauss', 'MHz', or 'Mc/s'
|
||||
units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s'
|
||||
fourier_power 12
|
||||
apodization NONE # NONE, WEAK, MEDIUM, STRONG
|
||||
plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE
|
||||
plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE, PHASE_OPT_REAL
|
||||
phase 8
|
||||
#range_for_phase_correction 50.0 70.0
|
||||
range 0 200
|
||||
@ -48,5 +48,5 @@ runs 1
|
||||
range 0 8 0 0.25
|
||||
|
||||
###############################################################
|
||||
STATISTIC --- 2012-03-20 10:11:27
|
||||
chisq = 133.9, NDF = 99, chisq/NDF = 1.352819
|
||||
STATISTIC --- 2017-02-08 07:07:39
|
||||
chisq = 134.0, NDF = 99, chisq/NDF = 1.353150
|
||||
|
199
doc/examples/test-histo-muMinus.msr
Normal file
@ -0,0 +1,199 @@
|
||||
07770 - test
|
||||
###############################################################
|
||||
FITPARAMETER
|
||||
# Nr. Name Value Step Pos_Error Boundaries
|
||||
1 N_0 321.0 1.4 none
|
||||
2 tau_0 1.9066 0.0038 none 0 none
|
||||
3 Rate_0 0.0983 0.0052 none 0 none
|
||||
4 Freq_0 135.53823 0.00073 none
|
||||
|
||||
5 N_1 306.1 1.3 none
|
||||
6 tau_1 0.7409 0.0026 none 0 none
|
||||
7 Rate_1 0.027 0.031 none 0 none
|
||||
8 Freq_1 136.8968 0.0033 none
|
||||
|
||||
9 Asym_F1_0 0.0490 0.0015 none 0 none
|
||||
10 Asym_F1_1 0.0501 0.0029 none 0 none
|
||||
11 Phase_F1 4.9 1.5 none
|
||||
12 N_bgk_F1 1.880 0.034 none
|
||||
|
||||
13 Asym_F2_0 0.0496 0.0015 none 0 none
|
||||
14 Asym_F2_1 0.0581 0.0030 none 0 none
|
||||
15 Phase_F2 52.4 1.5 none
|
||||
16 N_bgk_F2 1.508 0.033 none
|
||||
|
||||
17 Asym_F3_0 0.0486 0.0015 none 0 none
|
||||
18 Asym_F3_1 0.0593 0.0030 none 0 none
|
||||
19 Phase_F3 95.2 1.5 none
|
||||
20 N_bgk_F3 1.465 0.033 none
|
||||
|
||||
21 Asym_F4_0 0.0512 0.0015 none 0 none
|
||||
22 Asym_F4_1 0.0521 0.0030 none 0 none
|
||||
23 Phase_F4 144.6 1.5 none
|
||||
24 N_bgk_F4 2.311 0.034 none
|
||||
|
||||
25 Asym_F5_0 0.0542 0.0015 none 0 none
|
||||
26 Asym_F5_1 0.0537 0.0030 none 0 none
|
||||
27 Phase_F5 188.4 1.4 none
|
||||
28 N_bgk_F5 1.799 0.033 none
|
||||
|
||||
29 Asym_F6_0 0.0502 0.0015 none 0 none
|
||||
30 Asym_F6_1 0.0517 0.0030 none 0 none
|
||||
31 Phase_F6 232.1 1.5 none
|
||||
32 N_bgk_F6 1.735 0.034 none
|
||||
|
||||
33 Asym_F7_0 0.0488 0.0015 none 0 none
|
||||
34 Asym_F7_1 0.0575 0.0030 none 0 none
|
||||
35 Phase_F7 273.0 1.5 none
|
||||
36 N_bgk_F7 1.593 0.033 none
|
||||
|
||||
37 Asym_F8_0 0.0547 0.0015 none 0 none
|
||||
38 Asym_F8_1 0.0468 0.0030 none 0 none
|
||||
39 Phase_F8 321.7 1.4 none
|
||||
40 N_bgk_F8 1.469 0.033 none
|
||||
|
||||
41 Asym_B1_0 0.0476 0.0015 none 0 none
|
||||
42 Asym_B1_1 0.0535 0.0030 none 0 none
|
||||
43 Phase_B1 3.6 1.5 none
|
||||
44 N_bgk_B1 1.378 0.033 none
|
||||
|
||||
45 Asym_B2_0 0.0524 0.0015 none 0 none
|
||||
46 Asym_B2_1 0.0495 0.0030 none 0 none
|
||||
47 Phase_B2 53.7 1.5 none
|
||||
48 N_bgk_B2 1.272 0.032 none
|
||||
|
||||
49 Asym_B3_0 0.0494 0.0015 none 0 none
|
||||
50 Asym_B3_1 0.0555 0.0030 none 0 none
|
||||
51 Phase_B3 98.2 1.5 none
|
||||
52 N_bgk_B3 0.968 0.032 none
|
||||
|
||||
53 Asym_B4_0 0.0505 0.0015 none 0 none
|
||||
54 Asym_B4_1 0.0527 0.0030 none 0 none
|
||||
55 Phase_B4 141.8 1.5 none
|
||||
56 N_bgk_B4 1.233 0.032 none
|
||||
|
||||
57 Asym_B5_0 0.0515 0.0015 none 0 none
|
||||
58 Asym_B5_1 0.0584 0.0030 none 0 none
|
||||
59 Phase_B5 182.2 1.4 none
|
||||
60 N_bgk_B5 1.642 0.033 none
|
||||
|
||||
61 Asym_B6_0 0.0512 0.0015 none 0 none
|
||||
62 Asym_B6_1 0.0477 0.0030 none 0 none
|
||||
63 Phase_B6 231.7 1.5 none
|
||||
64 N_bgk_B6 1.650 0.033 none
|
||||
|
||||
65 Asym_B7_0 0.0514 0.0015 none 0 none
|
||||
66 Asym_B7_1 0.0539 0.0030 none 0 none
|
||||
67 Phase_B7 275.2 1.5 none
|
||||
68 N_bgk_B7 1.729 0.033 none
|
||||
|
||||
69 Asym_B8_0 0.0541 0.0015 none 0 none
|
||||
70 Asym_B8_1 0.0444 0.0030 none 0 none
|
||||
71 Phase_B8 321.0 1.5 none
|
||||
72 N_bgk_B8 1.136 0.032 none
|
||||
|
||||
###############################################################
|
||||
THEORY
|
||||
muMinusExpTF 1 2 map1 3 map3 4 (N0 tau A lambda phase nu)
|
||||
+
|
||||
muMinusExpTF 5 6 map2 7 map3 8 (N0 tau A lambda phase nu)
|
||||
+
|
||||
asymmetry map4
|
||||
|
||||
###############################################################
|
||||
GLOBAL
|
||||
fittype 4 (mu minus fit)
|
||||
t0 20000.0
|
||||
data 20100 409500
|
||||
fit 0.0005 9
|
||||
packing 25
|
||||
|
||||
###############################################################
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 9 10 11 12 0 0 0 0 0 0 0 0
|
||||
forward 1
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 13 14 15 16 0 0 0 0 0 0 0 0
|
||||
forward 2
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 17 18 19 20 0 0 0 0 0 0 0 0
|
||||
forward 3
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 21 22 23 24 0 0 0 0 0 0 0 0
|
||||
forward 4
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 25 26 27 28 0 0 0 0 0 0 0 0
|
||||
forward 5
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 29 30 31 32 0 0 0 0 0 0 0 0
|
||||
forward 6
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 33 34 35 36 0 0 0 0 0 0 0 0
|
||||
forward 7
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 37 38 39 40 0 0 0 0 0 0 0 0
|
||||
forward 8
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 41 42 43 44 0 0 0 0 0 0 0 0
|
||||
forward 9
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 45 46 47 48 0 0 0 0 0 0 0 0
|
||||
forward 10
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 49 50 51 52 0 0 0 0 0 0 0 0
|
||||
forward 11
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 53 54 55 56 0 0 0 0 0 0 0 0
|
||||
forward 12
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 57 58 59 60 0 0 0 0 0 0 0 0
|
||||
forward 13
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 61 62 63 64 0 0 0 0 0 0 0 0
|
||||
forward 14
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 65 66 67 68 0 0 0 0 0 0 0 0
|
||||
forward 15
|
||||
#--------------------------------------------------------------
|
||||
RUN data/07770 PIE3 PSI MUSR-ROOT (name beamline institute data-file-format)
|
||||
map 69 70 71 72 0 0 0 0 0 0 0 0
|
||||
forward 16
|
||||
|
||||
###############################################################
|
||||
COMMANDS
|
||||
MAX_LIKELIHOOD
|
||||
PRINT_LEVEL 2
|
||||
MINIMIZE
|
||||
#MINOS
|
||||
SAVE
|
||||
|
||||
###############################################################
|
||||
PLOT 4 (mu minus plot)
|
||||
runs 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
||||
range 0 9
|
||||
|
||||
###############################################################
|
||||
FOURIER
|
||||
units Tesla # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s'
|
||||
fourier_power 14
|
||||
apodization MEDIUM # NONE, WEAK, MEDIUM, STRONG
|
||||
plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE, PHASE_OPT_REAL
|
||||
range 0.8 1.2
|
||||
|
||||
###############################################################
|
||||
STATISTIC --- 2017-02-08 07:11:01
|
||||
maxLH = 238962.5, NDF = 230264, maxLH/NDF = 1.037776
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en">
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/BmwLibs?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:53 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/BmwLibs?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:42:27 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="../pub/System/HeadlinesPlugin/style.css" type="text/css" media="all" />
|
||||
<title> MUSR :: BmwLibs</title>
|
||||
@ -14,13 +14,13 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<link rel="icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/BmwLibs?t=1453475525" type="application/x-wiki" title="edit BmwLibs" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/BmwLibs?t=1528465298" type="application/x-wiki" title="edit BmwLibs" />
|
||||
<meta name="TEXT_NUM_TOPICS" content="Number of topics:" />
|
||||
<meta name="TEXT_MODIFY_SEARCH" content="Modify search" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRsshtml.html" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRss" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<style type="text/css" media="all">
|
||||
@import url('../pub/System/PatternSkinTheme/layout.css');
|
||||
@ -106,10 +106,10 @@
|
||||
<!--JQUERYPLUGIN::FOSWIKI-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JQUERYPLUGIN::COMMENT--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
</head>
|
||||
<body class="foswikiNoJs patternViewPage patternPrintPage">
|
||||
<span id="PageTop"></span><div class="foswikiPage"><div id="patternScreen">
|
||||
@ -130,12 +130,12 @@
|
||||
<p></p>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a href="WebHome.html" class="foswikiCurrentWebHomeLink">WebHome</a> > <a href="MusrFit.html">MusrFit</a><span class='foswikiSeparator'> > </span>BmwLibs <br />
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a class="foswikiCurrentWebHomeLink" href="WebHome.html">WebHome</a> > <a href="MusrFit.html">MusrFit</a><span class='foswikiSeparator'> > </span>BmwLibs <br />
|
||||
Topic revision: <span class='patternRevInfo'>03 Jul 2015, suter_a</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:andre.lichtsteiner@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.BmwLibs'>Send feedback</a></div></div></div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:thomas.buecklers@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.BmwLibs'>Send feedback</a></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -149,6 +149,5 @@ Topic revision: <span class='patternRevInfo'>03 Jul 2015, suter_a</span></div>
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/BmwLibs?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:54 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/BmwLibs?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:42:27 GMT -->
|
||||
</html>
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en">
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/CiteMusrFit?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:46 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/CiteMusrFit?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:42:20 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="../pub/System/HeadlinesPlugin/style.css" type="text/css" media="all" />
|
||||
<title> MUSR :: CiteMusrFit</title>
|
||||
@ -14,14 +14,14 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<link rel="icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/CiteMusrFit?t=1453475524" type="application/x-wiki" title="edit CiteMusrFit" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/CiteMusrFit?t=1528465297" type="application/x-wiki" title="edit CiteMusrFit" />
|
||||
<meta name="TEXT_NUM_TOPICS" content="Number of topics:" />
|
||||
<meta name="TEXT_MODIFY_SEARCH" content="Modify search" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRsshtml.html" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRss" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<style type="text/css" media="all">
|
||||
@import url('../pub/System/PatternSkinTheme/layout.css');
|
||||
@import url('../pub/System/PatternSkinTheme2009/style.css');
|
||||
@ -102,14 +102,14 @@
|
||||
<!--<![endif]-->
|
||||
<!--JQUERYPLUGIN-->
|
||||
<!--JQUERYPLUGIN::MIGRATE-->
|
||||
<!--JQUERYPLUGIN::LIVEQUERY-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI-->
|
||||
<!--JQUERYPLUGIN::LIVEQUERY-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JQUERYPLUGIN::COMMENT--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
</head>
|
||||
<body class="foswikiNoJs patternViewPage patternPrintPage">
|
||||
<span id="PageTop"></span><div class="foswikiPage"><div id="patternScreen">
|
||||
@ -123,17 +123,23 @@
|
||||
<p></p>
|
||||
Since quite some effort is going into the development and maintenance of the <code>musrfit</code> package, you should at least acknowledge it in your publication if you have used it to analyze your data. Even better of course is to cite it properly by the reference given beneath
|
||||
<p></p> <ul>
|
||||
<li> <a href="http://dx.doi.org/10.1016/j.phpro.2012.04.042">A. Suter, B.M. Wojek, "Musrfit: A Free Platform-Independent Framework for μSR Data Analysis", Physics Procedia 30, 69 (2012).</a>
|
||||
<li> <a href="http://dx.doi.org/10.1016/j.phpro.2012.04.042">A. Suter, B.M. Wojek, "Musrfit: A Free Platform-Independent Framework for μSR Data Analysis", Physics Procedia <strong>30</strong>, 69 (2012).</a>
|
||||
</li></ul>
|
||||
<p></p>
|
||||
The GPU high speed <code>musrfit</code> version is utilizing <code>DKS</code>. In case you are using this version, please also add the following citations
|
||||
<p></p> <ul>
|
||||
<li> <a href="https://doi.org/10.1016/j.cpc.2016.05.013">A. Adelmann, U. Locans, A. Suter, "The Dynamic Kernel Scheduler—Part 1", Computer Physics Communications <strong>207</strong>, 83 (2016).</a>
|
||||
</li> <li> <a href="https://doi.org/10.1016/j.cpc.2017.02.007">U. Locans, <strong><em>et al.</em></strong>, "Real-time computation of parameter fitting and image reconstruction using graphical processing units", Computer Physics Communications <strong>215</strong>, 71 (2017).</a>
|
||||
</li></ul> </div>
|
||||
<p></p>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a class="foswikiCurrentWebHomeLink" href="WebHome.html">WebHome</a><span class='foswikiSeparator'> > </span>CiteMusrFit <br />
|
||||
Topic revision: <span class='patternRevInfo'>19 Jun 2012, suter_a</span></div>
|
||||
Topic revision: <span class='patternRevInfo'>22 Aug 2017, <a href="https://intranet.psi.ch/Main/AndreasSuter">AndreasSuter</a></span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:andre.lichtsteiner@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.CiteMusrFit'>Send feedback</a></div></div></div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:thomas.buecklers@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.CiteMusrFit'>Send feedback</a></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -147,6 +153,5 @@ Topic revision: <span class='patternRevInfo'>19 Jun 2012, suter_a</span></div>
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/CiteMusrFit?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:46 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/CiteMusrFit?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:42:20 GMT -->
|
||||
</html>
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en">
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/LibFitPofB?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:47 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/LibFitPofB?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:42:21 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="../pub/System/HeadlinesPlugin/style.css" type="text/css" media="all" />
|
||||
<title> MUSR :: LibFitPofB</title>
|
||||
@ -14,14 +14,14 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<link rel="icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/LibFitPofB?t=1453475524" type="application/x-wiki" title="edit LibFitPofB" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/LibFitPofB?t=1528465298" type="application/x-wiki" title="edit LibFitPofB" />
|
||||
<meta name="TEXT_NUM_TOPICS" content="Number of topics:" />
|
||||
<meta name="TEXT_MODIFY_SEARCH" content="Modify search" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRsshtml.html" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRss" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<style type="text/css" media="all">
|
||||
@import url('../pub/System/PatternSkinTheme/layout.css');
|
||||
@import url('../pub/System/PatternSkinTheme2009/style.css');
|
||||
@ -101,18 +101,18 @@
|
||||
|
||||
<!--<![endif]-->
|
||||
<!--JQUERYPLUGIN-->
|
||||
<!--JQUERYPLUGIN::MIGRATE-->
|
||||
<!--JQUERYPLUGIN::LIVEQUERY-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI-->
|
||||
<!--JQUERYPLUGIN::MIGRATE-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--PatternSkin/pattern-->
|
||||
<!--JQUERYPLUGIN::METADATA-->
|
||||
|
||||
<!--JQUERYPLUGIN::CHILI-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--PatternSkin/pattern--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
</head>
|
||||
<body class="foswikiNoJs patternViewPage patternPrintPage">
|
||||
<span id="PageTop"></span><div class="foswikiPage"><div id="patternScreen">
|
||||
@ -125,7 +125,7 @@
|
||||
<div class="patternContent"><div class="foswikiTopic">
|
||||
<span id="TopIc"></span>
|
||||
<h1 id="libFitPofB"> libFitPofB </h1>
|
||||
<div id="foswikiTOC" class="foswikiToc"> <ul>
|
||||
<div class="foswikiToc" id="foswikiTOC"> <ul>
|
||||
<li> <a href="LibFitPofB.html#libFitPofB"> libFitPofB </a>
|
||||
</li> <li> <a href="LibFitPofB.html#A_1_Introduction"> 1 Introduction </a>
|
||||
</li> <li> <a href="LibFitPofB.html#A_2_LE_45SR"> 2 LE-μSR </a> <ul>
|
||||
@ -148,7 +148,7 @@ where <img alt="\gamma_{\mu} = 2\pi\times 135.54~\mathrm{MHz/T}" class="
|
||||
At the moment the only available implementations deal with field distributions measured in local isotropic superconductors, either by means of <a href="http://lmu.web.psi.ch/lem/">low-energy μSR</a> in the Meissner state or by conventional μSR in the mixed state. In the following the basic usage of the library in <code>musrfit</code> is explained—the calculations by themselves are only outlined. For further information please refer to the original literature and/or the source code of the implementation.
|
||||
<p></p>
|
||||
<hr />
|
||||
<strong><span class='foswikiBlackFG'>Remark 1:</span></strong> In order to supply certain information needed for the calculations but not suited to be stored in the <code>musrfit</code> msr files an XML configuration file in the working directory is used. For details, see <a href="#XmlFile" class="foswikiCurrentTopicLink">below</a>.
|
||||
<strong><span class='foswikiBlackFG'>Remark 1:</span></strong> In order to supply certain information needed for the calculations but not suited to be stored in the <code>musrfit</code> msr files an XML configuration file in the working directory is used. For details, see <a class="foswikiCurrentTopicLink" href="#XmlFile">below</a>.
|
||||
<p></p>
|
||||
<strong><span class='foswikiBlackFG'>Remark 2:</span></strong> The implementations in this library heavily rely on <code><a href="http://www.fftw.org/">FFTW3</a></code>. In principle, it always checks what is the best way to do efficient Fourier transforms for a given machine before the transforms are actually done. If repeatedly Fourier transforms of the same (sizable) length should be done, it might be worth storing the once obtained information in an external file and just load it the next time this information is needed (<a href="http://fftw.org/fftw3_doc/Wisdom.html">"wisdom handling"</a>). In case this feature shall be used, a valid wisdom file has to be specified in the <a class="foswikiCurrentTopicLink" href="#XmlFile">XML file</a>.
|
||||
<p></p>
|
||||
@ -262,7 +262,7 @@ The optional parameters are: <ol>
|
||||
<p></p>
|
||||
Notes
|
||||
<p></p>
|
||||
<a name="FootNote1note"></a><span class="FootNoteLabel"><a class="foswikiCurrentWebHomeLink" href="LibFitPofB.html#FootNote1text"> <strong>1</strong> </a></span>: <span class="FootNote">F. London, Superfluids: Macroscopic Theory of Superconductivity, Dover (1961), p. 34</span>
|
||||
<a name="FootNote1note"></a><span class="FootNoteLabel"><a href="#FootNote1text"><b>1</b></a></span>: <span class="FootNote">F. London, Superfluids: Macroscopic Theory of Superconductivity, Dover (1961), p. 34</span>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
@ -277,8 +277,8 @@ When investigating superconductors in the mixed state by means of conventional &
|
||||
</p>
|
||||
where <img alt="\mathbf{r}=(x,y)" class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_e47f33589d28eaa3f9baccb7a80fdbaa.png" title="r" />, <img alt="\mathbf{K}" class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_e6688a12ee4e821abc31b4c1dd511539.png" title="K" /> are the reciprocal lattice vectors of a two-dimensional vortex lattice and the <img alt="B_{\mathbf{K}}" class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_8fa3ac8f18b7bc49eb89163d6528684c.png" title="Bk" /> are the Fourier coefficients depending on the magnetic penetration depth <img alt="\lambda" class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_28f3ed750a4819b4256c2f9be649f594.png" title="lambda" /> and the superconducting coherence length <img alt="\xi" class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_e8414d477977d226317c020980b7d34f.png" title="xi" />. The <img alt="B_{\mathbf{K}}" class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_8fa3ac8f18b7bc49eb89163d6528684c.png" title="Bk" /> for some specific models are as follows: <dl>
|
||||
<dt> London model with Gaussian cutoff<a name="FootNote2text"></a><span class="FootNoteTextLink" title="E.H. Brandt, [[http://dx.doi.org/10.1007/BF00683568][J. Low Temp. Phys. *73*, 355 (1988)]]."><a class="foswikiCurrentTopicLink" href="#FootNote2note">(2)</a></span> </dt><dd> <p style="text-align:center"><img alt="B_{\mathbf{K}} = \frac{\exp\left({-K^2\xi^2/2}\right)}{1 + K^2\lambda^2}" class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_469d5d1b83125e4915e2f073d8150b12.png" title="BkLondon" /></p>
|
||||
</dd> <dt> Modified London model<a name="FootNote3text"></a><span class="FootNoteTextLink" title="T.M. Riseman _et al._, [[http://dx.doi.org/10.1103/PhysRevB.52.10569][Phys. Rev. B *52*, 10569 (1995)]]."><a href="#FootNote3note" class="foswikiCurrentTopicLink">(3)</a></span> </dt><dd> <p style="text-align:center"><img alt="B_{\mathbf{K}} = \frac{\exp\left({-K^2\xi^2/2(1-b)}\right)}{1 + K^2\lambda^2/(1-b)}," class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_b6719fad8e30208538b34bc94040b7a5.png" title="BkML" /></p> where <img alt="b = \langle B \rangle/\mu_0H_{\mathrm{c}2}." class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_039b3b38df7c6f284089c14f1efdf643.png" title="b" />
|
||||
</dd> <dt> Analytical Ginzburg-Landau model<a name="FootNote4text"></a><span class="FootNoteTextLink" title="A. Yaouanc, P. Dalmas de R&eacute;otier and E.H. Brandt, [[http://dx.doi.org/10.1103/PhysRevB.55.11107][Phys. Rev. B *55*, 11107 (1997)]]."><a href="#FootNote4note" class="foswikiCurrentTopicLink">(4)</a></span> </dt><dd> <p style="text-align:center"><img alt="B_{\mathbf{K}} = \frac{f_{\infty}K_1\left(\frac{\xi_v}{\lambda}\sqrt{f_{\infty}^2+\lambda^2K^2}\right)}{K_1\left(\frac{\xi_v}{\lambda}f_{\infty}\right)\sqrt{f_{\infty}^2+\lambda^2K^2}}," class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_3146cb17887e3a20cc2078f103605af5.png" title="BkAGL" /></p> where <img alt="f_{\infty} = 1 - b^4,~\xi_v = \xi\left(\sqrt{2}-{3\xi}/\left({4\lambda}\right)\right)\sqrt{(1+b^4)(1-2b(1-b)^2)}" class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_e0b0e98f9a3974249b42b6910523c8a4.png" title="f_inf_and_xi_v" /> and <img alt="K_1" class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_3cee3cc69dbe918398ec39a72a465014.png" title="K1" /> is a modified Bessel function.
|
||||
</dd> <dt> Modified London model<a name="FootNote3text"></a><span class="FootNoteTextLink" title="T.M. Riseman _et al._, [[http://dx.doi.org/10.1103/PhysRevB.52.10569][Phys. Rev. B *52*, 10569 (1995)]]."><a class="foswikiCurrentTopicLink" href="#FootNote3note">(3)</a></span> </dt><dd> <p style="text-align:center"><img alt="B_{\mathbf{K}} = \frac{\exp\left({-K^2\xi^2/2(1-b)}\right)}{1 + K^2\lambda^2/(1-b)}," class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_b6719fad8e30208538b34bc94040b7a5.png" title="BkML" /></p> where <img alt="b = \langle B \rangle/\mu_0H_{\mathrm{c}2}." class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_039b3b38df7c6f284089c14f1efdf643.png" title="b" />
|
||||
</dd> <dt> Analytical Ginzburg-Landau model<a name="FootNote4text"></a><span class="FootNoteTextLink" title="A. Yaouanc, P. Dalmas de R&eacute;otier and E.H. Brandt, [[http://dx.doi.org/10.1103/PhysRevB.55.11107][Phys. Rev. B *55*, 11107 (1997)]]."><a class="foswikiCurrentTopicLink" href="#FootNote4note">(4)</a></span> </dt><dd> <p style="text-align:center"><img alt="B_{\mathbf{K}} = \frac{f_{\infty}K_1\left(\frac{\xi_v}{\lambda}\sqrt{f_{\infty}^2+\lambda^2K^2}\right)}{K_1\left(\frac{\xi_v}{\lambda}f_{\infty}\right)\sqrt{f_{\infty}^2+\lambda^2K^2}}," class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_3146cb17887e3a20cc2078f103605af5.png" title="BkAGL" /></p> where <img alt="f_{\infty} = 1 - b^4,~\xi_v = \xi\left(\sqrt{2}-{3\xi}/\left({4\lambda}\right)\right)\sqrt{(1+b^4)(1-2b(1-b)^2)}" class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_e0b0e98f9a3974249b42b6910523c8a4.png" title="f_inf_and_xi_v" /> and <img alt="K_1" class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_3cee3cc69dbe918398ec39a72a465014.png" title="K1" /> is a modified Bessel function.
|
||||
</dd></dl>
|
||||
Apart from the mentioned analytical models the <strong>numerical Ginzburg-Landau model</strong> <a name="FootNote5text"></a><span class="FootNoteTextLink" title="E.H. Brandt, [[http://dx.doi.org/10.1103/PhysRevB.68.054506][Phys. Rev. B *68*, 054506 (2003)]]."><a class="foswikiCurrentTopicLink" href="#FootNote5note">(5)</a></span> is available. In this case <img alt="B(\mathbf{r})" class="mmpImage" src="../pub/MUSR/LibFitPofB/_MathModePlugin_373e9bf1fc97e2c6aacf93bcc090402c.png" title="BofR" /> is obtained by an iterative minimization of the free energy of the vortex lattice.
|
||||
<p></p>
|
||||
@ -343,13 +343,13 @@ SAVE
|
||||
<p></p>
|
||||
Notes
|
||||
<p></p>
|
||||
<a name="FootNote2note"></a><span class="FootNoteLabel"><a class="foswikiCurrentWebHomeLink" href="LibFitPofB.html#FootNote2text"> <strong>2</strong> </a></span>: <span class="FootNote">E.H. Brandt, <a href="http://dx.doi.org/10.1007/BF00683568">J. Low Temp. Phys. <strong>73</strong>, 355 (1988)</a>.</span>
|
||||
<a name="FootNote2note"></a><span class="FootNoteLabel"><a href="#FootNote2text"><b>2</b></a></span>: <span class="FootNote">E.H. Brandt, <a href="http://dx.doi.org/10.1007/BF00683568">J. Low Temp. Phys. <strong>73</strong>, 355 (1988)</a>.</span>
|
||||
<p></p>
|
||||
<a name="FootNote3note"></a><span class="FootNoteLabel"><a class="foswikiCurrentWebHomeLink" href="LibFitPofB.html#FootNote3text"> <strong>3</strong> </a></span>: <span class="FootNote">T.M. Riseman <em>et al.</em>, <a href="http://dx.doi.org/10.1103/PhysRevB.52.10569">Phys. Rev. B <strong>52</strong>, 10569 (1995)</a>.</span>
|
||||
<a name="FootNote3note"></a><span class="FootNoteLabel"><a href="#FootNote3text"><b>3</b></a></span>: <span class="FootNote">T.M. Riseman <em>et al.</em>, <a href="http://dx.doi.org/10.1103/PhysRevB.52.10569">Phys. Rev. B <strong>52</strong>, 10569 (1995)</a>.</span>
|
||||
<p></p>
|
||||
<a name="FootNote4note"></a><span class="FootNoteLabel"><a class="foswikiCurrentWebHomeLink" href="LibFitPofB.html#FootNote4text"> <strong>4</strong> </a></span>: <span class="FootNote">A. Yaouanc, P. Dalmas de Réotier and E.H. Brandt, <a href="http://dx.doi.org/10.1103/PhysRevB.55.11107">Phys. Rev. B <strong>55</strong>, 11107 (1997)</a>.</span>
|
||||
<a name="FootNote4note"></a><span class="FootNoteLabel"><a href="#FootNote4text"><b>4</b></a></span>: <span class="FootNote">A. Yaouanc, P. Dalmas de Réotier and E.H. Brandt, <a href="http://dx.doi.org/10.1103/PhysRevB.55.11107">Phys. Rev. B <strong>55</strong>, 11107 (1997)</a>.</span>
|
||||
<p></p>
|
||||
<a name="FootNote5note"></a><span class="FootNoteLabel"><a class="foswikiCurrentWebHomeLink" href="LibFitPofB.html#FootNote5text"> <strong>5</strong> </a></span>: <span class="FootNote">E.H. Brandt, <a href="http://dx.doi.org/10.1103/PhysRevB.68.054506">Phys. Rev. B <strong>68</strong>, 054506 (2003)</a>.</span>
|
||||
<a name="FootNote5note"></a><span class="FootNoteLabel"><a href="#FootNote5text"><b>5</b></a></span>: <span class="FootNote">E.H. Brandt, <a href="http://dx.doi.org/10.1103/PhysRevB.68.054506">Phys. Rev. B <strong>68</strong>, 054506 (2003)</a>.</span>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
@ -409,12 +409,12 @@ An example XML file looks as follows:
|
||||
<p></p>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a href="WebHome.html" class="foswikiCurrentWebHomeLink">WebHome</a> > <a href="MusrFit.html">MusrFit</a> > <a href="BmwLibs.html">BmwLibs</a><span class='foswikiSeparator'> > </span>LibFitPofB <br />
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a class="foswikiCurrentWebHomeLink" href="WebHome.html">WebHome</a> > <a href="MusrFit.html">MusrFit</a> > <a href="BmwLibs.html">BmwLibs</a><span class='foswikiSeparator'> > </span>LibFitPofB <br />
|
||||
Topic revision: <span class='patternRevInfo'>03 Jul 2015, suter_a</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:andre.lichtsteiner@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.LibFitPofB'>Send feedback</a></div></div></div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:thomas.buecklers@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.LibFitPofB'>Send feedback</a></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -428,6 +428,5 @@ Topic revision: <span class='patternRevInfo'>03 Jul 2015, suter_a</span></div>
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/LibFitPofB?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:52 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/LibFitPofB?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:42:26 GMT -->
|
||||
</html>
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en">
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/LibZFRelaxation?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:11 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/LibZFRelaxation?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:45 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="../pub/System/HeadlinesPlugin/style.css" type="text/css" media="all" />
|
||||
<title> MUSR :: LibZFRelaxation</title>
|
||||
@ -14,13 +14,13 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<link rel="icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/LibZFRelaxation?t=1453475519" type="application/x-wiki" title="edit LibZFRelaxation" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/LibZFRelaxation?t=1528465295" type="application/x-wiki" title="edit LibZFRelaxation" />
|
||||
<meta name="TEXT_NUM_TOPICS" content="Number of topics:" />
|
||||
<meta name="TEXT_MODIFY_SEARCH" content="Modify search" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRsshtml.html" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRss" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<style type="text/css" media="all">
|
||||
@import url('../pub/System/PatternSkinTheme/layout.css');
|
||||
@ -104,15 +104,15 @@
|
||||
<!--JQUERYPLUGIN::MIGRATE-->
|
||||
<!--JQUERYPLUGIN::LIVEQUERY-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern-->
|
||||
<!--JQUERYPLUGIN::METADATA-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
|
||||
<!--JQUERYPLUGIN::CHILI-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
</head>
|
||||
<body class="foswikiNoJs patternViewPage patternPrintPage">
|
||||
<span id="PageTop"></span><div class="foswikiPage"><div id="patternScreen">
|
||||
@ -125,7 +125,7 @@
|
||||
<div class="patternContent"><div class="foswikiTopic">
|
||||
<span id="TopIc"></span>
|
||||
<h1 id="libZFRelaxation"> libZFRelaxation </h1>
|
||||
<div id="foswikiTOC" class="foswikiToc"> <ul>
|
||||
<div class="foswikiToc" id="foswikiTOC"> <ul>
|
||||
<li> <a href="LibZFRelaxation.html#libZFRelaxation"> libZFRelaxation </a>
|
||||
</li> <li> <a href="LibZFRelaxation.html#A_1_Introduction"> 1 Introduction </a>
|
||||
</li> <li> <a href="LibZFRelaxation.html#A_2_Isotropic_static_Gaussian_broadened_randomly_oriented_internal_fields"> 2 Isotropic static Gaussian broadened randomly oriented internal fields </a>
|
||||
@ -214,12 +214,12 @@ The parameters are: <ol>
|
||||
<p></p>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a href="WebHome.html" class="foswikiCurrentWebHomeLink">WebHome</a> > <a href="MusrFit.html">MusrFit</a> > <a href="BmwLibs.html">BmwLibs</a><span class='foswikiSeparator'> > </span>LibZFRelaxation <br />
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a class="foswikiCurrentWebHomeLink" href="WebHome.html">WebHome</a> > <a href="MusrFit.html">MusrFit</a> > <a href="BmwLibs.html">BmwLibs</a><span class='foswikiSeparator'> > </span>LibZFRelaxation <br />
|
||||
Topic revision: <span class='patternRevInfo'>03 Jul 2015, suter_a</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:andre.lichtsteiner@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.LibZFRelaxation'>Send feedback</a></div></div></div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:thomas.buecklers@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.LibZFRelaxation'>Send feedback</a></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -233,6 +233,5 @@ Topic revision: <span class='patternRevInfo'>03 Jul 2015, suter_a</span></div>
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/LibZFRelaxation?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:16 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/LibZFRelaxation?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:47 GMT -->
|
||||
</html>
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en">
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/Msr2Data?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:46 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/Msr2Data?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:42:20 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="../pub/System/HeadlinesPlugin/style.css" type="text/css" media="all" />
|
||||
<title> MUSR :: Msr2Data</title>
|
||||
@ -14,10 +14,10 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<link rel="icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/Msr2Data?t=1453475524" type="application/x-wiki" title="edit Msr2Data" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/Msr2Data?t=1528465298" type="application/x-wiki" title="edit Msr2Data" />
|
||||
<meta name="TEXT_NUM_TOPICS" content="Number of topics:" />
|
||||
<meta name="TEXT_MODIFY_SEARCH" content="Modify search" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRsshtml.html" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRss" />
|
||||
<base /><!--[if IE]></base><![endif]--><style class='head TABLEPLUGIN_default' type="text/css" media="all">
|
||||
body .foswikiTable {border-width:1px}
|
||||
body .foswikiTable .tableSortIcon img {padding-left:.3em; vertical-align:text-bottom}
|
||||
@ -32,7 +32,6 @@ body .foswikiTable tr.foswikiTableRowdataBg0 td.foswikiSortedCol {background-col
|
||||
body .foswikiTable tr.foswikiTableRowdataBg1 td {background-color:#f7f7f6}
|
||||
body .foswikiTable tr.foswikiTableRowdataBg1 td.foswikiSortedCol {background-color:#f0f0ee}
|
||||
</style><!--TABLEPLUGIN_default-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<style class='head TABLEPLUGIN_specific' type="text/css" media="all">
|
||||
body .foswikiTable#tableMsr2Data1 td {vertical-align:middle; vertical-align:top}
|
||||
body .foswikiTable#tableMsr2Data1 td.foswikiTableCol0 {text-align:left}
|
||||
@ -54,8 +53,9 @@ body .foswikiTable#tableMsr2Data1 tr.foswikiTableRowdataBg0 td.foswikiSortedCol
|
||||
<link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<link class='head IMAGEPLUGIN' rel="stylesheet" href="../pub/System/ImagePlugin/style.css" type="text/css" media="all" /><!--IMAGEPLUGIN-->
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<link class='head JQUERYPLUGIN::TWISTY' rel='stylesheet' href='../pub/System/TwistyPlugin/twisty327a.css?version=1.6.0' type='text/css' media='all' /><!--JQUERYPLUGIN::TWISTY: requires= missing ids: JavascriptFiles/foswikiPref-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<style type="text/css" media="all">
|
||||
@import url('../pub/System/PatternSkinTheme/layout.css');
|
||||
@import url('../pub/System/PatternSkinTheme2009/style.css');
|
||||
@ -138,16 +138,16 @@ body .foswikiTable#tableMsr2Data1 tr.foswikiTableRowdataBg0 td.foswikiSortedCol
|
||||
<!--JQUERYPLUGIN::MIGRATE-->
|
||||
<!--JQUERYPLUGIN::LIVEQUERY-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--JQUERYPLUGIN::TWISTY-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JQUERYPLUGIN::METADATA-->
|
||||
|
||||
<!--JQUERYPLUGIN::CHILI-->
|
||||
<!--JQUERYPLUGIN::COMMENT--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<!--JQUERYPLUGIN::TWISTY-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
</head>
|
||||
<body class="foswikiNoJs patternViewPage patternPrintPage">
|
||||
<span id="PageTop"></span><div class="foswikiPage"><div id="patternScreen">
|
||||
@ -160,7 +160,7 @@ body .foswikiTable#tableMsr2Data1 tr.foswikiTableRowdataBg0 td.foswikiSortedCol
|
||||
<div class="patternContent"><div class="foswikiTopic">
|
||||
<h1 id="A_61_61msr2data_61_61"> <code><b>msr2data</b></code> </h1>
|
||||
<p></p>
|
||||
<div id="foswikiTOC" class="foswikiToc"> <ul>
|
||||
<div class="foswikiToc" id="foswikiTOC"> <ul>
|
||||
<li> <a href="Msr2Data.html#A_61_61msr2data_61_61"> msr2data </a>
|
||||
</li> <li> <a href="Msr2Data.html#A_1_Introduction"> 1 Introduction </a>
|
||||
</li> <li> <a href="Msr2Data.html#A_2_Basic_Types_of_Usage"> 2 Basic Types of Usage </a>
|
||||
@ -178,18 +178,18 @@ body .foswikiTable#tableMsr2Data1 tr.foswikiTableRowdataBg0 td.foswikiSortedCol
|
||||
<p></p>
|
||||
<span id="IntroDuction"></span>
|
||||
<h1 id="A_1_Introduction"> 1 Introduction </h1>
|
||||
<code>msr2data</code> (originally written by B. M. Wojek) is a program implemented in <code>C++</code>. Its purpose is to process multiple <code><a href="MusrFit.html">musrfit</a></code> msr files with the same parameters and summarize the fitting results either in a TRIUMF <strong>DB</strong> <a name="FootNote1text"></a><span class="FootNoteTextLink" title=" For an abridged description of this format see [[http://musr.org/xyfit/dbformat.html][here]]. The *DB* files produced by =msr2data= can be viewed for instance with [[http://musr.org/muview/][&mu;View]], however, they are <em>not completely</em> backward-compatible to the original "db language" since the parameter names can be longer than five or six characters! In order to establish this backward compatibility (if needed) the user has to ensure the correct length of the parameter names in the msr files!"><a href="#FootNote1note" class="foswikiCurrentTopicLink">(1)</a></span> or a <strong>column ASCII</strong> file. It evolved from a script called <code>mlog2db</code> which has been written only for collecting fit results of <a href="http://lmu.web.psi.ch/lem/">LEM</a> data stored in mlog files generated by <code>musrfit</code> and putting them together in a file with the <strong>DB</strong> format for further analysis. Therefore, any peculiarities, e.g. in supplying options to <code>msr2data</code> are owed its original purpose.
|
||||
<code>msr2data</code> (originally written by B. M. Wojek) is a program implemented in <code>C++</code>. Its purpose is to process multiple <code><a href="MusrFit.html">musrfit</a></code> msr files with the same parameters and summarize the fitting results either in a TRIUMF <strong>DB</strong> <a name="FootNote1text"></a><span class="FootNoteTextLink" title=" For an abridged description of this format see [[http://musr.org/xyfit/dbformat.html][here]]. The *DB* files produced by =msr2data= can be viewed for instance with [[http://musr.org/muview/][&mu;View]], however, they are <em>not completely</em> backward-compatible to the original "db language" since the parameter names can be longer than five or six characters! In order to establish this backward compatibility (if needed) the user has to ensure the correct length of the parameter names in the msr files!"><a class="foswikiCurrentTopicLink" href="#FootNote1note">(1)</a></span> or a <strong>column ASCII</strong> file. It evolved from a script called <code>mlog2db</code> which has been written only for collecting fit results of <a href="http://lmu.web.psi.ch/lem/">LEM</a> data stored in mlog files generated by <code>musrfit</code> and putting them together in a file with the <strong>DB</strong> format for further analysis. Therefore, any peculiarities, e.g. in supplying options to <code>msr2data</code> are owed its original purpose.
|
||||
<code>msr2data</code> is <a href="http://www.gnu.org/philosophy/free-sw.html">free software</a> and licensed under the <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">GNU GPL version 2</a> or any later version (at your option).
|
||||
<p></p>
|
||||
Before the usage of msr2data will be explained in greater detail first be aware of the following:
|
||||
<p></p>
|
||||
<strong><span class='foswikiRedFG'>If using msr2data always bear in mind <a href="#KnownLimitations" class="foswikiCurrentTopicLink">its limitations</a>!</span></strong>
|
||||
<strong><span class='foswikiRedFG'>If using msr2data always bear in mind <a class="foswikiCurrentTopicLink" href="#KnownLimitations">its limitations</a>!</span></strong>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
Notes
|
||||
<p></p>
|
||||
<a name="FootNote1note"></a><span class="FootNoteLabel"><a href="Msr2Data.html#FootNote1text" class="foswikiCurrentWebHomeLink"> <strong>1</strong> </a></span>: <span class="FootNote"> For an abridged description of this format see <a href="http://musr.org/xyfit/dbformat.html">here</a>. The <strong>DB</strong> files produced by <code>msr2data</code> can be viewed for instance with <a href="http://musr.org/muview/">μView</a>, however, they are <em>not completely</em> backward-compatible to the original "db language" since the parameter names can be longer than five or six characters! In order to establish this backward compatibility (if needed) the user has to ensure the correct length of the parameter names in the msr files!</span>
|
||||
<a name="FootNote1note"></a><span class="FootNoteLabel"><a href="#FootNote1text"><b>1</b></a></span>: <span class="FootNote"> For an abridged description of this format see <a href="http://musr.org/xyfit/dbformat.html">here</a>. The <strong>DB</strong> files produced by <code>msr2data</code> can be viewed for instance with <a href="http://musr.org/muview/">μView</a>, however, they are <em>not completely</em> backward-compatible to the original "db language" since the parameter names can be longer than five or six characters! In order to establish this backward compatibility (if needed) the user has to ensure the correct length of the parameter names in the msr files!</span>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
@ -197,19 +197,19 @@ Notes
|
||||
<p></p>
|
||||
<span id="BasicTypesOfUsage"></span>
|
||||
<h1 id="A_2_Basic_Types_of_Usage"> 2 Basic Types of Usage </h1>
|
||||
Apart from numerous <a href="#OptionalParameters" class="foswikiCurrentTopicLink">optional parameters</a> that might be set or not, in principle there are four different ways of calling <code>msr2data</code>. These differ in how the list of runs which should be processed is supplied: <dl>
|
||||
Apart from numerous <a class="foswikiCurrentTopicLink" href="#OptionalParameters">optional parameters</a> that might be set or not, in principle there are four different ways of calling <code>msr2data</code>. These differ in how the list of runs which should be processed is supplied: <dl>
|
||||
<dt> msr2data <run> <extension> [optional parameters] </dt><dd> A single run number.
|
||||
</dd> <dt> msr2data <firstRunNo> <lastRunNo> <extension> [optional parameters] </dt><dd> An interval of run numbers is specified through the first and the last run number. The condition <strong><firstRunNo> < <lastRunNo></strong> is <em>not</em> necessary.
|
||||
</dd> <dt> msr2data \[ <runList> \] <extension> [optional parameters] </dt><dd> Where <runList> is one or a combination of the following:(i) <strong><run0>, <run1>, <run2>, ... <runN></strong> : run numbers, e.g. 123 124, (ii) <strong><run0>-<runN></strong> : a range, e.g. 123-125 -> 123 124 125, (iii) <strong><run0>:<runN>:<step></strong> : a sequence, e.g. 123:127:2 -> 123 125 127. <step> has to be a <strong>positive</strong> integer. A <runList> can also combine (i)-(iii), e.g. 123 128-130 133, etc.
|
||||
</dd> <dt> msr2data <runListFileName> <extension> [optional parameters] </dt><dd> An ASCII file containing a list of run numbers and optional external parameters is passed to <code>msr2data</code>. For the structure of the ASCII file see <a href="#RunListStructure" class="foswikiCurrentTopicLink">below</a>.
|
||||
</dd> <dt> msr2data <runListFileName> <extension> [optional parameters] </dt><dd> An ASCII file containing a list of run numbers and optional external parameters is passed to <code>msr2data</code>. For the structure of the ASCII file see <a class="foswikiCurrentTopicLink" href="#RunListStructure">below</a>.
|
||||
</dd></dl>
|
||||
<p></p>
|
||||
All four basic types of calling <code>msr2data</code> contain the <em>mandatory</em> file-name <strong><extension></strong> passed right after the list of runs. The meaning of this <strong><extension></strong> should become clear after giving examples for all four cases:
|
||||
<pre class="bash">msr2data 8472 _tf_h13</pre> generates the <strong>DB</strong> file <code><b>out.db</b></code> (can be changed by using <a class="foswikiCurrentTopicLink" href="#OptionalParameters">the -o option</a>) from <code><b>8472_tf_h13.msr</b></code>.
|
||||
<pre class="bash">msr2data 8472 8474 _tf_h13</pre> generates the <strong>DB</strong> file <code><b>out.db</b></code> (can be changed by using <a href="#OptionalParameters" class="foswikiCurrentTopicLink">the -o option</a>) from <code><b>8472_tf_h13.msr</b></code>, <code><b>8473_tf_h13.msr</b></code>, and <code><b>8474_tf_h13.msr</b></code>.
|
||||
<pre class="bash">msr2data 8472 8474 _tf_h13</pre> generates the <strong>DB</strong> file <code><b>out.db</b></code> (can be changed by using <a class="foswikiCurrentTopicLink" href="#OptionalParameters">the -o option</a>) from <code><b>8472_tf_h13.msr</b></code>, <code><b>8473_tf_h13.msr</b></code>, and <code><b>8474_tf_h13.msr</b></code>.
|
||||
<pre class="bash">msr2data [8472 8470] _tf_h13</pre> generates the <strong>DB</strong> file <code><b>out.db</b></code> (can be changed by using <a class="foswikiCurrentTopicLink" href="#OptionalParameters">the -o option</a>) from <code><b>8472_tf_h13.msr</b></code> and <code><b>8470_tf_h13.msr</b></code>.
|
||||
<pre class="bash">msr2data [8470:8474:2] _tf_h13</pre> generates the <strong>DB</strong> file <code><b>out.db</b></code> (can be changed by using <a class="foswikiCurrentTopicLink" href="#OptionalParameters">the -o option</a>) from <code><b>8470_tf_h13.msr</b></code>, <code><b>8472_tf_h13.msr</b></code>, and <code><b>8474_tf_h13.msr</b></code>.
|
||||
<pre class="bash">msr2data run.list _tf_h13</pre> generates the <strong>DB</strong> file <code><b>out.db</b></code> (can be changed by using <a href="#OptionalParameters" class="foswikiCurrentTopicLink">the -o option</a>) from all runs listed in the ASCII file <code><b>run.list</b></code> in the working directory. In this file it is also possible to include external parameters which should be put in the resulting <strong>DB</strong> file. The structure of the <code><b>run.list</b></code> is the following:
|
||||
<pre class="bash">msr2data run.list _tf_h13</pre> generates the <strong>DB</strong> file <code><b>out.db</b></code> (can be changed by using <a class="foswikiCurrentTopicLink" href="#OptionalParameters">the -o option</a>) from all runs listed in the ASCII file <code><b>run.list</b></code> in the working directory. In this file it is also possible to include external parameters which should be put in the resulting <strong>DB</strong> file. The structure of the <code><b>run.list</b></code> is the following:
|
||||
<span id="RunListStructure"></span>
|
||||
<pre>
|
||||
RUN VAR1 VAR2 VAR3 ...
|
||||
@ -225,7 +225,7 @@ It is allowed to add comments (with a preceding <strong>#</strong>) or empty lin
|
||||
<p></p>
|
||||
The following should be mentioned together with the above examples: <ul>
|
||||
<li> The output files in the examples above are only newly created if they did not exist before invoking <strong>msr2data</strong>. If the files were already present the msr-file data would be appended!
|
||||
</li> <li> If the files have been newly created, also the <strong>DB</strong> file header is written. If the files were present before, only the data blocks are appended. The output of the header can either be forced or completely suppressed with the <a href="#OptionalParameters" class="foswikiCurrentTopicLink">header and noheader options</a> as shall be seen later.
|
||||
</li> <li> If the files have been newly created, also the <strong>DB</strong> file header is written. If the files were present before, only the data blocks are appended. The output of the header can either be forced or completely suppressed with the <a class="foswikiCurrentTopicLink" href="#OptionalParameters">header and noheader options</a> as shall be seen later.
|
||||
</li></ul>
|
||||
<span id="NoExtension"></span> <ul>
|
||||
<li> <span class='foswikiRedFG'>If the <code>musrfit</code> output files do not have an <extension> as specified above like <code><b>8472.msr</b></code> one has to call <code>msr2data</code> like in the following example:</span> <pre class="bash">
|
||||
@ -241,6 +241,7 @@ As mentioned already above there are some optional parameters which change the b
|
||||
</dd> <dt> header </dt><dd> Force the output of the file header—even if the output file was present before.
|
||||
</dd> <dt> noheader </dt><dd> The output of the file header is suppressed—also if the output file is newly created.<br>If either both or none of the header options are given, <code>msr2data</code> writes the file header only to new files and it solely appends the data blocks to an existing output file assuming that the header is present already.
|
||||
</dd> <dt> nosummary </dt><dd> There will be no attempt to read additional information like the temperature or the applied magnetic field from the data files even if these information were present there.
|
||||
</dd> <dt> paramList <param> </dt><dd> option used to select the parameters which shall be exported. <param> is a list of parameter numbers to be exported. Allowed lists are: <startNo>-<endNo>, e.g. 1-16 will export parameters 1 to 16. Space separated numbers, e.g.: 1 3 5. A combination of both is possible, e.g. 1-16 19 31 62, and so on.
|
||||
</dd> <dt> -o<outputFileName>, -o <outputFileName> </dt><dd> The processed data will be written to the file <strong><outputFileName></strong> instead of the default <code><b>out.db</b></code> or <code><b>out.dat</b></code>. If <strong><outputFileName></strong> is equal to <strong>none</strong> (case-insensitive) the parameter data are <em>not appended</em> to any output file.
|
||||
</dd> <dt> fit </dt><dd> Additionally to the final data collection <code>msr2data</code> will invoke musrfit to fit the specified runs. All msr files are assumed to be present, none is newly generated!
|
||||
</dd> <dt> fit-<template>[!] </dt><dd> Additionally to the final data collection <code>msr2data</code> will generate msr files for the runs specified in the list of runs and invoke <code>musrfit</code> for performing fits of the data. As template for the first run the file <code><b><template><extension>.msr</b></code> (or if not available: <code><b><template><extension>.mlog</b></code>) is used; the subsequent input files will be created using the msr output of the last processed runs ("chain fit"). However, if for <em>all</em> runs only the given template should be used one has to append an exclamation mark (<strong>!</strong>) to the <strong><template></strong>.
|
||||
@ -270,10 +271,16 @@ Take the <strong>given</strong> msr files <code><b>8472.msr</b></code> through <
|
||||
msr2data 8472 8475 _tf_h13 msr-8471!
|
||||
</pre>
|
||||
Using <code><b>8471_tf_h13.msr</b></code> as template for <em>all</em> runs, <code>msr2data</code> generates the msr input files <code><b>8472_tf_h13.msr</b></code> through <code><b>8475_tf_h13.msr</b></code>. <span class='foswikiRedFG'>No fitting will be performed and no DB or ASCII output will be generated!</span>
|
||||
<pre class="bash">
|
||||
msr2data [8472 8475-8479] _tf_h13 paramList 1-16 data -o bestData.dat
|
||||
</pre>
|
||||
Will collect the parameters 1 to 16 from the msr-files <code><b>8472_tf_h13.msr</b></code>, <code><b>8475_tf_h13.msr</b></code>, <code><b>8476_tf_h13.msr</b></code>, <code><b>8477_tf_h13.msr</b></code>, <code><b>8478_tf_h13.msr</b></code>, and <code><b>8479_tf_h13.msr</b></code> and write these parameters into a column like output file <code><b>bestData.dat</b></code>.
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<span id="TheGlobalMode"></span>
|
||||
<h1 id="A_4_The_Global_Mode"> 4 The Global Mode </h1>
|
||||
Apart from all the options described <a href="#OptionalParameters" class="foswikiCurrentTopicLink">above</a> there is another program option: <strong>global</strong>. This option changes the general behavior of <code>msr2data</code> in that way that instead of processing one msr file for each run it combines all specified runs in one single msr file with the possibility to define common parameters for all runs as well as run-specific parameters. When writing the obtained parameters to a DB file or a column-structured ASCII file that single msr file is read and the parameters valid for each run are extracted. The <strong>global</strong> option can be used in conjunction with any of the described <a href="#BasicTypesOfUsage" class="foswikiCurrentTopicLink">invocations</a> of <code>msr2data</code> and together with all options stated <a href="#OptionalParameters" class="foswikiCurrentTopicLink">above</a>.
|
||||
Apart from all the options described <a class="foswikiCurrentTopicLink" href="#OptionalParameters">above</a> there is another program option: <strong>global</strong>. This option changes the general behavior of <code>msr2data</code> in that way that instead of processing one msr file for each run it combines all specified runs in one single msr file with the possibility to define common parameters for all runs as well as run-specific parameters. When writing the obtained parameters to a DB file or a column-structured ASCII file that single msr file is read and the parameters valid for each run are extracted. The <strong>global</strong> option can be used in conjunction with any of the described <a class="foswikiCurrentTopicLink" href="#BasicTypesOfUsage">invocations</a> of <code>msr2data</code> and together with all options stated <a class="foswikiCurrentTopicLink" href="#OptionalParameters">above</a>.
|
||||
<p></p>
|
||||
<span id="GlobalFileGeneration"></span>
|
||||
<h2 id="A_4.1_File_Generation"> 4.1 File Generation </h2>
|
||||
@ -322,9 +329,9 @@ During this reorganization all the affected parameter occurrences are changed ac
|
||||
<span class='foswikiRedFG'>Please be aware of the fact that comments in the template msr file are <em>not</em> propagated to the newly generated global msr file!</span>
|
||||
<p></p>
|
||||
<h2 id="A_4.2_Parameter_Extraction"> 4.2 Parameter Extraction </h2>
|
||||
After fitting some model to the specified data the fit parameters can be extracted from the global msr file to a <strong>DB</strong> or column-structured ASCII file—as usual this includes also parameters stored in the run data files or externally specified parameters given in a <a href="#RunListStructure" class="foswikiCurrentTopicLink">run-list file</a>.
|
||||
After fitting some model to the specified data the fit parameters can be extracted from the global msr file to a <strong>DB</strong> or column-structured ASCII file—as usual this includes also parameters stored in the run data files or externally specified parameters given in a <a class="foswikiCurrentTopicLink" href="#RunListStructure">run-list file</a>.
|
||||
In order to reach this goal the global msr file has to obey certain rules: <ul>
|
||||
<li> The order of the parameters has to match the one described <a href="#GlobalFileGeneration" class="foswikiCurrentTopicLink">above</a>, meaning the common parameters are listed first followed by the same number of parameters specific to each run tagged by the according run numbers at the end of the parameter names and having the same order as the specified list of runs.
|
||||
<li> The order of the parameters has to match the one described <a class="foswikiCurrentTopicLink" href="#GlobalFileGeneration">above</a>, meaning the common parameters are listed first followed by the same number of parameters specific to each run tagged by the according run numbers at the end of the parameter names and having the same order as the specified list of runs.
|
||||
</li> <li> The RUN blocks have to be ordered according to the list of runs to be processed.
|
||||
</li></ul>
|
||||
Following these rules—which is achieved most easily by generating the global msr file using <code>msr2data</code> as shown <a class="foswikiCurrentTopicLink" href="#GlobalFileGeneration">above</a>—the parameters can be extracted e.g. like <pre class="bash">
|
||||
@ -338,7 +345,7 @@ If a new global input file is generated, it is also possible to do an automatic
|
||||
msr2data 8471 8470 _example global+ msr-8472
|
||||
</pre>
|
||||
Here, <code><b>8472_example.msr</b></code> is first used as template to generate the file <code><b>8471-OneRunFit_example.msr</b></code>, then <code>musrfit</code> is called for it, the result is used to generate <code><b>8470-OneRunFit_example.msr</b></code> and <code>musrfit</code> is called for that file. Finally, the global fit file <code><b>8471+global_example.msr</b></code> is produced—including the fit results of the OneRunFit files for the run-specific parameters.<br>
|
||||
By appending an exclamation mark <strong>!</strong> to the <strong>global+</strong> option, the given template will be used for every new file generation (similar to the <strong>fit</strong> option explained <a href="#OptionalParameters" class="foswikiCurrentTopicLink">before</a>). The <strong>+[!]</strong> extension will be ignored, if no new global input file is generated.<br>
|
||||
By appending an exclamation mark <strong>!</strong> to the <strong>global+</strong> option, the given template will be used for every new file generation (similar to the <strong>fit</strong> option explained <a class="foswikiCurrentTopicLink" href="#OptionalParameters">before</a>). The <strong>+[!]</strong> extension will be ignored, if no new global input file is generated.<br>
|
||||
The single run msr files are not deleted at the moment. The information contained in them might be useful for some people. Of course the data can also be collected by <code>msr2data</code>. E.g. in order to produce a <strong>DB</strong> file <code><b>OneRunFits.db</b></code> one could call <pre class="bash">
|
||||
msr2data 8471 8470 -OneRunFit_example -o OneRunFits.db
|
||||
</pre>
|
||||
@ -357,9 +364,9 @@ msr2data 8471 8470 -OneRunFit_example -o OneRunFits.db
|
||||
<span id="MusrGuiInterface"></span>
|
||||
<h1 id="A_6_The_Graphical_User_Interface_Provided_by_61_61musrgui_61_61_47_61_61musredit_61_61"> 6 The Graphical User Interface Provided by <code><b>musrgui</b></code> / <code><b>musredit</b></code> </h1>
|
||||
<code><a href="MusrGui.html">musrgui/musredit</a></code>, editors designed especially for the manipulation of <code>musrfit</code> msr files and graphical front ends to <code><a href="MusrFit.html">musrfit</a></code>, offer an almost self-explanatory graphical user interface to <code>msr2data</code> depicted below:<br>
|
||||
<img class='imagePlain imagePlain_right ' src='../pub/MUSR/Msr2Data/igp_1c17a5bfb1fd01add8e3c7933ca421d5_msr2data-input-tabs.png' alt='msr2data-input-tabs.png' title='msr2data-input-tabs.png' width='612' height='605' style='' /> <dl>
|
||||
<img class='imagePlain imagePlain_right ' src='../pub/MUSR/Msr2Data/igp_589e1dc22ab7bf8fd9d5889da6e407f1_msr2data-input-tabs.png' alt='msr2data-input-tabs.png' title='msr2data-input-tabs.png' width='612' height='605' style='' /> <dl>
|
||||
<dt> <span class='foswikiRedFG'>1–3</span> </dt><dd> Choose one of the <a class="foswikiCurrentTopicLink" href="#BasicTypesOfUsage">ways</a> to specify your list of runs.
|
||||
</dd> <dt> <span class='foswikiRedFG'>4</span> </dt><dd> Give the file extension here, e.g. <strong>_zf</strong> for files like <code><b>8472_zf.msr</b></code>. If the files do not have an extension this field stays empty. <code>musrgui</code> / <code>musredit</code> take care of passing the <strong>""</strong> to <code>msr2data</code> as mentioned <a href="#NoExtension" class="foswikiCurrentTopicLink">above</a>.
|
||||
</dd> <dt> <span class='foswikiRedFG'>4</span> </dt><dd> Give the file extension here, e.g. <strong>_zf</strong> for files like <code><b>8472_zf.msr</b></code>. If the files do not have an extension this field stays empty. <code>musrgui</code> / <code>musredit</code> take care of passing the <strong>""</strong> to <code>msr2data</code> as mentioned <a class="foswikiCurrentTopicLink" href="#NoExtension">above</a>.
|
||||
</dd> <dt> <span class='foswikiRedFG'>5</span> </dt><dd> Activates the <strong>fit-<template></strong> option if <strong><template></strong> is entered. In case the option "Chain Fit" is <em>not</em> set the given template will be used for the input-file generation for <em>all</em> runs to be fitted—otherwise the output of the first fit serves as template for the second and so on. The template field stays empty if no fits should be performed!
|
||||
</dd> <dt> <span class='foswikiRedFG'>6</span> </dt><dd> Activates the <strong>-o<outputFileName></strong> option if <strong><outputFileName></strong> is entered. If nothing is entered the default output file <code><b>out.db</b></code> or <code><b>out.dat</b></code> is used.
|
||||
</dd> <dt> <span class='foswikiRedFG'>7</span> </dt><dd> If <em>not</em> set, the <strong>noheader</strong> option is passed to <code>msr2data</code>.
|
||||
@ -372,7 +379,7 @@ msr2data 8471 8470 -OneRunFit_example -o OneRunFits.db
|
||||
</dd> <dt> <span class='foswikiRedFG'>14</span> </dt><dd> If set, <code>msr2data</code> is called with the option <strong>msr-<template></strong> (instead of <strong>fit-<template></strong>) and hence is only producing the msr input files without any fitting.
|
||||
</dd> <dt> <span class='foswikiRedFG'>15</span> </dt><dd> If set, <code>msr2data</code> is called with the option <strong>fit</strong>, i.e. no template will be used to generate new msr input files; only existing files are fed to <code>musrfit</code>.
|
||||
</dd> <dt> <span class='foswikiRedFG'>16</span> </dt><dd> If set, <code>msr2data</code> is operating in the <a class="foswikiCurrentTopicLink" href="#TheGlobalMode">global mode</a>.
|
||||
</dd> <dt> <span class='foswikiRedFG'>17</span> </dt><dd> If set, <code>msr2data</code> is operating in the <a href="#GlobalPlus" class="foswikiCurrentTopicLink">extended global mode</a>.
|
||||
</dd> <dt> <span class='foswikiRedFG'>17</span> </dt><dd> If set, <code>msr2data</code> is operating in the <a class="foswikiCurrentTopicLink" href="#GlobalPlus">extended global mode</a>.
|
||||
</dd></dl>
|
||||
<p></p>
|
||||
<span id="BugTracking"></span>
|
||||
@ -384,17 +391,17 @@ For reporting bugs or requesting new features and improvements please use the <a
|
||||
<p></p>
|
||||
<p></p>
|
||||
<br class="imageClear" clear="all"/><div class="foswikiAttachments">
|
||||
<div class="twistyPlugin foswikiMakeVisible"><span id="topicattachmentslist1show" style="display:none" class="twistyRememberSetting twistyTrigger foswikiUnvisited twistyInited"><a class="patternTwistyButton" href="#"><img src="../pub/System/DocumentGraphics/toggleopen.png" border="0" alt="" /><span class="foswikiLinkLabel foswikiUnvisited">Attachments <span class='foswikiSmall foswikiGrayText'>1</span></span></a></span><span id="topicattachmentslist1hide" style="display:none" class="twistyRememberSetting twistyTrigger foswikiUnvisited twistyInited"><a href="#" class="patternTwistyButton"><img src="../pub/System/DocumentGraphics/toggleclose.png" border="0" alt="" /><span class="foswikiLinkLabel foswikiUnvisited">Attachments <span class='foswikiSmall foswikiGrayText'>1</span></span></a></span></div><div class="twistyPlugin"><div id="topicattachmentslist1toggle" style="" class="twistyRememberSetting twistyContent twistyInited">
|
||||
<table id="tableMsr2Data1" rules="none" class="foswikiTable" summary="Topic attachments" border="1"><caption>Topic attachments</caption>
|
||||
<div class="twistyPlugin foswikiMakeVisible"><span id="topicattachmentslist1show" style="display:none" class="twistyRememberSetting twistyTrigger foswikiUnvisited twistyInited"><a class="patternTwistyButton" href="#"><img src="../pub/System/DocumentGraphics/toggleopen.png" border="0" alt="" /><span class="foswikiLinkLabel foswikiUnvisited">Attachments <span class='foswikiSmall foswikiGrayText'>1</span></span></a></span><span id="topicattachmentslist1hide" style="display:none" class="twistyRememberSetting twistyTrigger foswikiUnvisited twistyInited"><a class="patternTwistyButton" href="#"><img src="../pub/System/DocumentGraphics/toggleclose.png" border="0" alt="" /><span class="foswikiLinkLabel foswikiUnvisited">Attachments <span class='foswikiSmall foswikiGrayText'>1</span></span></a></span></div><div class="twistyPlugin"><div id="topicattachmentslist1toggle" style="" class="twistyRememberSetting twistyContent twistyInited">
|
||||
<table border="1" class="foswikiTable" id="tableMsr2Data1" rules="none" summary="Topic attachments"><caption>Topic attachments</caption>
|
||||
<thead>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/Msr2Data?cover=print;sortcol=0;table=1;up=0#sorted_table">I</a> </th>
|
||||
<th class="foswikiTableCol1"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/Msr2Data?cover=print;sortcol=1;table=1;up=0#sorted_table">Attachment</a> </th>
|
||||
<th class="foswikiTableCol2"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/Msr2Data?cover=print;sortcol=2;table=1;up=0#sorted_table">Action</a> </th>
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/Msr2Data?cover=print;sortcol=0;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">I</a> </th>
|
||||
<th class="foswikiTableCol1"> <a href="https://intranet.psi.ch/MUSR/Msr2Data?cover=print;sortcol=1;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Attachment</a> </th>
|
||||
<th class="foswikiTableCol2"> <a href="https://intranet.psi.ch/MUSR/Msr2Data?cover=print;sortcol=2;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Action</a> </th>
|
||||
<th class="foswikiTableCol3"> <a href="https://intranet.psi.ch/MUSR/Msr2Data?cover=print;sortcol=3;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Size</a> </th>
|
||||
<th class="foswikiTableCol4"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/Msr2Data?cover=print;sortcol=4;table=1;up=0#sorted_table">Date</a> </th>
|
||||
<th class="foswikiTableCol5"> <a href="https://intranet.psi.ch/MUSR/Msr2Data?cover=print;sortcol=5;table=1;up=0#sorted_table" title="Sort by this column" rel="nofollow">Who</a> </th>
|
||||
<th class="foswikiTableCol6 foswikiLastCol"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/Msr2Data?cover=print;sortcol=6;table=1;up=0#sorted_table">Comment</a> </th>
|
||||
<th class="foswikiTableCol4"> <a href="https://intranet.psi.ch/MUSR/Msr2Data?cover=print;sortcol=4;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Date</a> </th>
|
||||
<th class="foswikiTableCol5"> <a href="https://intranet.psi.ch/MUSR/Msr2Data?cover=print;sortcol=5;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Who</a> </th>
|
||||
<th class="foswikiTableCol6 foswikiLastCol"> <a href="https://intranet.psi.ch/MUSR/Msr2Data?cover=print;sortcol=6;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Comment</a> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -402,19 +409,19 @@ For reporting bugs or requesting new features and improvements please use the <a
|
||||
<td class="foswikiTableCol0 foswikiFirstCol foswikiLast"> <span class='foswikiIcon'><img src='../pub/System/DocumentGraphics/png.png' width='16' height='16' alt='msr2data-input-tabs.png' /></span><span class="foswikiHidden">png</span> </td>
|
||||
<td class="foswikiTableCol1 foswikiLast"> <a href="../pub/MUSR/Msr2Data/msr2data-input-tabs.png">msr2data-input-tabs.png</a> </td>
|
||||
<td class="foswikiTableCol2 foswikiLast"> <a href="https://intranet.psi.ch/wiki/bin/attach/MUSR/Msr2Data?filename=msr2data-input-tabs.png;revInfo=1" title="change, update, previous revisions, move, delete..." rel="nofollow">manage</a> </td>
|
||||
<td style="text-align:right" class="foswikiTableCol3 foswikiLast"> 36 K </td>
|
||||
<td class="foswikiTableCol3 foswikiLast" style="text-align:right"> 36 K </td>
|
||||
<td class="foswikiTableCol4 foswikiLast"> <span class="foswikiNoBreak">20 Jul 2011 - 12:13</span> </td>
|
||||
<td class="foswikiTableCol5 foswikiLast"> <a href="https://intranet.psi.ch/Main/UnknownUser">UnknownUser</a> </td>
|
||||
<td class="foswikiTableCol6 foswikiLastCol foswikiLast"> graphical interface to msr2data </td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</div></div></div></div>
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a href="WebHome.html" class="foswikiCurrentWebHomeLink">WebHome</a> > <a href="MusrFit.html">MusrFit</a><span class='foswikiSeparator'> > </span>Msr2Data <br />
|
||||
Topic revision: <span class='patternRevInfo'>16 Aug 2015, suter_a</span></div>
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a class="foswikiCurrentWebHomeLink" href="WebHome.html">WebHome</a> > <a href="MusrFit.html">MusrFit</a><span class='foswikiSeparator'> > </span>Msr2Data <br />
|
||||
Topic revision: <span class='patternRevInfo'>28 Apr 2016, <a href="https://intranet.psi.ch/Main/AndreasSuter">AndreasSuter</a></span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:andre.lichtsteiner@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.Msr2Data'>Send feedback</a></div></div></div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:thomas.buecklers@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.Msr2Data'>Send feedback</a></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -428,6 +435,5 @@ Topic revision: <span class='patternRevInfo'>16 Aug 2015, suter_a</span></div>
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/Msr2Data?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:46 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/Msr2Data?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:42:20 GMT -->
|
||||
</html>
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en">
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrFit?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:23 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrFit?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:56 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="../pub/System/HeadlinesPlugin/style.css" type="text/css" media="all" />
|
||||
<title> MUSR :: MusrFit</title>
|
||||
@ -14,14 +14,11 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<link rel="icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/MusrFit?t=1453475522" type="application/x-wiki" title="edit MusrFit" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/MusrFit?t=1528465297" type="application/x-wiki" title="edit MusrFit" />
|
||||
<meta name="TEXT_NUM_TOPICS" content="Number of topics:" />
|
||||
<meta name="TEXT_MODIFY_SEARCH" content="Modify search" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRsshtml.html" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<style class='head TABLEPLUGIN_default' type="text/css" media="all">
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRss" />
|
||||
<base /><!--[if IE]></base><![endif]--><style class='head TABLEPLUGIN_default' type="text/css" media="all">
|
||||
body .foswikiTable {border-width:1px}
|
||||
body .foswikiTable .tableSortIcon img {padding-left:.3em; vertical-align:text-bottom}
|
||||
body .foswikiTable td {border-style:solid none; vertical-align:top}
|
||||
@ -35,8 +32,11 @@ body .foswikiTable tr.foswikiTableRowdataBg0 td.foswikiSortedCol {background-col
|
||||
body .foswikiTable tr.foswikiTableRowdataBg1 td {background-color:#f7f7f6}
|
||||
body .foswikiTable tr.foswikiTableRowdataBg1 td.foswikiSortedCol {background-color:#f0f0ee}
|
||||
</style><!--TABLEPLUGIN_default-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head IMAGEPLUGIN' rel="stylesheet" href="../pub/System/ImagePlugin/style.css" type="text/css" media="all" /><!--IMAGEPLUGIN--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<link class='head IMAGEPLUGIN' rel="stylesheet" href="../pub/System/ImagePlugin/style.css" type="text/css" media="all" /><!--IMAGEPLUGIN-->
|
||||
<link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<style type="text/css" media="all">
|
||||
@import url('../pub/System/PatternSkinTheme/layout.css');
|
||||
@import url('../pub/System/PatternSkinTheme2009/style.css');
|
||||
@ -122,12 +122,12 @@ body .foswikiTable tr.foswikiTableRowdataBg1 td.foswikiSortedCol {background-col
|
||||
<!--JQUERYPLUGIN::METADATA-->
|
||||
|
||||
<!--JQUERYPLUGIN::CHILI-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JQUERYPLUGIN::COMMENT--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<!--PatternSkin/pattern--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
</head>
|
||||
<body class="foswikiNoJs patternViewPage patternPrintPage">
|
||||
<span id="PageTop"></span><div class="foswikiPage"><div id="patternScreen">
|
||||
@ -146,14 +146,14 @@ body .foswikiTable tr.foswikiTableRowdataBg1 td.foswikiSortedCol {background-col
|
||||
</li> <li> <a href="MusrFit.html#A_2_Available_Executables_44_Configuration_Files_and_their_Basic_Usage"> 2 Available Executables, Configuration Files and their Basic Usage </a> <ul>
|
||||
<li> <a href="MusrFit.html#A_2.1_musrfit"> 2.1 musrfit </a>
|
||||
</li> <li> <a href="MusrFit.html#A_2.2_musrview"> 2.2 musrview </a>
|
||||
</li> <li> <a href="MusrFit.html#A_2.3_musrFT"> 2.3 musrFT <img src="../pub/System/DocumentGraphics/new.png" alt="NEW" title="NEW" width="30" height="16" /> </a>
|
||||
</li> <li> <a href="MusrFit.html#A_2.3_musrFT"> 2.3 musrFT </a>
|
||||
</li> <li> <a href="MusrFit.html#A_2.4_musrt0"> 2.4 musrt0 </a>
|
||||
</li> <li> <a href="MusrFit.html#A_2.5_musrfit_startup.xml"> 2.5 musrfit_startup.xml </a>
|
||||
</li> <li> <a href="MusrFit.html#A_2.6_msr2msr"> 2.6 msr2msr </a>
|
||||
</li> <li> <a href="MusrFit.html#A_2.7_any2many"> 2.7 any2many </a>
|
||||
</li> <li> <a href="MusrFit.html#A_2.8_dump_header"> 2.8 dump_header </a>
|
||||
</li></ul>
|
||||
</li> <li> <a href="MusrFit.html#A_3_Auxiliary_Programs"> 3 Auxiliary Programs </a>
|
||||
</li> <li> <a href="MusrFit.html#A_3_Auxiliary_Programs_40musredit_44_msr2data_41"> 3 Auxiliary Programs (musredit, msr2data) <img src="../pub/System/DocumentGraphics/updated.png" alt="UPDATED" title="UPDATED" width="55" height="16" /> </a>
|
||||
</li> <li> <a href="MusrFit.html#A_4_Description_of_the_msr_File_Format"> 4 Description of the msr File Format </a> <ul>
|
||||
<li> <a href="MusrFit.html#A_4.1_The_Title"> 4.1 The Title </a>
|
||||
</li> <li> <a href="MusrFit.html#A_4.2_The_FITPARAMETER_Block"> 4.2 The FITPARAMETER Block </a>
|
||||
@ -165,7 +165,9 @@ body .foswikiTable tr.foswikiTableRowdataBg1 td.foswikiSortedCol {background-col
|
||||
</li> <li> <a href="MusrFit.html#A_4.4_The_FUNCTIONS_Block"> 4.4 The FUNCTIONS Block </a>
|
||||
</li> <li> <a href="MusrFit.html#A_4.5_The_GLOBAL_Block"> 4.5 The GLOBAL Block </a>
|
||||
</li> <li> <a href="MusrFit.html#A_4.6_The_RUN_Block"> 4.6 The RUN Block </a>
|
||||
</li> <li> <a href="MusrFit.html#A_4.7_The_COMMANDS_Block"> 4.7 The COMMANDS Block </a>
|
||||
</li> <li> <a href="MusrFit.html#A_4.7_The_COMMANDS_Block"> 4.7 The COMMANDS Block </a> <ul>
|
||||
<li> <a href="MusrFit.html#A_4.7.1_DKS_extensions_of_the_COMMANDS_block_enabling_GPU_and_general_OpenCL_support"> 4.7.1 DKS extensions of the COMMANDS block enabling GPU and general OpenCL support </a>
|
||||
</li></ul>
|
||||
</li> <li> <a href="MusrFit.html#A_4.8_The_FOURIER_Block"> 4.8 The FOURIER Block </a>
|
||||
</li> <li> <a href="MusrFit.html#A_4.9_The_PLOT_Block"> 4.9 The PLOT Block </a>
|
||||
</li> <li> <a href="MusrFit.html#A_4.10_The_STATISTIC_Block"> 4.10 The STATISTIC Block </a>
|
||||
@ -199,26 +201,35 @@ body .foswikiTable tr.foswikiTableRowdataBg1 td.foswikiSortedCol {background-col
|
||||
If called from within a shell it accepts several parameters: <dl>
|
||||
<dt> <msr_file> </dt><dd> filename of the msr input file defining all the details needed for performing a fit to a specified set of data—the only mandatory parameter
|
||||
</dd> <dt> -k, --keep-mn2-output </dt><dd> selects the option for keeping the output of <code>MINUIT2</code> including the correlation coefficients between different parameters and renaming the files <code><b>MINUIT2.OUTPUT</b></code> and <code><b>MINUIT2.root</b></code> to <code><b><msr_file_without_extension>-mn2.output</b></code> and <code><b><msr_file_without_extension>-mn2.root</b></code>, repectively, e.g. <strong><msr_file></strong> = <code><b>8472.msr</b></code> → <code><b>8472-mn2.output</b></code> , <code><b>8472-mn2.root</b></code>
|
||||
</dd> <dt> -c, --chisq-only </dt><dd> Instead of fitting the model, <code>musrfit</code> calculates χ<sup>2</sup> only once and sends the result to the standard output if called with this option. This might be useful for the adjustment of the initial values of the fit parameters.
|
||||
</dd> <dt> -c, --chisq-only </dt><dd> Instead of fitting the model, <code>musrfit</code> calculates χ<sup>2</sup> or max. log-likelihood, maxLH, only once and sends the result to the standard output if called with this option. This is e.g. useful for the adjustment of the initial values of the fit parameters.
|
||||
</dd> <dt> -t, --title-from-data-file </dt><dd> If this option is given <code>musrfit</code> will replace the title in the <strong><msr_file></strong> by the run title in the data file of the first run appearing in a RUN block. In case there is no run title in the data file no substitution is done.
|
||||
</dd> <dt> -e, --estimateN0 </dt><dd> estimate N0 for single histogram fits.
|
||||
</dd> <dt> -p, --per-run-block-chisq </dt><dd> will write per run block chisq/maxLH into the msr-file.
|
||||
</dd> <dt> --dump <type> </dt><dd> is writing a data file with the fit data and the theory; <strong><type></strong> can be <strong>ascii</strong> (data in columns) or <strong>root</strong> (data in <code>ROOT</code> histograms)
|
||||
</dd> <dt> --timeout <timeout_tag> </dt><dd> overwrites the predefined timeout of 3600 sec. <timeout_tag><=0 means the timeout facility is not enabled. <timeout_tag> > 0, e.g. <code>nn</code> will set the timeout to <code>nn</code> (sec). If during a fit this timeout is reached, <code>musrfit</code> will terminate. This is used to prevent orphan musrfit process to jam the system.
|
||||
</dd> <dt> --timeout <timeout_tag> </dt><dd> overwrites the predefined timeout of 3600 sec. <timeout_tag><=0 means the timeout facility is not enabled. <timeout_tag> > 0, e.g. <code>nn</code> will set the timeout to <code>nn</code> (sec). If during a fit this timeout is reached, <code>musrfit</code> will terminate. This is used to prevent orphan musrfit processes to jam the system.
|
||||
</dd> <dt> --help </dt><dd> displays a small help notice in the shell explaining the basic usage of the program
|
||||
</dd> <dt> --version </dt><dd> prints the version number of <code>musrfit</code>
|
||||
</dd></dl>
|
||||
<p></p>
|
||||
If called with a msr input file, e.g.
|
||||
<pre class="bash">musrfit 8472.msr</pre>
|
||||
the fit described in the input file will be executed and the results will be written to a mlog output file—in the example <code><b>8472.mlog</b></code>. When the fitting has terminated the msr file and the mlog file are swapped, so that the resultant parameter values can be found in the msr file and the mlog file contains a copy of the input file. The format of the mlog file is the same as that of the msr file. For a detailed description of the msr file format refer to <a href="#DescriptionOfTheMsrFileFormat" class="foswikiCurrentTopicLink">the corresponding section</a>.
|
||||
the fit described in the input file will be executed and the results will be written to a mlog output file—in the example <code><b>8472.mlog</b></code>. When the fitting has terminated the msr file and the mlog file are swapped, so that the resultant parameter values can be found in the msr file and the mlog file contains a copy of the input file. The format of the mlog file is the same as that of the msr file. For a detailed description of the msr file format refer to <a class="foswikiCurrentTopicLink" href="#DescriptionOfTheMsrFileFormat">the corresponding section</a>.
|
||||
<p></p>
|
||||
Another example:
|
||||
<pre class="bash">musrfit -c -e 8472_tf_histo.msr</pre>
|
||||
This will calculate the chisq/maxLH of the run <code><b>8472</b></code> after estimating the N0.
|
||||
<p></p>
|
||||
<span id="MusrView"></span>
|
||||
<h2 id="A_2.2_musrview"> 2.2 musrview </h2>
|
||||
<code>musrview</code> is an interactive graphical user interface for the presentation of the analyzed data and the corresponding fits. If called from within a shell it accepts the following parameters: <dl>
|
||||
<dt> <msr_file> </dt><dd> name of the msr input or output file to be displayed—this parameter is mandatory
|
||||
</dd> <dt> --<graphic_format_extension> </dt><dd> will produce a graphics output file without starting a <code>ROOT</code> session. The filename is based on the name of the <strong><msr_file></strong>, e.g. <code><b>8472.msr</b></code> → <code><b>8472_0.png</b></code> <br> Supported values for <strong><graphic_format_extension></strong> are <strong>eps</strong>, <strong>pdf</strong>, <strong>gif</strong>, <strong>jpg</strong>, <strong>png</strong>, <strong>svg</strong>, <strong>xpm</strong>, <strong>root</strong>
|
||||
</dd> <dt> --timeout <timeout> </dt><dd> <timeout> given in seconds after which <code>musrview</code> terminates. If <timeout> <= 0, no timeout will take place. Default for <timeout> is 0.
|
||||
</dd> <dt> --help </dt><dd> displays a small help notice in the shell explaining the basic usage of the program
|
||||
</dd> <dt> --version </dt><dd> prints the version number of <code>musrview</code>
|
||||
</dd> <dt> -f, --fourier </dt><dd> will directly present the Fourier transform of the <msr_file> with Fourier options as defined in the <msr_file>.
|
||||
</dd> <dt> -a, --avg </dt><dd> will directly present the averaged data/Fourier of the <msr_file>.
|
||||
</dd> <dt> --<graphic_format_extension> </dt><dd> will produce a graphics output file without starting a <code>ROOT</code> session. The filename is based on the name of the <strong><msr_file></strong>, e.g. <code><b>8472.msr</b></code> → <code><b>8472_0.png</b></code> <br> Supported values for <strong><graphic_format_extension></strong> are <strong>eps</strong>, <strong>pdf</strong>, <strong>gif</strong>, <strong>jpg</strong>, <strong>png</strong>, <strong>svg</strong>, <strong>xpm</strong>, <strong>root</strong>
|
||||
</dd> <dt> --ascii </dt><dd> will generate an ascii dump of the data and theory as plotted.
|
||||
</dd> <dt> --timeout <timeout> </dt><dd> <timeout> given in seconds after which <code>musrview</code> terminates. If <timeout> <= 0, no timeout will take place. Default for <timeout> is 0.
|
||||
</dd></dl>
|
||||
<p></p>
|
||||
If called with a msr file and the <strong>--<graphic_format_extension></strong> option, e.g.
|
||||
@ -230,6 +241,10 @@ If called only with a msr file, e.g.
|
||||
a <code>ROOT</code> canvas is drawn; it contains all experimental data and fits specified in the PLOT block of the msr file.
|
||||
For a description of the various plotting types refer to <a class="foswikiCurrentTopicLink" href="#DescriptionOfTheMsrFileFormat">the corresponding section</a>.
|
||||
<p></p>
|
||||
Example:
|
||||
<pre class="bash">musrview 8472_tf_histo.msr -f -a</pre>
|
||||
will show the averaged Fourier transform of the data of run <code>8472</code>.
|
||||
<p></p>
|
||||
Within the drawn canvas all standard actions applicable to <code>ROOT</code> canvases might be performed.
|
||||
In the menu bar the <strong>Musrfit</strong> menu can be found. From there some <code>musrfit</code>-specific actions might be taken: <dl>
|
||||
<dt> Fourier </dt><dd> performs the Fourier transformation of the selected data and shows the result
|
||||
@ -244,10 +259,11 @@ Additionally, some functions can be accessed using key-shortcuts: <dl>
|
||||
</dd> <dt> f </dt><dd> performs the Fourier transformation of the selected data and shows the result
|
||||
</dd> <dt> a </dt><dd> show the average of the presented data, e.g. the averaged Fourier power spectra of various detectors.
|
||||
</dd> <dt> u </dt><dd> reset the plotting range to the area given in the msr file ("unzoom")
|
||||
</dd> <dt> c </dt><dd> toggles between normal and crosshair cursor
|
||||
</dd></dl>
|
||||
<p></p>
|
||||
<span id="MusrFT"></span>
|
||||
<h2 id="A_2.3_musrFT"> 2.3 musrFT <img src="../pub/System/DocumentGraphics/new.png" alt="NEW" title="NEW" width="30" height="16" /> </h2>
|
||||
<h2 id="A_2.3_musrFT"> 2.3 musrFT </h2>
|
||||
<code>musrFT</code> is an interactive graphical user interface for the presentation of Fourier transforms of raw μSR histograms. It's purpose is to get a quick overview for high TF-field data, as found e.g. at the HAL-9500 instrument at PSI. It Fourier transforms the raw histogram data, i.e. N(t) rather than A(t), and hence shows the lifetime contribution of the muon. This is no problem for large enough fields, but will be a severe problem at very low fields. <code>musrFT</code> is still in its early stage and should be considered a <strong>beta-version</strong>.
|
||||
<p></p>
|
||||
If called from within a shell it accepts the following parameters: <dl>
|
||||
@ -295,6 +311,7 @@ Additionally, some functions can be accessed using key-shortcuts: <dl>
|
||||
</dd> <dt> a </dt><dd> toggle between average of the presented data and single Fourier histos, e.g. the averaged Fourier power spectra of various detectors.
|
||||
</dd> <dt> d </dt><dd> toggle between average per data set and single Fourier histos, e.g. the averaged Fourier power spectra of various detectors for the different data sets given.
|
||||
</dd> <dt> u </dt><dd> reset the plotting range to the area given in the msr-file or the form the command line ("unzoom")
|
||||
</dd> <dt> c </dt><dd> toggles between normal and crosshair cursor
|
||||
</dd></dl>
|
||||
<p></p>
|
||||
<span id="MusrT0"></span>
|
||||
@ -310,7 +327,7 @@ Additionally, some functions can be accessed using key-shortcuts: <dl>
|
||||
The interactive mode of <code>musrt0</code> is started if the program is called with a sole msr-file argument, e.g.
|
||||
<pre class="bash">musrt0 8472.msr</pre>
|
||||
Then a <code>ROOT</code> canvas depicting the histogram of the data set mentioned first in the <a class="foswikiCurrentTopicLink" href="#TheRunBlock">RUN block</a> is drawn in different colors:<br />
|
||||
<img class='imagePlain imagePlain_center ' src='../pub/MUSR/MusrFit/igp_30b1bd03f016c26e55e7a3979538e223_musrt0.png' alt='musrt0' title='musrt0.png' width='626' height='424' style='' /><br />
|
||||
<img class='imagePlain imagePlain_center ' src='../pub/MUSR/MusrFit/igp_a66e7f65af64996b805ac54a0eba1f8c_musrt0.png' alt='musrt0' title='musrt0.png' width='626' height='424' style='' /><br />
|
||||
The colors of the data points represent the choice of the time windows of <strong><span class='foswikiBlueFG'>data (blue)</span></strong> and <strong><span class='foswikiRedFG'>background (red)</span></strong>, as well as <strong><span class='foswikiGreenFG'>t0 (green line)</span></strong>. In order to change these ranges the mouse cross-hair is moved to a channel of choice and one of the following keys is pressed: <dl>
|
||||
<dt> q </dt><dd> close the currently open histogram and opens the next (see also below)
|
||||
</dd> <dt> Q </dt><dd> quit <code>musrt0</code> without writing into the msr file
|
||||
@ -332,8 +349,8 @@ Closing a window by clicking the <strong>X</strong> button is equivalent to pres
|
||||
<h2 id="A_2.5_musrfit_startup.xml"> 2.5 musrfit_startup.xml </h2>
|
||||
<code><b>musrfit_startup.xml</b></code> is a configuration file located at the <code>musrfit</code> binary path. In this file the following XML tags are allowed to define settings: <dl>
|
||||
<dt> <data_path>PATH_TO_DATA</data_path> </dt><dd> add the new path <strong>PATH_TO_DATA</strong> where <code>musrfit</code> and <code>musrview</code> will search for data files
|
||||
</dd> <dt> <write_per_run_block_chisq><b>y/n</b></write_per_run_block_chisq> </dt><dd> if enabled χ<sup>2</sup> for each RUN block will be written to the <a class="foswikiCurrentTopicLink" href="#TheStatisticBlock">STATISTIC block</a> of the resulting <code>msr</code> file. Additionally, in case a χ<sup>2</sup> <a href="#SingleHistogramFit" class="foswikiCurrentTopicLink">single-histogram fit</a> is done, also <a href="http://en.wikipedia.org/wiki/Pearson's_chi-square_test">Pearson's χ<sup>2</sup></a> will be added.
|
||||
</dd> <dt> <fourier_settings></fourier_settings> </dt><dd> set the default parameters for the Fourier transform in <code>musrview</code>. For further details refer to <a href="#TheFourierBlock" class="foswikiCurrentTopicLink">the description of the msr file</a>. <dl>
|
||||
</dd> <dt> <write_per_run_block_chisq><b>y/n</b></write_per_run_block_chisq> </dt><dd> if enabled χ<sup>2</sup> for each RUN block will be written to the <a class="foswikiCurrentTopicLink" href="#TheStatisticBlock">STATISTIC block</a> of the resulting <code>msr</code> file. Additionally, in case a χ<sup>2</sup> <a class="foswikiCurrentTopicLink" href="#SingleHistogramFit">single-histogram fit</a> is done, also <a href="http://en.wikipedia.org/wiki/Pearson's_chi-square_test">Pearson's χ<sup>2</sup></a> will be added.
|
||||
</dd> <dt> <fourier_settings></fourier_settings> </dt><dd> set the default parameters for the Fourier transform in <code>musrview</code>. For further details refer to <a class="foswikiCurrentTopicLink" href="#TheFourierBlock">the description of the msr file</a>. <dl>
|
||||
<dt> <units>UNITS</units> </dt><dd> specify the units of the frequency or field-domain. Valid units are <strong>Gauss</strong>, <strong>MHz</strong> and <strong>Mc/s</strong> (inside a <fourier_settings> environment)
|
||||
</dd> <dt> <fourier_power><i>n</i></fourier_power> </dt><dd> specify the number of points 2<sup><b><i>n</i></b></sup> (<b><i>n</i></b> < 21) to be used for the Fourier transform (inside a <fourier_settings> environment)
|
||||
</dd> <dt> <apodization>APOD</apodization> </dt><dd> set the default apodization method. Valid apodizations are <strong>none</strong>, <strong>weak</strong>, <strong>medium</strong> and <strong>strong</strong> (inside a <fourier_settings> environment)
|
||||
@ -446,10 +463,30 @@ Will read the two files <code>'2010/lem10_his_0123.root'</code> and <code>'2010/
|
||||
<span id="DumpHeader"></span>
|
||||
<h2 id="A_2.8_dump_header"> 2.8 dump_header </h2>
|
||||
<code>dump_header</code> is a little program which tries to read a μSR data file and sends the relevant information (required header info, start of the histos, etc.) to the standard output. Currently the following μSR data file formats are supported: <code>MusrROOT</code>, <code>ROOT</code> (old LEM format), <code>PSI-BIN</code>, <code>PSI-MDU</code>, <code>NeXus</code> (IDF1 and IDF2), <code>MUD</code>, and <code>WKM</code>.
|
||||
<p></p> <dl>
|
||||
<dt> -rn, --runNo <runNo> </dt><dd> run number of the header to be dumped.
|
||||
</dd> <dt> -fn, --fileName <fileName> </dt><dd> muSR data file name.
|
||||
</dd> <dt> -ff, --fileFormat <fileFormat> </dt><dd> where <fileFormat> is one of the above listed ones.
|
||||
</dd> <dt> -y, --year <year> </dt><dd> <year> has to be a 4 digit value, e.g. 2005, if provided it is used to generate the file name for the given <runNo>, otherwise the current year is used. If a file name is given, this option has no effect.
|
||||
</dd> <dt> -s, --summary </dt><dd> this option is used for LE-muSR data sets only. It will, additionally to the header information, print the summary file content.
|
||||
</dd> <dt> --psi-bulk <opt> </dt><dd> where <opt> consists of two items: (i) <code>pta</code> or <code>tdc</code>, (ii) the instrument name, i.e. <code>gps</code>, <code>ltf</code>, <code>dolly</code>, <code>gpd</code>, or <code>hifi</code>. This is needed in combination with the file formats <code>PSI-BIN</code> and <code>PSI-MDU</code> when providing a run number.
|
||||
</dd> <dt> -h, --help </dt><dd> will show a short help.
|
||||
</dd> <dt> -v, --version </dt><dd> will print the current version.
|
||||
</dd></dl>
|
||||
<p></p>
|
||||
Examples:
|
||||
<pre class="bash">dump_header -fn tdc_hifi_2015_00123.mdu -y 2015</pre>
|
||||
will dump the header information for the run <code>123</code> of the <code>HAL-9500</code> instrument of the year <code>2015</code>.
|
||||
<p></p>
|
||||
<pre class="bash">dump_header -rn 123 -ff PSI-MDU --psi-bulk tdc hifi -y 2015</pre>
|
||||
the same as the previous example, except that the file name is constructed via the number and the additionally provided information.
|
||||
<p></p>
|
||||
<pre class="bash">dump_header -rn 3456 -s</pre>
|
||||
Will dump the <code>LEM</code> header information of run <code>3456</code> including the content of the run summary file.
|
||||
<p></p>
|
||||
<span id="AuxiliaryPrograms"></span>
|
||||
<h1 id="A_3_Auxiliary_Programs"> 3 Auxiliary Programs </h1>
|
||||
Additionally to the programs mentioned above editor front ends called <code><a href="MusrGui.html">musrgui/musredit</a></code> and another tool named <code><a href="Msr2Data.html">msr2data</a></code> are available. The purpose of <code>msr2data</code> is to process multiple msr files with the same parameters and to summarize the fitting results either in a <strong>DB</strong> or a <strong>column ASCII</strong> file. Also, new msr files can be generated from a template. For details refer to its <a href="Msr2Data.html">manual</a>.
|
||||
<h1 id="A_3_Auxiliary_Programs_40musredit_44_msr2data_41"> 3 Auxiliary Programs (musredit, msr2data) <img src="../pub/System/DocumentGraphics/updated.png" alt="UPDATED" title="UPDATED" width="55" height="16" /> </h1>
|
||||
Additionally to the programs mentioned above editor front ends called <code><a href="MusrGui.html">musredit</a></code> and another tool named <code><a href="Msr2Data.html">msr2data</a></code> are available. The purpose of <code>msr2data</code> is to process multiple msr files with the same parameters and to summarize the fitting results either in a <strong>DB</strong> or a <strong>column ASCII</strong> file. Also, new msr files can be generated from a template. For details refer to its <a href="Msr2Data.html">manual</a>.
|
||||
<p></p>
|
||||
<strong><span class='foswikiRedFG'>Before going to use <code>musrgui</code> / <code>musredit</code> it is strongly recommended to read this manual first!</span></strong>
|
||||
<p></p>
|
||||
@ -470,7 +507,7 @@ are various possible parameter definitions which are listed here:
|
||||
2. <no> <name> <value> <step> <lower_boundary> <upper_boundary>
|
||||
3. <no> <name> <value> <step> <pos_error> <lower_boundary> <upper_boundary>
|
||||
</pre>
|
||||
where <strong><no></strong> is the parameter number, <strong><name></strong> is the parameter name <a name="FootNote1text"></a><span class="FootNoteTextLink" title=" a standard string without whitespace "><a href="#FootNote1note" class="foswikiCurrentTopicLink">(1)</a></span>, <strong><value></strong> is the initial guess of the parameter, <strong><step></strong> the inital step width, <strong><lower/upper_boundary></strong> is the lower/upper boundary for the parameter <a name="FootNote2text"></a><span class="FootNoteTextLink" title=" According to the =MINUIT= manual this should be avoided whenever possible! "><a class="foswikiCurrentTopicLink" href="#FootNote2note">(2)</a></span>.
|
||||
where <strong><no></strong> is the parameter number, <strong><name></strong> is the parameter name <a name="FootNote1text"></a><span class="FootNoteTextLink" title=" a standard string without whitespace "><a class="foswikiCurrentTopicLink" href="#FootNote1note">(1)</a></span>, <strong><value></strong> is the initial guess of the parameter, <strong><step></strong> the inital step width, <strong><lower/upper_boundary></strong> is the lower/upper boundary for the parameter <a name="FootNote2text"></a><span class="FootNoteTextLink" title=" According to the =MINUIT= manual this should be avoided whenever possible! "><a class="foswikiCurrentTopicLink" href="#FootNote2note">(2)</a></span>.
|
||||
<p></p>
|
||||
In the output file, <strong><value></strong> will be the <code>MINUIT</code> fit value, <strong><step></strong> will contain the error estimate (or the negative error estimate if <code>MINOS</code> was successfully used), <strong><pos_error></strong> will have the value <strong>none</strong> if <code>MINOS</code> has not been used, otherwise it will show the positive error estimate.
|
||||
<p></p>
|
||||
@ -507,9 +544,9 @@ There is also the possibility to constrain the parameters to semi-defined interv
|
||||
<p></p>
|
||||
Notes
|
||||
<p></p>
|
||||
<a name="FootNote1note"></a><span class="FootNoteLabel"><a href="MusrFit.html#FootNote1text" class="foswikiCurrentWebHomeLink"> <strong>1</strong> </a></span>: <span class="FootNote"> a standard string without whitespace </span>
|
||||
<a name="FootNote1note"></a><span class="FootNoteLabel"><a href="#FootNote1text"><b>1</b></a></span>: <span class="FootNote"> a standard string without whitespace </span>
|
||||
<p></p>
|
||||
<a name="FootNote2note"></a><span class="FootNoteLabel"><a class="foswikiCurrentWebHomeLink" href="MusrFit.html#FootNote2text"> <strong>2</strong> </a></span>: <span class="FootNote"> According to the <code>MINUIT</code> manual this should be avoided whenever possible! </span>
|
||||
<a name="FootNote2note"></a><span class="FootNoteLabel"><a href="#FootNote2text"><b>2</b></a></span>: <span class="FootNote"> According to the <code>MINUIT</code> manual this should be avoided whenever possible! </span>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
@ -519,15 +556,17 @@ Notes
|
||||
<h2 id="A_4.3_The_THEORY_Block"> 4.3 The THEORY Block </h2>
|
||||
The THEORY block is used to define the fit function. There is a set of predefined functions available. It is also possible to use externally defined functions. How to use them will be explained afterwards, here only the predefined functions are described.
|
||||
<p></p>
|
||||
Theory functions which show a <img class='smily' src='../pub/Main/SmiliesPluginPSI/no.gif' alt='no' title='no' /> are not yet DKS ready, i.e. cannot be run on the GPU if the <code>musrfit</code> / DKS version is installed.
|
||||
<p></p>
|
||||
<span id="TheoryTable"></span>
|
||||
<table border="1" class="foswikiTable" rules="none">
|
||||
<thead>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=0;table=1;up=0#sorted_table">name</a> </th>
|
||||
<th class="foswikiTableCol1"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=1;table=1;up=0#sorted_table">abbreviation</a> </th>
|
||||
<th class="foswikiTableCol2"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=2;table=1;up=0#sorted_table">parameters</a> </th>
|
||||
<th class="foswikiTableCol3"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=3;table=1;up=0#sorted_table">mathematical expression</a> </th>
|
||||
<th rowspan="6" class="foswikiTableCol4 foswikiLastCol"> <a href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=4;table=1;up=0#sorted_table" title="Sort by this column" rel="nofollow">reference</a> </th>
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=0;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">name</a> </th>
|
||||
<th class="foswikiTableCol1"> <a href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=1;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">abbreviation</a> </th>
|
||||
<th class="foswikiTableCol2"> <a href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=2;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">parameters</a> </th>
|
||||
<th class="foswikiTableCol3"> <a href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=3;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">mathematical expression</a> </th>
|
||||
<th class="foswikiTableCol4 foswikiLastCol" rowspan="6"> <a href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=4;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">reference</a> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -566,119 +605,119 @@ The THEORY block is used to define the fit function. There is a set of predefine
|
||||
<td class="foswikiTableCol1"> stg </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\sigma\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_6b6bbc4add4da0bde8220c54594658f3.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\frac{1}{3} + \frac{2}{3} \left[1-(\sigma t)^2\right] \exp\left[-\frac{1}{2}\left(\sigma t\right)^2\right]" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_1f1b2becd9ba1bee3b5d7f897bd8db7e.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI_/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> statGssKTLF </td>
|
||||
<td class="foswikiTableCol1"> sgktlf </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\nu\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_7188605a647615e4fb92cc89274b22a0.png" />, <img alt="\sigma\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_6b6bbc4add4da0bde8220c54594658f3.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="G_{\mathrm{G,LF}}(t) \equiv 1-\frac{2\sigma^2}{(2\pi\nu)^2}\left[1-\exp\left(-\frac{1}{2}\sigma^2t^2\right)\cos(2\pi\nu t)\right]+\frac{2\sigma^4}{(2\pi\nu)^3}\int^t_0 \exp\left(-\frac{1}{2}\sigma^2\tau^2\right)\sin(2\pi\nu\tau)\mathrm{d}\tau" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_e9a0c0aa5d84cb4ea67265a3b06b9af5.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote3text"></a><span class="FootNoteTextLink" title=" R. S. Hayano _et al._, [[http://link.aps.org/doi/10.1103/PhysRevB.20.850][Phys. Rev. B *20* (1979) 850]] "><a class="foswikiCurrentTopicLink" href="#FootNote3note">(4)</a></span> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote3text"></a><span class="FootNoteTextLink" title=" R. S. Hayano _et al._, [[http://link.aps.org/doi/10.1103/PhysRevB.20.850][Phys. Rev. B *20* (1979) 850]] "><a class="foswikiCurrentTopicLink" href="#FootNote3note">(4)</a></span> <img class='smily' src='../pub/Main/SmiliesPluginPSI/no.gif' alt='no' title='no' /> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> dynGssKTLF </td>
|
||||
<td class="foswikiTableCol1"> dgktlf </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\nu\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_7188605a647615e4fb92cc89274b22a0.png" />, <img alt="\sigma\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_6b6bbc4add4da0bde8220c54594658f3.png" />, <img alt="\Gamma\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_f87b1352f663a35bf263bc7e9a214ca3.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\frac{1}{2\pi \imath}\int_{\gamma-\imath\infty}^{\gamma+\imath\infty} \frac{f_{\mathrm{G}}(s+\Gamma)}{1-\Gamma f_{\mathrm{G}}(s+\Gamma)} \exp(s t) \mathrm{d}s,\mathrm{where}\,f_{\mathrm{G}}(s)\equiv \int_0^{\infty}G_{\mathrm{G,LF}}(t)\exp(-s t) \mathrm{d}t" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_cb688f85a062f09bfaff5cf9144860a9.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote4text"></a><span class="FootNoteTextLink" title=" R. S. Hayano _et al._, [[http://link.aps.org/doi/10.1103/PhysRevB.20.850][Phys. Rev. B *20* (1979) 850]]; P. Dalmas de R&eacute;otier and A. Yaouanc, [[http://dx.doi.org/10.1088/0953-8984/4/18/020][J. Phys.: Condens. Matter *4* (1992) 4533]]; A. Keren, [[http://link.aps.org/doi/10.1103/PhysRevB.50.10039][Phys. Rev. B *50* (1994) 10039]] "><a href="#FootNote4note" class="foswikiCurrentTopicLink">(5)</a></span> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote4text"></a><span class="FootNoteTextLink" title=" R. S. Hayano _et al._, [[http://link.aps.org/doi/10.1103/PhysRevB.20.850][Phys. Rev. B *20* (1979) 850]]; P. Dalmas de R&eacute;otier and A. Yaouanc, [[http://dx.doi.org/10.1088/0953-8984/4/18/020][J. Phys.: Condens. Matter *4* (1992) 4533]]; A. Keren, [[http://link.aps.org/doi/10.1103/PhysRevB.50.10039][Phys. Rev. B *50* (1994) 10039]] "><a class="foswikiCurrentTopicLink" href="#FootNote4note">(5)</a></span> <img class='smily' src='../pub/Main/SmiliesPluginPSI/no.gif' alt='no' title='no' /> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> statExpKT </td>
|
||||
<td class="foswikiTableCol1"> sekt </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\lambda\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_020e973cf5b1293c76cb3ecef5a269f8.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\frac{1}{3} + \frac{2}{3} \left[1-\lambda t\right] \exp\left(-\lambda t\right)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_6466a97e4b7c510909bffce51d31c4b9.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote5text"></a><span class="FootNoteTextLink" title=" Y. J. Uemura _et al._, [[http://link.aps.org/doi/10.1103/PhysRevB.31.546][Phys. Rev. B *31* (1985) 546]] "><a href="#FootNote5note" class="foswikiCurrentTopicLink">(6)</a></span> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote5text"></a><span class="FootNoteTextLink" title=" Y. J. Uemura _et al._, [[http://link.aps.org/doi/10.1103/PhysRevB.31.546][Phys. Rev. B *31* (1985) 546]] "><a class="foswikiCurrentTopicLink" href="#FootNote5note">(6)</a></span> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> statExpKTLF </td>
|
||||
<td class="foswikiTableCol1"> sektlf </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\nu\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_7188605a647615e4fb92cc89274b22a0.png" />, <img alt="a\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_26a5ae8799badcc3bcbe1823265a9053.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="1-\frac{a}{2\pi\nu}j_1(2\pi\nu t)\exp\left(-at\right)-\left(\frac{a}{2\pi\nu}\right)^2 \left[j_0(2\pi\nu t)\exp\left(-at\right)-1\right]-a\left[1+\left(\frac{a}{2\pi\nu}\right)^2\right]\int^t_0 \exp\left(-a\tau\right)j_0(2\pi\nu\tau)\mathrm{d}\tau \equiv G_{\mathrm{L,LF}}(t)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_df4770dd7b14577f14410b4f7ab59721.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote6text"></a><span class="FootNoteTextLink" title=" Y. J. Uemura _et al._, [[http://link.aps.org/doi/10.1103/PhysRevB.31.546][Phys. Rev. B *31* (1985) 546]] "><a class="foswikiCurrentTopicLink" href="#FootNote6note">(7)</a></span> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote6text"></a><span class="FootNoteTextLink" title=" Y. J. Uemura _et al._, [[http://link.aps.org/doi/10.1103/PhysRevB.31.546][Phys. Rev. B *31* (1985) 546]] "><a class="foswikiCurrentTopicLink" href="#FootNote6note">(7)</a></span> <img class='smily' src='../pub/Main/SmiliesPluginPSI/no.gif' alt='no' title='no' /> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> dynExpKTLF </td>
|
||||
<td class="foswikiTableCol1"> dektlf </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\nu\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_7188605a647615e4fb92cc89274b22a0.png" />, <img alt="a\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_26a5ae8799badcc3bcbe1823265a9053.png" />, <img alt="\Gamma\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_f87b1352f663a35bf263bc7e9a214ca3.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\frac{1}{2\pi \imath}\int_{\gamma-\imath\infty}^{\gamma+\imath\infty} \frac{f_{\mathrm{L}}(s+\Gamma)}{1-\Gamma f_{\mathrm{L}}(s+\Gamma)} \exp(s t) \mathrm{d}s,\mathrm{where}\,f_{\mathrm{L}}(s)\equiv \int_0^{\infty}G_{\mathrm{L,LF}}(t)\exp(-s t) \mathrm{d}t" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_c5c6dea10611dae1d470a5615869073a.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote7text"></a><span class="FootNoteTextLink" title=" R. S. Hayano _et al._, [[http://link.aps.org/doi/10.1103/PhysRevB.20.850][Phys. Rev. B *20* (1979) 850]]; P. Dalmas de R&eacute;otier and A. Yaouanc, [[http://dx.doi.org/10.1088/0953-8984/4/18/020][J. Phys.: Condens. Matter *4* (1992) 4533]] "><a class="foswikiCurrentTopicLink" href="#FootNote7note">(8)</a></span> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote7text"></a><span class="FootNoteTextLink" title=" R. S. Hayano _et al._, [[http://link.aps.org/doi/10.1103/PhysRevB.20.850][Phys. Rev. B *20* (1979) 850]]; P. Dalmas de R&eacute;otier and A. Yaouanc, [[http://dx.doi.org/10.1088/0953-8984/4/18/020][J. Phys.: Condens. Matter *4* (1992) 4533]] "><a class="foswikiCurrentTopicLink" href="#FootNote7note">(8)</a></span> <img class='smily' src='../pub/Main/SmiliesPluginPSI/no.gif' alt='no' title='no' /> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> combiLGKT </td>
|
||||
<td class="foswikiTableCol1"> lgkt </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\lambda\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_020e973cf5b1293c76cb3ecef5a269f8.png" />, <img alt="\sigma\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_6b6bbc4add4da0bde8220c54594658f3.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\frac{1}{3}+\frac{2}{3}\left(1-\sigma^2 t^2-\lambda t\right)\exp\left(-\frac{\sigma^2t^2}{2}-\lambda t\right)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_95da508ef32b516260a14999eaf14f46.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI_/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> strKT </td>
|
||||
<td class="foswikiTableCol1"> skt </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\sigma\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_6b6bbc4add4da0bde8220c54594658f3.png" />, <img alt="\beta\,(1)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_aad467dd15ac57481f24ada5fbe5d85f.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\frac{1}{3}+\frac{2}{3}\left[1-(\sigma t)^\beta\right] \exp\left[-(\sigma t)^\beta / \beta \right]" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_63b1658426cdac24a0730149c3b5ea80.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote8text"></a><span class="FootNoteTextLink" title=" M.R. Crook and R. Cywinski, [[http://dx.doi.org/10.1088/0953-8984/9/5/018][J. Phys.: Condens. Matter *9* (1997) 1149]] "><a href="#FootNote8note" class="foswikiCurrentTopicLink">(9)</a></span> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote8text"></a><span class="FootNoteTextLink" title=" M.R. Crook and R. Cywinski, [[http://dx.doi.org/10.1088/0953-8984/9/5/018][J. Phys.: Condens. Matter *9* (1997) 1149]] "><a class="foswikiCurrentTopicLink" href="#FootNote8note">(9)</a></span> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> spinGlass </td>
|
||||
<td class="foswikiTableCol1"> spg </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\lambda\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_020e973cf5b1293c76cb3ecef5a269f8.png" />, <img alt="\gamma\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_8aad0e0c2c1f20995c483933a896ca0d.png" />, <img alt="q\,(1)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_16b8c518c1e529e6c963929287ef3a56.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\frac{1}{3}\exp\left(-\sqrt{\frac{4\lambda^2(1-q)t}{\gamma}}\right)+\frac{2}{3}\left(1-\frac{q\lambda^2t^2}{\sqrt{\frac{4\lambda^2(1-q)t}{\gamma}+q\lambda^2t^2}}\right)\exp\left(-\sqrt{\frac{4\lambda^2(1-q)t}{\gamma}+q\lambda^2t^2}\right)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_e35c4217aa50607f25e6eadf9f27f874.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI_/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> rdAnisoHf </td>
|
||||
<td class="foswikiTableCol1"> rahf </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\nu\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_7188605a647615e4fb92cc89274b22a0.png" />, <img alt="\lambda\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_020e973cf5b1293c76cb3ecef5a269f8.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\frac{1}{6}\left(1-\frac{\nu t}{2}\right)\exp\left(-\frac{\nu t}{2}\right)+\frac{1}{3}\left(1-\frac{\nu t}{4}\right)\exp\left(-\frac{\nu t + 2.44949\lambda t}{4}\right)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_f91ff8255a7b8a99c5eefcb2c29f9262.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote9text"></a><span class="FootNoteTextLink" title=" R. E. Turner and D. R. Harshman, [[http://link.aps.org/doi/10.1103/PhysRevB.34.4467][Phys. Rev. B *34* (1986) 4467]] "><a href="#FootNote9note" class="foswikiCurrentTopicLink">(9)</a></span> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote9text"></a><span class="FootNoteTextLink" title=" R. E. Turner and D. R. Harshman, [[http://link.aps.org/doi/10.1103/PhysRevB.34.4467][Phys. Rev. B *34* (1986) 4467]] "><a class="foswikiCurrentTopicLink" href="#FootNote9note">(9)</a></span> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> TFieldCos </td>
|
||||
<td class="foswikiTableCol1"> tf </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\varphi\,(^{\circ})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_61136f20673ad20f955c43e43b8cec9d.png" />, <img alt="\nu\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_7188605a647615e4fb92cc89274b22a0.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\cos\left(2\pi\nu t+\frac{\pi\varphi}{180}\right)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_51757d805f7111ffe6e0b430b6d137c7.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI_/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> internFld </td>
|
||||
<td class="foswikiTableCol1"> if </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\alpha\,(1)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_f266f29ff7212b8d77bf67567eac1fd3.png" />, <img alt="\varphi\,(^{\circ})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_61136f20673ad20f955c43e43b8cec9d.png" />, <img alt="\nu\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_7188605a647615e4fb92cc89274b22a0.png" />, <img alt="\lambda_{\mathrm{T}}\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_49046b617890ffeaca8bc16ae66d0dc5.png" />, <img alt="\lambda_{\mathrm{L}}\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_b0c4a8cbbcf4189b64418b381939a979.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\alpha\,\cos\left(2\pi\nu t+\frac{\pi\varphi}{180}\right)\exp\left(-\lambda_{\mathrm{T}}t\right)+(1-\alpha)\,\exp\left(-\lambda_{\mathrm{L}}t\right)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_1582d158c5651581ca9e800ee698ce9f.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI_/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Bessel </td>
|
||||
<td class="foswikiTableCol1"> b </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\varphi\,(^{\circ})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_61136f20673ad20f955c43e43b8cec9d.png" />, <img alt="\nu\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_7188605a647615e4fb92cc89274b22a0.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="j_0\left(2\pi\nu t+\frac{\pi\varphi}{180}\right)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_cff60a46de8608e97a33bbae7c4e566d.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI_/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> internBsl </td>
|
||||
<td class="foswikiTableCol1"> ib </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\alpha\,(1)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_f266f29ff7212b8d77bf67567eac1fd3.png" />, <img alt="\varphi\,(^{\circ})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_61136f20673ad20f955c43e43b8cec9d.png" />, <img alt="\nu\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_7188605a647615e4fb92cc89274b22a0.png" />, <img alt="\lambda_{\mathrm{T}}\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_49046b617890ffeaca8bc16ae66d0dc5.png" />, <img alt="\lambda_{\mathrm{L}}\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_b0c4a8cbbcf4189b64418b381939a979.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\alpha\,j_0\left(2\pi\nu t+\frac{\pi\varphi}{180}\right)\exp\left(-\lambda_{\mathrm{T}}t\right)+(1-\alpha)\,\exp\left(-\lambda_{\mathrm{L}}t\right)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_23ec8fc398b4e415b86bbd2b65f9a63c.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI_/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> abragam </td>
|
||||
<td class="foswikiTableCol1"> ab </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\sigma\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_6b6bbc4add4da0bde8220c54594658f3.png" />, <img alt="\gamma\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_ebef6cda2881306e993839c1b4bcaa4c.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\exp\left[-\frac{\sigma^2}{\gamma^2}\left(e^{-\gamma t}-1+\gamma t\right)\right]" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_e56be15b7e230ec52a9f6632e552ca4b.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI_/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <img class='smily' src='../pub/Main/SmiliesPluginPSI/skull.gif' alt='dead!' title='dead!' /> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> skewedGss </td>
|
||||
<td class="foswikiTableCol1"> skg </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\varphi\,(^{\circ})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_61136f20673ad20f955c43e43b8cec9d.png" />, <img alt="\nu\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_7188605a647615e4fb92cc89274b22a0.png" />, <img alt="\sigma_{-}\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_bd5c765027d46aa1433dda03f540c17e.png" />, <img alt="\sigma_{+}\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_82adbab00b6a057f04037b44746e33eb.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\frac{\sigma_{-}}{\sigma_{+}+\sigma_{-}}\exp\left[-\frac{\sigma_{-}^2t^2}{2}\right]\left\lbrace\cos\left(2\pi\nu t+\frac{\pi\varphi}{180}\right)+\sin\left(2\pi\nu t+\frac{\pi\varphi}{180}\right)\mathrm{Erfi}\left(\frac{\sigma_{-}t}{\sqrt{2}}\right)\right\rbrace+ \frac{\sigma_{+}}{\sigma_{+}+\sigma_{-}}\exp\left[-\frac{\sigma_{+}^2t^2}{2}\right]\left\lbrace\cos\left(2\pi\nu t+\frac{\pi\varphi}{180}\right)-\sin\left(2\pi\nu t+\frac{\pi\varphi}{180}\right)\mathrm{Erfi}\left(\frac{\sigma_{+}t}{\sqrt{2}}\right)\right\rbrace" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_7f4cd42199fbf712ad5a86f9d94bd698.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a href="http://nemu.web.psi.ch/doc/LEM_Memo/skewedGaussian/skewedGaussian.pdf">memo</a> <span class='foswikiIcon'><img src='../pub/System/DocumentGraphics/pdf.png' width='16' height='16' alt='pdf' /></span> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a href="http://lmu.web.psi.ch/musrfit/memos/skewedGaussian.pdf">memo</a> <span class='foswikiIcon'><img src='../pub/System/DocumentGraphics/pdf.png' width='16' height='16' alt='pdf' /></span> <img class='smily' src='../pub/Main/SmiliesPluginPSI/no.gif' alt='no' title='no' /> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> staticNKZF </td>
|
||||
<td class="foswikiTableCol1"> snkzf </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\Delta_0\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_30b87ca180341a9f8f9a15c1082f7f29.png" />, <img alt="R_b = \Delta_{\mathrm{GbG}}/\Delta_0 \,(\text{1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_5563541e58443a8d18e5bd40d2746e9a.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\frac{1}{3}+\frac{2}{3}\left(\frac{1}{1+R_b^2\Delta_0^2 t^2}\right)^{3/2} \left(1-\frac{\Delta_0^2 t^2}{1+R_b^2\Delta_0^2 t^2}\right)\,\exp\left[-\frac{\Delta_0^2 t^2}{2(1+R_b^2\Delta_0^2 t^2)}\right]" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_d5edc50e5c0ce856d632a5a682e0347f.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote10text"></a><span class="FootNoteTextLink" title=" D.R. Noakes and G.M. Kalvius, [[http://link.aps.org/doi/10.1103/PhysRevB.56.2352][Phys. Rev. B *56* (1997) 2352]]; A. Yaouanc and P. Dalmas de R&eacute;otier "Muon Spin Rotation, Relaxation, and Resonance" Oxford Scientific Publication; simplifying the original formulae by eliminating <latex>\Delta_{\rm eff}</latex> via the identity <latex>\Delta_{\rm eff}^2 = (1+R_b^2) \Delta_0</latex> "><a href="#FootNote10note" class="foswikiCurrentTopicLink">(10)</a></span> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote10text"></a><span class="FootNoteTextLink" title=" D.R. Noakes and G.M. Kalvius, [[http://link.aps.org/doi/10.1103/PhysRevB.56.2352][Phys. Rev. B *56* (1997) 2352]]; A. Yaouanc and P. Dalmas de R&eacute;otier "Muon Spin Rotation, Relaxation, and Resonance" Oxford Scientific Publication; simplifying the original formulae by eliminating <latex>\Delta_{\rm eff}</latex> via the identity <latex>\Delta_{\rm eff}^2 = (1+R_b^2) \Delta_0</latex> "><a class="foswikiCurrentTopicLink" href="#FootNote10note">(10)</a></span> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> staticNKTF </td>
|
||||
@ -692,16 +731,23 @@ The THEORY block is used to define the fit function. There is a set of predefine
|
||||
<td class="foswikiTableCol1"> dnkzf </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\Delta_0\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_30b87ca180341a9f8f9a15c1082f7f29.png" />, <img alt="R_b = \Delta_{\mathrm{GbG}}/\Delta_0\,(\text{1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_b7d61ac387fd12b956816be1c6c9a577.png" />, <img alt="\nu_c\,(\text{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_c4bdea6bbc03bcca6d713519e7bab071.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\sqrt{\frac{1}{1+4 R_b^2\Delta_0^2 \Theta(t)}}\,\exp\left[-\frac{2 \Delta_0^2 \Theta(t)}{1+4 R_b^2\Delta_0^2 \Theta(t)}\right]\quad,\, \Theta(t) = \frac{\exp(-\nu_c t) - 1 - \nu_c t}{\nu_c^2}" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_af36b27f661f5b8a569f5672d18f8844.png" /> </td>
|
||||
<td class="foswikiTableCol4"> see note 10 </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> see note 10 </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> dynamicNKTF </td>
|
||||
<td class="foswikiTableCol1"> dnktf </td>
|
||||
<td class="foswikiTableCol2"> <img alt="\varphi\,(^{\circ})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_61136f20673ad20f955c43e43b8cec9d.png" />, <img alt="\nu\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_7188605a647615e4fb92cc89274b22a0.png" />, <img alt="\Delta_0\,(\mu\text{s}^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_30b87ca180341a9f8f9a15c1082f7f29.png" />, <img alt="R_b = \Delta_{\mathrm{GbG}}/\Delta_0\,(\text{1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_b7d61ac387fd12b956816be1c6c9a577.png" />, <img alt="\nu_c\,(\text{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_c4bdea6bbc03bcca6d713519e7bab071.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\sqrt{\frac{1}{1+2 R_b^2\Delta_0^2 \Theta(t)}}\,\exp\left[-\frac{\Delta_0^2 \Theta(t)}{1+2 R_b^2\Delta_0^2 \Theta(t)}\right]\, \cos(\nu t + \varphi) \quad,\, \Theta(t) = \frac{\exp(-\nu_c t) - 1 - \nu_c t}{\nu_c^2}" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_c7fe4fcfd08f7d4ca8638228bb83b4f9.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> see note 10 </td>
|
||||
<td class="foswikiTableCol3"> <img alt="\sqrt{\frac{1}{1+2 R_b^2\Delta_0^2 \Theta(t)}}\,\exp\left[-\frac{\Delta_0^2 \Theta(t)}{1+2 R_b^2\Delta_0^2 \Theta(t)}\right]\, \cos(2\pi \nu t + \varphi) \quad,\, \Theta(t) = \frac{\exp(-\nu_c t) - 1 - \nu_c t}{\nu_c^2}" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_466fcb53c3da4f84fb2d12e03eef9439.png" /> </td>
|
||||
<td class="foswikiTableCol4"> see note 10 </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> muMinusExpTF </td>
|
||||
<td class="foswikiTableCol1"> mmsetf </td>
|
||||
<td class="foswikiTableCol2"> <img alt="N_0\,(1)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_fcadee367bc447abe1119778b6fa1a14.png" />, <img alt="\tau\,(\mu s)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_545dca52882440763fc3ac973a36852a.png" />, <img alt="A\,(1)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_facd1d42ae8b62aa1043316d525d3af4.png" />, <img alt="\lambda\,(\mu s^{-1})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_319772b46bc6861fbe24a28e59530ade.png" />, <img alt="\varphi\,(^{\circ})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_61136f20673ad20f955c43e43b8cec9d.png" />, <img alt="\nu\,(\mathrm{MHz})" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_7188605a647615e4fb92cc89274b22a0.png" /> </td>
|
||||
<td class="foswikiTableCol3"> <img alt="N_0 \exp(-t/\tau) \left[ 1 + A \exp(-\lambda t) \cos(2\pi \nu t + \varphi) \right]" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_57316547e3b34dd9d537b722e4a0e176.png" /> </td>
|
||||
<td class="foswikiTableCol4 foswikiLastCol"> <a name="FootNote11text"></a><span class="FootNoteTextLink" title=" This function is explicit for <latex>\mu^-</latex>! Do not try to use it for <latex>\mu^+</latex>. "><a class="foswikiCurrentTopicLink" href="#FootNote11note">(11)</a></span> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol foswikiLast"> polynom </td>
|
||||
<td class="foswikiTableCol1 foswikiLast"> p </td>
|
||||
<td class="foswikiTableCol2 foswikiLast"> <img alt="t_0\,([t])" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_20651e8230c7eb66c452bb1f01dc4633.png" />, <img alt="a_0\,(1),\,a_1\,(1),\,\dots,\,a_{n}\,(1)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_03095d51eca2bcb1dda113e995238fc0.png" /> </td>
|
||||
@ -711,7 +757,7 @@ The THEORY block is used to define the fit function. There is a set of predefine
|
||||
</tbody></table>
|
||||
<p></p>
|
||||
<p></p>
|
||||
Every theory function has to be written on a single line. It starts with the theory function name or its abbreviation followed by the parameters. Consecutive lines of theory functions will be multiplied. If theory functions need to be added, a line with a <strong>+</strong> has to separate them. The parameters are given as the numbers assigned to them in the <a href="#TheFitparameterBlock" class="foswikiCurrentTopicLink">FITPARAMETER block</a>. The order of the parameters is given in the <a class="foswikiCurrentTopicLink" href="#TheoryTable">table above</a>. As an example
|
||||
Every theory function has to be written on a single line. It starts with the theory function name or its abbreviation followed by the parameters. Consecutive lines of theory functions will be multiplied. If theory functions need to be added, a line with a <strong>+</strong> has to separate them. The parameters are given as the numbers assigned to them in the <a class="foswikiCurrentTopicLink" href="#TheFitparameterBlock">FITPARAMETER block</a>. The order of the parameters is given in the <a class="foswikiCurrentTopicLink" href="#TheoryTable">table above</a>. As an example
|
||||
<pre>
|
||||
simplExpo 4
|
||||
</pre>
|
||||
@ -731,19 +777,21 @@ which means <i>A</i>(<i>t</i>) = <i>p</i><sub>2</sub> e<sup>-<i>p</i><sub>3</sub
|
||||
<p></p>
|
||||
Notes
|
||||
<p></p>
|
||||
<a name="FootNote3note"></a><span class="FootNoteLabel"><a href="MusrFit.html#FootNote3text" class="foswikiCurrentWebHomeLink"> <strong>4</strong> </a></span>: <span class="FootNote"> R. S. Hayano <em>et al.</em>, <a href="http://link.aps.org/doi/10.1103/PhysRevB.20.850">Phys. Rev. B <strong>20</strong> (1979) 850</a> </span>
|
||||
<a name="FootNote3note"></a><span class="FootNoteLabel"><a href="#FootNote3text"><b>4</b></a></span>: <span class="FootNote"> R. S. Hayano <em>et al.</em>, <a href="http://link.aps.org/doi/10.1103/PhysRevB.20.850">Phys. Rev. B <strong>20</strong> (1979) 850</a> </span>
|
||||
<p></p>
|
||||
<a name="FootNote4note"></a><span class="FootNoteLabel"><a href="MusrFit.html#FootNote4text" class="foswikiCurrentWebHomeLink"> <strong>5</strong> </a></span>: <span class="FootNote"> R. S. Hayano <em>et al.</em>, <a href="http://link.aps.org/doi/10.1103/PhysRevB.20.850">Phys. Rev. B <strong>20</strong> (1979) 850</a>; P. Dalmas de Réotier and A. Yaouanc, <a href="http://dx.doi.org/10.1088/0953-8984/4/18/020">J. Phys.: Condens. Matter <strong>4</strong> (1992) 4533</a>; A. Keren, <a href="http://link.aps.org/doi/10.1103/PhysRevB.50.10039">Phys. Rev. B <strong>50</strong> (1994) 10039</a> </span>
|
||||
<a name="FootNote4note"></a><span class="FootNoteLabel"><a href="#FootNote4text"><b>5</b></a></span>: <span class="FootNote"> R. S. Hayano <em>et al.</em>, <a href="http://link.aps.org/doi/10.1103/PhysRevB.20.850">Phys. Rev. B <strong>20</strong> (1979) 850</a>; P. Dalmas de Réotier and A. Yaouanc, <a href="http://dx.doi.org/10.1088/0953-8984/4/18/020">J. Phys.: Condens. Matter <strong>4</strong> (1992) 4533</a>; A. Keren, <a href="http://link.aps.org/doi/10.1103/PhysRevB.50.10039">Phys. Rev. B <strong>50</strong> (1994) 10039</a> </span>
|
||||
<p></p>
|
||||
<a name="FootNote5note"></a><span class="FootNoteLabel"><a class="foswikiCurrentWebHomeLink" href="MusrFit.html#FootNote5text"> <strong>6</strong> </a></span>,<a name="FootNote6note"></a><span class="FootNoteLabel"><a class="foswikiCurrentWebHomeLink" href="MusrFit.html#FootNote6text"> <strong>7</strong> </a></span>: <span class="FootNote"> Y. J. Uemura <em>et al.</em>, <a href="http://link.aps.org/doi/10.1103/PhysRevB.31.546">Phys. Rev. B <strong>31</strong> (1985) 546</a> </span>
|
||||
<a name="FootNote5note"></a><span class="FootNoteLabel"><a href="#FootNote5text"><b>6</b></a></span>,<a name="FootNote6note"></a><span class="FootNoteLabel"><a href="#FootNote6text"><b>7</b></a></span>: <span class="FootNote"> Y. J. Uemura <em>et al.</em>, <a href="http://link.aps.org/doi/10.1103/PhysRevB.31.546">Phys. Rev. B <strong>31</strong> (1985) 546</a> </span>
|
||||
<p></p>
|
||||
<a name="FootNote7note"></a><span class="FootNoteLabel"><a class="foswikiCurrentWebHomeLink" href="MusrFit.html#FootNote7text"> <strong>8</strong> </a></span>: <span class="FootNote"> R. S. Hayano <em>et al.</em>, <a href="http://link.aps.org/doi/10.1103/PhysRevB.20.850">Phys. Rev. B <strong>20</strong> (1979) 850</a>; P. Dalmas de Réotier and A. Yaouanc, <a href="http://dx.doi.org/10.1088/0953-8984/4/18/020">J. Phys.: Condens. Matter <strong>4</strong> (1992) 4533</a> </span>
|
||||
<a name="FootNote7note"></a><span class="FootNoteLabel"><a href="#FootNote7text"><b>8</b></a></span>: <span class="FootNote"> R. S. Hayano <em>et al.</em>, <a href="http://link.aps.org/doi/10.1103/PhysRevB.20.850">Phys. Rev. B <strong>20</strong> (1979) 850</a>; P. Dalmas de Réotier and A. Yaouanc, <a href="http://dx.doi.org/10.1088/0953-8984/4/18/020">J. Phys.: Condens. Matter <strong>4</strong> (1992) 4533</a> </span>
|
||||
<p></p>
|
||||
<a name="FootNote8note"></a><span class="FootNoteLabel"><a href="MusrFit.html#FootNote8text" class="foswikiCurrentWebHomeLink"> <strong>9</strong> </a></span>: <span class="FootNote"> M.R. Crook and R. Cywinski, <a href="http://dx.doi.org/10.1088/0953-8984/9/5/018">J. Phys.: Condens. Matter <strong>9</strong> (1997) 1149</a> </span>
|
||||
<a name="FootNote8note"></a><span class="FootNoteLabel"><a href="#FootNote8text"><b>9</b></a></span>: <span class="FootNote"> M.R. Crook and R. Cywinski, <a href="http://dx.doi.org/10.1088/0953-8984/9/5/018">J. Phys.: Condens. Matter <strong>9</strong> (1997) 1149</a> </span>
|
||||
<p></p>
|
||||
<a name="FootNote9note"></a><span class="FootNoteLabel"><a href="MusrFit.html#FootNote9text" class="foswikiCurrentWebHomeLink"> <strong>9</strong> </a></span>: <span class="FootNote"> R. E. Turner and D. R. Harshman, <a href="http://link.aps.org/doi/10.1103/PhysRevB.34.4467">Phys. Rev. B <strong>34</strong> (1986) 4467</a> </span>
|
||||
<a name="FootNote9note"></a><span class="FootNoteLabel"><a href="#FootNote9text"><b>9</b></a></span>: <span class="FootNote"> R. E. Turner and D. R. Harshman, <a href="http://link.aps.org/doi/10.1103/PhysRevB.34.4467">Phys. Rev. B <strong>34</strong> (1986) 4467</a> </span>
|
||||
<p></p>
|
||||
<a name="FootNote10note"></a><span class="FootNoteLabel"><a href="MusrFit.html#FootNote10text" class="foswikiCurrentWebHomeLink"> <strong>10</strong> </a></span>: <span class="FootNote"> D.R. Noakes and G.M. Kalvius, <a href="http://link.aps.org/doi/10.1103/PhysRevB.56.2352">Phys. Rev. B <strong>56</strong> (1997) 2352</a>; A. Yaouanc and P. Dalmas de Réotier "Muon Spin Rotation, Relaxation, and Resonance" Oxford Scientific Publication; simplifying the original formulae by eliminating <img alt="\Delta_{\rm eff}" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_663c0beda820045042826686eaeefb6a.png" /> via the identity <img alt="\Delta_{\rm eff}^2 = (1+R_b^2) \Delta_0" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_81abadaf16877e78e8bb9317a16cd704.png" /> </span>
|
||||
<a name="FootNote10note"></a><span class="FootNoteLabel"><a href="#FootNote10text"><b>10</b></a></span>: <span class="FootNote"> D.R. Noakes and G.M. Kalvius, <a href="http://link.aps.org/doi/10.1103/PhysRevB.56.2352">Phys. Rev. B <strong>56</strong> (1997) 2352</a>; A. Yaouanc and P. Dalmas de Réotier "Muon Spin Rotation, Relaxation, and Resonance" Oxford Scientific Publication; simplifying the original formulae by eliminating <img alt="\Delta_{\rm eff}" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_663c0beda820045042826686eaeefb6a.png" /> via the identity <img alt="\Delta_{\rm eff}^2 = (1+R_b^2) \Delta_0" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_81abadaf16877e78e8bb9317a16cd704.png" /> </span>
|
||||
<p></p>
|
||||
<a name="FootNote11note"></a><span class="FootNoteLabel"><a href="#FootNote11text"><b>11</b></a></span>: <span class="FootNote"> This function is explicit for <img alt="\mu^-" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_d65298a2553c29f00e58481f3465086a.png" />! Do not try to use it for <img alt="\mu^+" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_8eb55dc360ede9ff12fa65dc47046bc0.png" />. </span>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
@ -751,7 +799,7 @@ Notes
|
||||
<p></p>
|
||||
<span id="MaPs"></span>
|
||||
<h3 id="A_4.3.1_Maps"> 4.3.1 Maps </h3>
|
||||
In case different runs are fitted simultaneously, it is very often necessary that for a given theory function, some parameters are run-dependent. An example could be a temperature scan, where the parameters (asymmetry, depolarization rates, etc.) will depend on the temperature. In order to handle such situations, a mapping of parameters in the THEORY block is possible. That means, instead of a parameter number, the mapping of the parameter is given. The definition of the mapping block is part of the <a href="#TheRunBlock" class="foswikiCurrentTopicLink">RUN block</a> and will be described there. For example
|
||||
In case different runs are fitted simultaneously, it is very often necessary that for a given theory function, some parameters are run-dependent. An example could be a temperature scan, where the parameters (asymmetry, depolarization rates, etc.) will depend on the temperature. In order to handle such situations, a mapping of parameters in the THEORY block is possible. That means, instead of a parameter number, the mapping of the parameter is given. The definition of the mapping block is part of the <a class="foswikiCurrentTopicLink" href="#TheRunBlock">RUN block</a> and will be described there. For example
|
||||
<pre>
|
||||
THEORY
|
||||
asymmetry 2
|
||||
@ -783,7 +831,7 @@ A THEORY block including a user function may then look like
|
||||
<p></p>
|
||||
<span id="TheFunctionsBlock"></span>
|
||||
<h2 id="A_4.4_The_FUNCTIONS_Block"> 4.4 The FUNCTIONS Block </h2>
|
||||
<code>musrfit</code> utilizes a <a href="http://boost-spirit.com/home/">powerful parser</a>. Therefore, it is possible to define even rather complicated functional relations between the fit parameters and use these in the THEORY block (and <a href="#NormFun" class="foswikiCurrentTopicLink">in one exceptional case</a> also in the RUN-block). Supported is the use of basic arithmetics: <dl>
|
||||
<code>musrfit</code> utilizes a <a href="http://boost-spirit.com/home/">powerful parser</a>. Therefore, it is possible to define even rather complicated functional relations between the fit parameters and use these in the THEORY block (and <a class="foswikiCurrentTopicLink" href="#NormFun">in one exceptional case</a> also in the RUN-block). Supported is the use of basic arithmetics: <dl>
|
||||
<dt> + </dt><dd> Addition
|
||||
</dd> <dt> - </dt><dd> Subtraction
|
||||
</dd> <dt> * </dt><dd> Multiplication
|
||||
@ -798,9 +846,9 @@ Furthermore, some constants are predefined and might also be used: <ul>
|
||||
</li> <li> <strong>pi</strong> = π = 3.14159265358979323846
|
||||
</li></ul>
|
||||
<p></p>
|
||||
The fit parameters are accessed either directly through <code><b>parα</b></code>, where α is the number of the parameter in the FITPARAMETER block, e.g. <code><b>par5</b></code> or through a mapping with <code><b>mapδ</b></code>, where δ specifies the mapping number in the RUN block as explained <a href="#TheRunBlock" class="foswikiCurrentTopicLink">below</a>.
|
||||
The fit parameters are accessed either directly through <code><b>parα</b></code>, where α is the number of the parameter in the FITPARAMETER block, e.g. <code><b>par5</b></code> or through a mapping with <code><b>mapδ</b></code>, where δ specifies the mapping number in the RUN block as explained <a class="foswikiCurrentTopicLink" href="#TheRunBlock">below</a>.
|
||||
<p></p>
|
||||
The defined functions are denoted as <code><b>funα</b></code>, where α is the function number, i.e. <code><b>fun1</b></code>, <code><b>fun2</b></code>, etc. and have to be placed separately on one line each. Afterwards they might be used in the <a href="#TheTheoryBlock" class="foswikiCurrentTopicLink">THEORY block</a>.
|
||||
The defined functions are denoted as <code><b>funα</b></code>, where α is the function number, i.e. <code><b>fun1</b></code>, <code><b>fun2</b></code>, etc. and have to be placed separately on one line each. Afterwards they might be used in the <a class="foswikiCurrentTopicLink" href="#TheTheoryBlock">THEORY block</a>.
|
||||
<p></p>
|
||||
It follows an example to illustrate the usage of functions in the THEORY block. The total asymmetry of a signal consisting of two parts should be a fit parameter. The fraction of each of the parts will then be expressed as a function of the total asymmetry.
|
||||
<p></p>
|
||||
@ -829,7 +877,7 @@ It follows an example to illustrate the usage of functions in the THEORY block.
|
||||
|
||||
</pre>
|
||||
<p></p>
|
||||
In the case that functions have to be fitted which cannot be defined in the FUNCTIONS block, the functions can be implemented externally and made usable through the <a href="#UserFunctions" class="foswikiCurrentTopicLink">userFunc mechanism</a>.
|
||||
In the case that functions have to be fitted which cannot be defined in the FUNCTIONS block, the functions can be implemented externally and made usable through the <a class="foswikiCurrentTopicLink" href="#UserFunctions">userFunc mechanism</a>.
|
||||
<p></p>
|
||||
<span id="TheGlobalBlock"></span>
|
||||
<h2 id="A_4.5_The_GLOBAL_Block"> 4.5 The GLOBAL Block </h2>
|
||||
@ -940,8 +988,8 @@ The RUN block is used to collect the data needed for a particular run to be fitt
|
||||
<table border="1" class="foswikiTable" rules="none">
|
||||
<thead>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=0;table=2;up=0#sorted_table">RUN-block tag</a> </th>
|
||||
<th class="foswikiTableCol1 foswikiLastCol"> <a href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=1;table=2;up=0#sorted_table" title="Sort by this column" rel="nofollow">comment</a> </th>
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=0;table=2;up=0#sorted_table" rel="nofollow" title="Sort by this column">RUN-block tag</a> </th>
|
||||
<th class="foswikiTableCol1 foswikiLastCol"> <a href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=1;table=2;up=0#sorted_table" rel="nofollow" title="Sort by this column">comment</a> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -1003,12 +1051,12 @@ etc.
|
||||
addt0 t0AddRun1Forward t0AddRun1Backward
|
||||
addt0 t0AddRun2Forward t0AddRun2Backward
|
||||
etc.
|
||||
</pre> How will the background and data ranges be handled in this situation? First, the ADDRUN's will be shifted in time such that all the t0's have the same channel/bin number. Subsequently, the runs will be added. The background/data range is applied to this summed up new histogram. ADDRUN is not available for the fit type 'Non-μSR Fit' (sorry <img class='smily' src='../pub/Main/SmiliesPluginPSI_/no.gif' alt='no' title='no' /> ).
|
||||
</pre> How will the background and data ranges be handled in this situation? First, the ADDRUN's will be shifted in time such that all the t0's have the same channel/bin number. Subsequently, the runs will be added. The background/data range is applied to this summed up new histogram. ADDRUN is not available for the fit type 'Non-μSR Fit' (sorry <img class='smily' src='../pub/Main/SmiliesPluginPSI/no.gif' alt='no' title='no' /> ).
|
||||
<p></p>
|
||||
<span id="FitTypes"></span> <dl>
|
||||
<dt> fittype (required if not already defined in the GLOBAL block) </dt><dd> This tag is used to indicate which type of fit is wished. The supported fit types are: <dl>
|
||||
<dt> 0 </dt><dd> Single Histogram Fit
|
||||
</dd> <dt> 1 </dt><dd> Single Histogram RRF Fit (only for online analysis<a name="FootNote11text"></a><span class="FootNoteTextLink" title="for a more detailed discussion about the shortcomings of RRF fits see the RRF memo found under &lt;musrfit&gt;/doc/memo/rrf"><a class="foswikiCurrentTopicLink" href="#FootNote11note">(l)</a></span> )
|
||||
</dd> <dt> 1 </dt><dd> Single Histogram RRF Fit (only for online analysis<a name="FootNote12text"></a><span class="FootNoteTextLink" title="for a more detailed discussion about the shortcomings of RRF fits see the RRF memo found under &lt;musrfit&gt;/doc/memo/rrf"><a class="foswikiCurrentTopicLink" href="#FootNote12note">(l)</a></span> )
|
||||
</dd> <dt> 2 </dt><dd> Asymmetry Fit
|
||||
</dd> <dt> 3 </dt><dd> Asymmetry RRF Fit (only for online analysis. See comment added for Single Histogram RRF Fit)
|
||||
</dd> <dt> 4 </dt><dd> MuMinus Fit. This is a single histogram fit especially for negative muon μSR
|
||||
@ -1027,7 +1075,7 @@ alpha 1
|
||||
</dd></dl>
|
||||
<p></p>
|
||||
<span id="NormFun"></span> <dl>
|
||||
<dt> norm (fit type 0) </dt><dd> Number of the fit parameter that represents the normalization constant <i>N</i><sub>0</sub> of the histogram; the value of this parameter is given either per nanosecond or per bin (see <a href="#ScaleNzero" class="foswikiCurrentTopicLink">below</a>). It is possible to substitute the parameter number by a function here (<u>and only here in a RUN block</u>), for instance to relate <i>N</i><sub>0</sub>s of different histograms through an α parameter. Example for a norm defined by fit parameter number 12:<pre>
|
||||
<dt> norm (fit type 0) </dt><dd> Number of the fit parameter that represents the normalization constant <i>N</i><sub>0</sub> of the histogram; the value of this parameter is given either per nanosecond or per bin (see <a class="foswikiCurrentTopicLink" href="#ScaleNzero">below</a>). It is possible to substitute the parameter number by a function here (<u>and only here in a RUN block</u>), for instance to relate <i>N</i><sub>0</sub>s of different histograms through an α parameter. Example for a norm defined by fit parameter number 12:<pre>
|
||||
norm 12
|
||||
</pre> Example for a norm defined in function number 3:<pre>
|
||||
norm fun3
|
||||
@ -1040,7 +1088,7 @@ norm fun3
|
||||
<dt> lifetime (fit type 0) </dt><dd> Fit parameter representing the lifetime of the muon. If it is not specified the value τ<sub>μ</sub>=2.197019 μs is used in the calculations.
|
||||
</dd></dl>
|
||||
<p></p> <dl>
|
||||
<dt> lifetimecorrection (fit type 0) <img class='smily' src='../pub/Main/SmiliesPluginPSI_/eek.gif' alt='eek!' title='eek!' /> <strong>obsolete</strong> <img class='smily' src='../pub/Main/SmiliesPluginPSI_/eek.gif' alt='eek!' title='eek!' /> </dt><dd> Does not accept any arguments. If present, the output in <code>musrview</code> is corrected for the exponential decay of the muon. This item is <strong>obsolete</strong> in the RUN block and will be transferred to the <a href="#ThePlotBlock" class="foswikiCurrentTopicLink">PLOT block</a>, which allows switching between histogram view and asymmetry view much quicker.
|
||||
<dt> lifetimecorrection (fit type 0) <img class='smily' src='../pub/Main/SmiliesPluginPSI/eek.gif' alt='eek!' title='eek!' /> <strong>obsolete</strong> <img class='smily' src='../pub/Main/SmiliesPluginPSI/eek.gif' alt='eek!' title='eek!' /> </dt><dd> Does not accept any arguments. If present, the output in <code>musrview</code> is corrected for the exponential decay of the muon. This item is <strong>obsolete</strong> in the RUN block and will be transferred to the <a class="foswikiCurrentTopicLink" href="#ThePlotBlock">PLOT block</a>, which allows switching between histogram view and asymmetry view much quicker.
|
||||
</dd></dl>
|
||||
<p></p> <dl>
|
||||
<dt> map </dt><dd> On this line the mapping of run-dependent parameters is done. Parameter numbers given here may be accessed through <code><b>map1</b></code>, <code><b>map2</b></code>, etc. in the THEORY and FUNCTIONS blocks (see also <a class="foswikiCurrentTopicLink" href="#MaPs">here</a>). The first ten maps are always present and have the value 0 if not used; however, the total number of maps is not restricted!
|
||||
@ -1067,7 +1115,7 @@ norm fun3
|
||||
</pre>
|
||||
</dd></dl>
|
||||
<p></p> <dl>
|
||||
<dt> backgr.fix (fit types 0, 1, 2) </dt><dd> A fixed constant background in counts per nanosecond or per bin (see <a href="#ScaleNzero" class="foswikiCurrentTopicLink">below</a>) may be given at this point. The background is specified for all histograms in the order <i>B</i><sub>f</sub> <i>B</i><sub>b</sub> [<i>B</i><sub>r</sub> <i>B</i><sub>l</sub>]. If this keyword is present, any information on a <strong>background</strong> line is ignored.
|
||||
<dt> backgr.fix (fit types 0, 1, 2) </dt><dd> A fixed constant background in counts per nanosecond or per bin (see <a class="foswikiCurrentTopicLink" href="#ScaleNzero">below</a>) may be given at this point. The background is specified for all histograms in the order <i>B</i><sub>f</sub> <i>B</i><sub>b</sub> [<i>B</i><sub>r</sub> <i>B</i><sub>l</sub>]. If this keyword is present, any information on a <strong>background</strong> line is ignored.
|
||||
</dd></dl>
|
||||
<p></p> <dl>
|
||||
<dt> background (fit type 0, 1) </dt><dd> The numbers of the first and the last channel of an interval from which the constant background should be calculated are specified here. In case histograms are being grouped, the specified channels are interpreted with respect to the first histogram. Example:<pre>
|
||||
@ -1105,7 +1153,7 @@ data 207 7994 167 8009
|
||||
</dd></dl>
|
||||
<p></p>
|
||||
<span id="AddTimeZero"></span> <dl>
|
||||
<dt> addt0 (fit type 0, 1, 4) </dt><dd> The number of the time-zero channel of the histogram. If grouping of histograms is present (see <a href="#ForwardHisto" class="foswikiCurrentTopicLink">forward</a>) the same syntax as for <a href="#TimeZero" class="foswikiCurrentTopicLink">t0</a> applies. If one addt0 is given, the total number of addt0's needs to be equal to the total number of ADDRUN's!
|
||||
<dt> addt0 (fit type 0, 1, 4) </dt><dd> The number of the time-zero channel of the histogram. If grouping of histograms is present (see <a class="foswikiCurrentTopicLink" href="#ForwardHisto">forward</a>) the same syntax as for <a class="foswikiCurrentTopicLink" href="#TimeZero">t0</a> applies. If one addt0 is given, the total number of addt0's needs to be equal to the total number of ADDRUN's!
|
||||
</dd></dl>
|
||||
<p></p> <dl>
|
||||
<dt> addt0 (fit types 2) </dt><dd> The numbers of time-zero channels of the histograms in the order <i>t</i><sub>0,f</sub> <i>t</i><sub>0,b</sub> [<i>t</i><sub>0,r</sub> <i>t</i><sub>0,l</sub>]. If grouping of histograms is present (see <a class="foswikiCurrentTopicLink" href="#ForwardHisto">forward</a>) the same syntax as for <a class="foswikiCurrentTopicLink" href="#TimeZero">t0</a> applies. If one addt0 is given, the total number of addt0's needs to be equal to the total number of ADDRUN's!
|
||||
@ -1114,7 +1162,7 @@ data 207 7994 167 8009
|
||||
<dt> xy-data (fit type 8) </dt><dd> Specification of the data from an ASCII or DB file which should be used as <i>x</i> and <i>y</i> data (in this order). For a simple ASCII file the column numbers are used, in the case of a DB file one can either specify the variable numbers or the name of the variables as given in the DB header.
|
||||
</dd></dl>
|
||||
<p></p> <dl>
|
||||
<dt> fit </dt><dd> The range of data that should be considered when the fitting is done. For the μSR fit types <strong>0</strong>, <strong>2</strong>, and <strong>4</strong> here the starting and end times are given in microseconds. For the non-μSR fit type <strong>8</strong> the starting and end points of the fitting range are given in the units of the <i>x</i> data.<br><span class='foswikiRedFG'>In case the fit range specified here is larger than the <a href="#DataRange" class="foswikiCurrentTopicLink">data range</a> (in any direction), eventually the <a class="foswikiCurrentTopicLink" href="#DataRange">data range</a> will be used as fit range.</span> An example for a μSR fit:<pre>
|
||||
<dt> fit </dt><dd> The range of data that should be considered when the fitting is done. For the μSR fit types <strong>0</strong>, <strong>2</strong>, and <strong>4</strong> here the starting and end times are given in microseconds. For the non-μSR fit type <strong>8</strong> the starting and end points of the fitting range are given in the units of the <i>x</i> data.<br><span class='foswikiRedFG'>In case the fit range specified here is larger than the <a class="foswikiCurrentTopicLink" href="#DataRange">data range</a> (in any direction), eventually the <a class="foswikiCurrentTopicLink" href="#DataRange">data range</a> will be used as fit range.</span> An example for a μSR fit:<pre>
|
||||
fit 0.2 8.5
|
||||
</pre>Which means that the fitting window will span from 0.2 to 8.5 microseconds.<br> Another possibility for the μSR fits is to give the fit range in bins, rather than time. The syntax is then: <pre>fit fgb+<n0> lgb-<n1>,</pre> where <strong>fgb</strong> and <strong>lgb</strong> are label tags which refer to the 'first good bin' and the 'last good bin' defined either in the <code><b>data</b></code> tag of the run block, data file, are estimated based on T0. <n0> and <n1> are offsets (given in bins) allowing to change the fit window compared to the data window. An example: <pre>fit fgb+150 lgb-1332</pre>
|
||||
</dd></dl>
|
||||
@ -1162,7 +1210,7 @@ Sometimes it is necessary to guide <code>MINUIT2</code> to the global optimum. F
|
||||
<p></p>
|
||||
It is important to understand that before <strong>MINOS</strong> is called, all the fixed parameters need to be released and another minimizer command (<strong>MINIMIZE</strong>, <strong>MIGRAD</strong>, or <strong>SIMPLEX</strong>) needs to be in place, otherwise <code>musrfit</code> will assume that the still fixed parameters have to be handled as constant parameters, i.e. setting the <step> value of the parameter to zero.
|
||||
<p></p>
|
||||
For even more complex fitting the additional command <strong>FIT_RANGE RESET | <i>t</i><sub>start</sub> <i>t</i><sub>end</sub> | <i>t</i><sub>s1</sub> <i>t</i><sub>e1</sub> <i>t</i><sub>s2</sub> <i>t</i><sub>e2</sub> ... <i>t</i><sub>s<i>n</i></sub> <i>t</i><sub>e<i>n</i></sub></strong> is provided. It allows to change the fit range during different iterations. The command <strong>FIT_RANGE <i>t</i><sub>start</sub> <i>t</i><sub>end</sub></strong> changes the current fit range for <code>all</code> the runs present in the msr file. <strong>FIT_RANGE RESET</strong> will restore to the original fit ranges as provided in the <a href="#TheRunBlock" class="foswikiCurrentTopicLink">RUN block</a>. If for each run of the msr file an individual fit range should be used, the third option applies. Here <strong><i>n</i></strong> has to correspond to the number of runs in the RUN block.
|
||||
For even more complex fitting the additional command <strong>FIT_RANGE RESET | <i>t</i><sub>start</sub> <i>t</i><sub>end</sub> | <i>t</i><sub>s1</sub> <i>t</i><sub>e1</sub> <i>t</i><sub>s2</sub> <i>t</i><sub>e2</sub> ... <i>t</i><sub>s<i>n</i></sub> <i>t</i><sub>e<i>n</i></sub></strong> is provided. It allows to change the fit range during different iterations. The command <strong>FIT_RANGE <i>t</i><sub>start</sub> <i>t</i><sub>end</sub></strong> changes the current fit range for <code>all</code> the runs present in the msr file. <strong>FIT_RANGE RESET</strong> will restore to the original fit ranges as provided in the <a class="foswikiCurrentTopicLink" href="#TheRunBlock">RUN block</a>. If for each run of the msr file an individual fit range should be used, the third option applies. Here <strong><i>n</i></strong> has to correspond to the number of runs in the RUN block.
|
||||
<p></p>
|
||||
As for the run block, there is a 2nd flavor how the <strong>FIT_RANGE</strong> can be changed, namely giving the fit range in bins, i.e. <strong>FIT_RANGE RESET | fgb+<n0> lgb-<n1> | fgb+<n00> lgb-<n01> fgb+<n10> lgb-<n11> ... fgb+<nN0> lgb-<nN1></strong> where <strong>N</strong> is the number of available run blocks. The idea is inline with the above syntax and the syntax describe for the fit range (<strong>fit</strong>) of the <a class="foswikiCurrentTopicLink" href="#TheRunBlock">RUN block</a>.
|
||||
<p></p>
|
||||
@ -1199,9 +1247,44 @@ For debug purposes it is possible to force MINUIT2 to print out additional infor
|
||||
</pre>
|
||||
Here the <code>MINOS</code> command will print out lot of additional information to the standard output. Notice there are 2 <code>SAVE</code> commands here. This will write the result of <code>MIGRAD</code> to the <code>MINUIT2.OUTPUT</code> file and at the end <em>append</em> the <code>MINOS</code> results to this file.
|
||||
<p></p>
|
||||
<h3 id="A_4.7.1_DKS_extensions_of_the_COMMANDS_block_enabling_GPU_and_general_OpenCL_support"> 4.7.1 DKS extensions of the COMMANDS block enabling GPU and general OpenCL support </h3>
|
||||
<p></p>
|
||||
In case you are running the <code>musrfit</code> / DKS version, there are a couple commands which allow you to control the way how the fit shall be performed. These commands are:
|
||||
<span class='foswikiMaroonFG'>
|
||||
<table border="1" class="foswikiTable" rules="none">
|
||||
<thead>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=0;table=3;up=0#sorted_table" rel="nofollow" title="Sort by this column">Command</a> </th>
|
||||
<th class="foswikiTableCol1 foswikiLastCol"> <a href="https://intranet.psi.ch/MUSR/MusrFit?cover=print;sortcol=1;table=3;up=0#sorted_table" rel="nofollow" title="Sort by this column">Purpose</a> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> OpenMP </td>
|
||||
<td class="foswikiTableCol1 foswikiLastCol"> tries to run multi-threading via OpenMP if available </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> CUDA </td>
|
||||
<td class="foswikiTableCol1 foswikiLastCol"> tries to run the fit on a NVIDIA card as the Tesla K40c </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> OpenCL-CPU </td>
|
||||
<td class="foswikiTableCol1 foswikiLastCol"> tries to run multi-threading via OpenCL on the CPU. This is useful for macOS </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol foswikiLast"> OpenCL-GPU </td>
|
||||
<td class="foswikiTableCol1 foswikiLastCol foswikiLast"> tries to run multi-threading via OpenCL on the GPU. This is used for AMD cards, but also works for NVIDIA </td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
<p></p>
|
||||
OpenMP is the default if none of these tags are found in the COMMANDS block.
|
||||
</span>
|
||||
<p></p>
|
||||
In case the defined THEORY is <strong>not</strong> ready to run on the accelerator, <code>musrfit</code> will fall back to the default behaviour. In the <a class="foswikiCurrentTopicLink" href="#TheoryTable">THEORY table</a> all the functions which are currently <strong>not</strong> GPU ready are marked by <img class='smily' src='../pub/Main/SmiliesPluginPSI/no.gif' alt='no' title='no' /> in the reference column.
|
||||
<p></p>
|
||||
<span id="TheFourierBlock"></span>
|
||||
<h2 id="A_4.8_The_FOURIER_Block"> 4.8 The FOURIER Block </h2>
|
||||
The Fourier transform is done and the results are plotted within <code>musrview</code> —as input data the actual data shown in <code>musrview</code> is used. In the FOURIER block of the msr file all necessary parameters for calculating and presenting the Fourier transform of the data specified in the <a href="#ThePlotBlock" class="foswikiCurrentTopicLink">PLOT block</a> is given. If the FOURIER block is not present in the msr file, either the parameters set in the <a class="foswikiCurrentTopicLink" href="#MusrfitStartupXml">XML startup file</a> or the system defaults are taken when the Fourier transform is performed. The block starts with the FOURIER keyword and may contain the following entries on the successive lines: <dl>
|
||||
The Fourier transform is done and the results are plotted within <code>musrview</code> —as input data the actual data shown in <code>musrview</code> is used. In the FOURIER block of the msr file all necessary parameters for calculating and presenting the Fourier transform of the data specified in the <a class="foswikiCurrentTopicLink" href="#ThePlotBlock">PLOT block</a> is given. If the FOURIER block is not present in the msr file, either the parameters set in the <a class="foswikiCurrentTopicLink" href="#MusrfitStartupXml">XML startup file</a> or the system defaults are taken when the Fourier transform is performed. The block starts with the FOURIER keyword and may contain the following entries on the successive lines: <dl>
|
||||
<dt> units </dt><dd> Here is specified in which domain the Fourier-transformed data is presented. One may choose between the fields (<strong>Gauss</strong>) or (<strong>Tesla</strong>), the frequency (<strong>MHz</strong>), and the angular-frequency domain (<strong>Mc/s</strong>).
|
||||
</dd> <dt> fourier_power </dt><dd> It is possible (but not necessary) to set the number of data points used for the Fourier transform here. As argument the exponent <i>n</i><21 of a power of 2 is accepted. The number of data points is then 2<sup><i>n</i></sup>. <strong>Attention:</strong> If the number of points given here is bigger than the actual number of available data points, the input data vector is filled with zeros until the number of requested points is reached (zero padding)!
|
||||
</dd> <dt> dc-corrected </dt><dd> a flag to remove a potential DC-offset of the signal. Allowed entries are <code>dc-corrected true | 1 | false | 0</code>.
|
||||
@ -1218,7 +1301,7 @@ The Fourier transform is done and the results are plotted within <code>musrview<
|
||||
</dd> <dt> phase </dt><dd> The phase of the Fourier transform is plotted.
|
||||
</dd></dl>
|
||||
</dd> <dt> phase </dt><dd> The initial phase of the input data is given here in degrees. Optionally the phase parameter from the FITPARAMETER block can be given, e.g. <code><b>par3</b></code>, which would take the value of parameter number 3.
|
||||
</dd> <dt> range_for_phase_correction </dt><dd> An interval within which the initial phase should be optimized automatically can be specified here. The interval is given by its start and end values in degrees.
|
||||
</dd> <dt> range_for_phase_correction </dt><dd> An interval in Fourier space given in units as define with the 'units' tag, or the tag 'all' in which case the range given under 'range' will be used. The given interval will be used for an automatic phasing of the real Fourier transform. This will allow to add real Fourier spectra coherently.
|
||||
</dd> <dt> range </dt><dd> The plotting range is set here. The interval is specified through its start and end points given in the units set after the <strong>units</strong> tag.
|
||||
</dd></dl>
|
||||
<p></p>
|
||||
@ -1230,7 +1313,7 @@ Altogether, a possible FOURIER block might look like that:
|
||||
apodization NONE
|
||||
plot real_and_imag
|
||||
phase 22.6 # par3
|
||||
#range_for_phase_correction 10.0 40.0
|
||||
range_for_phase_correction all
|
||||
range 0.0 17.03
|
||||
</pre>
|
||||
<p></p>
|
||||
@ -1238,7 +1321,7 @@ Altogether, a possible FOURIER block might look like that:
|
||||
<p></p>
|
||||
Notes
|
||||
<p></p>
|
||||
<a name="FootNote11note"></a><span class="FootNoteLabel"><a href="MusrFit.html#FootNote11text" class="foswikiCurrentWebHomeLink"> <strong>l</strong> </a></span>: <span class="FootNote">for a more detailed discussion about the shortcomings of RRF fits see the RRF memo found under <musrfit>/doc/memo/rrf</span>
|
||||
<a name="FootNote12note"></a><span class="FootNoteLabel"><a href="#FootNote12text"><b>l</b></a></span>: <span class="FootNote">for a more detailed discussion about the shortcomings of RRF fits see the RRF memo found under <musrfit>/doc/memo/rrf</span>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
@ -1246,7 +1329,7 @@ Notes
|
||||
<p></p>
|
||||
<span id="ThePlotBlock"></span>
|
||||
<h2 id="A_4.9_The_PLOT_Block"> 4.9 The PLOT Block </h2>
|
||||
The PLOT block is intended to collect all the information needed for the graphical presentation of the data and fits using <code>musrview</code>. The PLOT keyword at the beginning of the block is followed by a number which indicates the plot type. The plot types match the <a href="#FitTypes" class="foswikiCurrentTopicLink">fit types</a>. Additionally, it is possible to provide information using the following keywords: <dl>
|
||||
The PLOT block is intended to collect all the information needed for the graphical presentation of the data and fits using <code>musrview</code>. The PLOT keyword at the beginning of the block is followed by a number which indicates the plot type. The plot types match the <a class="foswikiCurrentTopicLink" href="#FitTypes">fit types</a>. Additionally, it is possible to provide information using the following keywords: <dl>
|
||||
<dt> lifetimecorrection </dt><dd> Does not accept any arguments. If present, the output in <code>musrview</code> is corrected for the exponential decay of the muon. Only relevant for (type 0).
|
||||
</dd> <dt> runs </dt><dd> The numbers of the runs to be plotted have to be put here. The runs are numbered according to their appearance in the RUN block.
|
||||
</dd> <dt> range </dt><dd> Here it is possible to define the plotting range explicitly. Depending on the plot type the following settings are allowed where the times are given in microseconds and the <i>N</i> in counts (type 0, 4) or in counts/nsec (type 0): <dl>
|
||||
@ -1261,8 +1344,8 @@ The PLOT block is intended to collect all the information needed for the graphic
|
||||
</dd></dl>
|
||||
</dd> <dt> use_fit_ranges [ <i>y</i><sub>min</sub> <i>y</i><sub>max</sub>] </dt><dd> The fit ranges of the individual runs are used to present the data. Optionally, an ordinate range can be provided.
|
||||
</dd> <dt> view_packing </dt><dd> The data are presented in the packing given here rather than the binning used for the fit. <strong>WARNING</strong>: This is a global option and applies to <strong>all</strong> PLOT-blocks.
|
||||
</dd> <dt> logx </dt><dd> Will present the time axis in a logarithmic scale. So far no checking of negative and zero-valued data is performed <img class='smily' src='../pub/Main/SmiliesPluginPSI_/wink.gif' alt='wink' title='wink' />
|
||||
</dd> <dt> logy </dt><dd> Will present the axis of ordinates in a logarithmic scale. So far no checking of negative and zero-valued data is performed <img class='smily' src='../pub/Main/SmiliesPluginPSI_/wink.gif' alt='wink' title='wink' />
|
||||
</dd> <dt> logx </dt><dd> Will present the time axis in a logarithmic scale. So far no checking of negative and zero-valued data is performed <img class='smily' src='../pub/Main/SmiliesPluginPSI/wink.gif' alt='wink' title='wink' />
|
||||
</dd> <dt> logy </dt><dd> Will present the axis of ordinates in a logarithmic scale. So far no checking of negative and zero-valued data is performed <img class='smily' src='../pub/Main/SmiliesPluginPSI/wink.gif' alt='wink' title='wink' />
|
||||
</dd> <dt> rrf_packing <code>value</code> </dt><dd> In the rotating-reference-frame (RRF) representation, this will be the value for the packing. <strong>WARNING</strong>: For the time being, this is a global option and applies to <strong>all</strong> PLOT blocks.
|
||||
</dd> <dt> rrf_freq <code>value</code> <code>unit</code> </dt><dd> This entry provides the RRF "frequency" given by the <code>value</code> and the <code>unit</code> which can be: <code>kHz</code>, <code>MHz</code>, <code>Mc/s</code>, <code>G</code>, or <code>T</code>.
|
||||
</dd> <dt> rrf_phase <code>value</code> </dt><dd> A phase of the RRF can be provided, either as a value in degrees, or as a <code>parX</code>, e.g. <code>par4</code>, where <code>X</code> is supposed to be the phase parameter number in the FITPARAMETER block.
|
||||
@ -1286,7 +1369,7 @@ The PLOT block is intended to collect all the information needed for the graphic
|
||||
<span id="TheStatisticBlock"></span>
|
||||
<h2 id="A_4.10_The_STATISTIC_Block"> 4.10 The STATISTIC Block </h2>
|
||||
The STATISTIC block is the last block of a msr file. It contains some information on the fit: the date and time as well as the absolute and normalized values of χ<sup>2</sup> and the number of degrees of freedom in the fit.<br>
|
||||
If enabled in the <a class="foswikiCurrentTopicLink" href="#MusrfitStartupXml">XML file</a> for χ<sup>2</sup>-<a href="#SingleHistogramFit" class="foswikiCurrentTopicLink">single-histogram fits</a> also <a href="http://en.wikipedia.org/wiki/Pearson's_chi-square_test">Pearson's χ<sup>2</sup></a> will be written to the STATISTIC block.<br>
|
||||
If enabled in the <a class="foswikiCurrentTopicLink" href="#MusrfitStartupXml">XML file</a> for χ<sup>2</sup>-<a class="foswikiCurrentTopicLink" href="#SingleHistogramFit">single-histogram fits</a> also <a href="http://en.wikipedia.org/wiki/Pearson's_chi-square_test">Pearson's χ<sup>2</sup></a> will be written to the STATISTIC block.<br>
|
||||
These information only have a meaning if the fitting procedure has been executed at least once and the fit has converged!
|
||||
<p></p>
|
||||
<span id="TheFitTypes"></span>
|
||||
@ -1359,7 +1442,7 @@ and plotted together with the function given in the THEORY block.
|
||||
<p></p>
|
||||
<span id="AsymmetryRrfFit"></span>
|
||||
<h2 id="A_5.4_Asymmetry_RRF_Fit"> 5.4 Asymmetry RRF Fit </h2>
|
||||
In a first step, the unbinned asymmetry is formed as described for the asymmetry fit. Afterwards the RRF transformation is carried out, i.e. point 4. and 5. as sketched in the single histogramm RRF fit. The same reservations as for the single histogram RRF fit apply: <strong>if you not urgently need it: do not use it! There are better ways to deal with the analysis of high frequency data!</strong>
|
||||
For asymmetry RRF Fit (fit type <strong>3</strong>) two histograms are needed. In a first step, the unbinned asymmetry is formed as described for the asymmetry fit. Afterwards the RRF transformation is carried out, i.e. point 4. and 5. as sketched in the single histogramm RRF fit. The same reservations as for the single histogram RRF fit apply: <strong>if you not urgently need it: do not use it! There are better ways to deal with the analysis of high frequency data!</strong>
|
||||
<p></p>
|
||||
<span id="MuMinusFit"></span>
|
||||
<h2 id="A_5.5_Negative_Muon_SR_Fit"> 5.5 Negative Muon μSR Fit </h2>
|
||||
@ -1374,7 +1457,7 @@ where <img alt="i" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_c46
|
||||
</dd> <dt> <img alt="N_{\rm bkg}(t)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_5e07a020de661906573e8fed8eff32bf.png" /> </dt><dd> <img alt="N_{\rm bkg}(t)= N_{\rm bkg,0} + \sum_k N_{\rm bkg,k} \cos(k \omega_{\rm cyclotron} t)" class="mmpImage" src="../pub/MUSR/MusrFit/_MathModePlugin_53e41adf70ef506cc7668f8593a1b501.png" /> the background
|
||||
</dd></dl>
|
||||
<p></p>
|
||||
Since MuMinus is quite generic, the full functional depends has to be written in the <a href="#TheTheoryBlock" class="foswikiCurrentTopicLink">THEORY Block</a>.
|
||||
Since MuMinus is quite generic, the full functional depends has to be written in the <a class="foswikiCurrentTopicLink" href="#TheTheoryBlock">THEORY Block</a>.
|
||||
<p></p>
|
||||
<span id="NonMusrFit"></span>
|
||||
<h2 id="A_5.6_Non_45SR_Fit"> 5.6 Non-μSR Fit </h2>
|
||||
@ -1501,11 +1584,11 @@ make -f Makefile.TMyLibrary install
|
||||
</pre>
|
||||
In case of a custom installation some paths in the Makefile might have to be changed. For further information about the <code>ROOT</code> dictionary mechanism please refer to the <a href="http://root.cern.ch/drupal/content/interacting-shared-libraries-rootcint">documentation</a>.
|
||||
<p></p>
|
||||
After installing the shared library the defined user function might be used in <code>musrfit</code> as described <a href="#UserFunctions" class="foswikiCurrentTopicLink">above</a>.
|
||||
After installing the shared library the defined user function might be used in <code>musrfit</code> as described <a class="foswikiCurrentTopicLink" href="#UserFunctions">above</a>.
|
||||
<p></p>
|
||||
Good luck! <img class='smily' src='../pub/Main/SmiliesPluginPSI_/wink.gif' alt='wink' title='wink' />
|
||||
Good luck! <img class='smily' src='../pub/Main/SmiliesPluginPSI/wink.gif' alt='wink' title='wink' />
|
||||
<p></p>
|
||||
Finally, please be aware of the <a href="#UserFunctionRemark" class="foswikiCurrentTopicLink">remark</a> at the end of this section.
|
||||
Finally, please be aware of the <a class="foswikiCurrentTopicLink" href="#UserFunctionRemark">remark</a> at the end of this section.
|
||||
<p></p>
|
||||
<span id="UserFcnWithGlobal"></span>
|
||||
<h2 id="A_6.2_User_Function_with_global_user_45function_45object_access"> 6.2 User Function with global user-function-object access </h2>
|
||||
@ -1517,7 +1600,7 @@ are independent entities. This means if the msr file contains <em>n</em> run blo
|
||||
If the user function is performing CPU-demanding calculations this is rather inefficient.
|
||||
<p></p>
|
||||
<span id="GlobalUserFunctionFigure"></span>
|
||||
<img class='imagePlain imagePlain_none ' src='../pub/MUSR/MusrFit/igp_9eac78831993c6c274146a8f75bc15fe_Theory-Tree-with-UserFcn.png' alt='theory tree with user function and global user function objects' title='Theory-Tree-with-UserFcn.png' width='800' height='566' style='' />
|
||||
<img class='imagePlain imagePlain_none ' src='../pub/MUSR/MusrFit/igp_96bafe0a153bdf59fbc40ada0300f686_Theory-Tree-with-UserFcn.png' alt='theory tree with user function and global user function objects' title='Theory-Tree-with-UserFcn.png' width='800' height='566' style='' />
|
||||
<p></p>
|
||||
Therefore, it is possible to associate to each user function (<code>uFx</code>) a global user-function object (<code>g_uFx</code>). The idea is the following: If <code>uFx</code> needs to
|
||||
perform very time-consuming calculations (e.g. calculate an Abrikosov vortex lattice or the nonlocal response of a superconductor in the Meissner state) this can be
|
||||
@ -1593,7 +1676,7 @@ private:
|
||||
};
|
||||
</pre>
|
||||
<p></p>
|
||||
Compared to the <a href="#UserFcnWithoutGlobal" class="foswikiCurrentTopicLink">user function <strong>without</strong> global objects</a>, here the <code>NeedGlobalPart()</code> method returns <code>true</code> meaning that a global user-function object will be needed. Furthermore, the methods <code>SetGlobalPart(vector<void*> &globalPart, UInt_t idx)</code> and <code>GlobalPartIsValid()</code> now need to be implemented.
|
||||
Compared to the <a class="foswikiCurrentTopicLink" href="#UserFcnWithoutGlobal">user function <strong>without</strong> global objects</a>, here the <code>NeedGlobalPart()</code> method returns <code>true</code> meaning that a global user-function object will be needed. Furthermore, the methods <code>SetGlobalPart(vector<void*> &globalPart, UInt_t idx)</code> and <code>GlobalPartIsValid()</code> now need to be implemented.
|
||||
The method <code>SetGlobalPart(vector<void*> &globalPart, UInt_t idx)</code> is used to link the <code>fGlobalUserFcn</code> to the global user object. This routine will look like:
|
||||
<p></p>
|
||||
<pre class="cplusplus">
|
||||
@ -1650,7 +1733,7 @@ This way the efficiency of the user function can be increased by almost a factor
|
||||
<p></p>
|
||||
<hr />
|
||||
<span id="UserFunctionRemark"></span>
|
||||
<span class='foswikiRedFG'><b>Important remark:</b></span> If <code>musrfit</code> <a href="MusrFitSetup.html#MusrFitInstallation">has been built</a> with parallelization support (default for <code>GCC</code> ≥ 4.2) it should be taken care of the thread safety of the user-function <strong>operator()</strong>. During the function optimization of <code>musrfit</code> the <strong>operator()</strong> is called once for any given set of parameters in order to allow the safe execution of any calculation. Within the <a href="#SingleHistogramFit" class="foswikiCurrentTopicLink">single-histogram</a> and <a class="foswikiCurrentTopicLink" href="#AsymmetryFit">asymmetry</a> fits the calculation of χ<sup>2</sup> or the log-likelihood is parallelized and the <strong>operator()</strong> is expected to evaluate to reasonable values for a fixed set of parameters (but changing <i>t</i>) beginning with the second function call.
|
||||
<span class='foswikiRedFG'><b>Important remark:</b></span> If <code>musrfit</code> <a href="MusrFitSetup.html#MusrFitInstallation">has been built</a> with parallelization support (default for <code>GCC</code> ≥ 4.2) it should be taken care of the thread safety of the user-function <strong>operator()</strong>. During the function optimization of <code>musrfit</code> the <strong>operator()</strong> is called once for any given set of parameters in order to allow the safe execution of any calculation. Within the <a class="foswikiCurrentTopicLink" href="#SingleHistogramFit">single-histogram</a> and <a class="foswikiCurrentTopicLink" href="#AsymmetryFit">asymmetry</a> fits the calculation of χ<sup>2</sup> or the log-likelihood is parallelized and the <strong>operator()</strong> is expected to evaluate to reasonable values for a fixed set of parameters (but changing <i>t</i>) beginning with the second function call.
|
||||
In case this cannot be ensured, the parallelization can be disabled by <strong>--disable-omp</strong> on the <a href="MusrFitSetup.html#MusrFitInstallation">configure level</a> of the program installation.
|
||||
<hr />
|
||||
<p></p>
|
||||
@ -1669,11 +1752,11 @@ For reporting bugs or requesting new features and improvements please use the <a
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a class="foswikiCurrentWebHomeLink" href="WebHome.html">WebHome</a><span class='foswikiSeparator'> > </span>MusrFit <br />
|
||||
Topic revision: <span class='patternRevInfo'>22 Jan 2016, <a href="https://intranet.psi.ch/Main/AndreasSuter">AndreasSuter</a></span></div>
|
||||
Topic revision: <span class='patternRevInfo'>23 Aug 2017, <a href="https://intranet.psi.ch/Main/AndreasSuter">AndreasSuter</a></span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:andre.lichtsteiner@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.MusrFit'>Send feedback</a></div></div></div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:thomas.buecklers@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.MusrFit'>Send feedback</a></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1687,6 +1770,5 @@ Topic revision: <span class='patternRevInfo'>22 Jan 2016, <a href="https://intr
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrFit?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:46 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrFit?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:42:20 GMT -->
|
||||
</html>
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en">
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrFitAcknowledgements?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:23 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrFitAcknowledgements?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:56 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="../pub/System/HeadlinesPlugin/style.css" type="text/css" media="all" />
|
||||
<title> MUSR :: MusrFitAcknowledgements</title>
|
||||
@ -14,14 +14,14 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<link rel="icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/MusrFitAcknowledgements?t=1453475522" type="application/x-wiki" title="edit MusrFitAcknowledgements" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/MusrFitAcknowledgements?t=1528465297" type="application/x-wiki" title="edit MusrFitAcknowledgements" />
|
||||
<meta name="TEXT_NUM_TOPICS" content="Number of topics:" />
|
||||
<meta name="TEXT_MODIFY_SEARCH" content="Modify search" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRsshtml.html" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRss" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<style type="text/css" media="all">
|
||||
@import url('../pub/System/PatternSkinTheme/layout.css');
|
||||
@import url('../pub/System/PatternSkinTheme2009/style.css');
|
||||
@ -102,13 +102,13 @@
|
||||
<!--<![endif]-->
|
||||
<!--JQUERYPLUGIN-->
|
||||
<!--JQUERYPLUGIN::MIGRATE-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI-->
|
||||
<!--JQUERYPLUGIN::LIVEQUERY-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
</head>
|
||||
<body class="foswikiNoJs patternViewPage patternPrintPage">
|
||||
@ -122,16 +122,19 @@
|
||||
<div class="patternContent"><div class="foswikiTopic"> <h1 id="Acknowledgements_45_61_61musrfit_61_61"> Acknowledgements - <code><b>musrfit</b></code> </h1>
|
||||
<p></p> <dl>
|
||||
<dt> Bastian M. Wojek </dt><dd> I am very much indebted to <a href="http://www.fsf.org/register_form?referrer=8369">BMW</a> for his rigorous testing of <code><a href="MusrFit.html">musrfit</a></code>, his many useful suggestions, contributions, and for the largest part of the <a class="foswikiCurrentWebHomeLink" href="WebHome.html">user manual of <code>musrfit</code></a> which makes it accessible to a broader audience! Many thanks Bastian!
|
||||
</dd></dl>
|
||||
<p></p> <dl>
|
||||
<dt> Uldis Locans </dt><dd> I am very much indebted to Uldis work on <a href="CiteMusrFit.html">DKS</a> enabling the GPU support for <code><a href="MusrFit.html">musrfit</a></code>. His kind, calm, and extremely competent way to deal with his projects as well as to deal with the chaos of physicists way to think is admirable. Many thanks Uldis!
|
||||
</dd></dl> </div>
|
||||
<p></p>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a href="WebHome.html" class="foswikiCurrentWebHomeLink">WebHome</a> > <a href="MusrFit.html">MusrFit</a><span class='foswikiSeparator'> > </span>MusrFitAcknowledgements <br />
|
||||
Topic revision: <span class='patternRevInfo'>03 Jul 2015, suter_a</span></div>
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a class="foswikiCurrentWebHomeLink" href="WebHome.html">WebHome</a> > <a href="MusrFit.html">MusrFit</a><span class='foswikiSeparator'> > </span>MusrFitAcknowledgements <br />
|
||||
Topic revision: <span class='patternRevInfo'>23 Aug 2017, <a href="https://intranet.psi.ch/Main/AndreasSuter">AndreasSuter</a></span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:andre.lichtsteiner@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.MusrFitAcknowledgements'>Send feedback</a></div></div></div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:thomas.buecklers@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.MusrFitAcknowledgements'>Send feedback</a></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -145,6 +148,5 @@ Topic revision: <span class='patternRevInfo'>03 Jul 2015, suter_a</span></div>
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrFitAcknowledgements?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:23 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrFitAcknowledgements?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:56 GMT -->
|
||||
</html>
|
390
doc/html/user/MUSR/MusrFitSetupDKS.html
Normal file
@ -0,0 +1,390 @@
|
||||
<!DOCTYPE html><html lang="en">
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrFitSetupDKS?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:56 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="../pub/System/HeadlinesPlugin/style.css" type="text/css" media="all" />
|
||||
<title> MUSR :: MusrFitSetupDKS</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.5, user-scalable=yes" />
|
||||
<meta name="mobile-web-app-capable" content="yes" />
|
||||
<meta name="mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<link rel="icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/MusrFitSetupDKS?t=1528465296" type="application/x-wiki" title="edit MusrFitSetupDKS" />
|
||||
<meta name="TEXT_NUM_TOPICS" content="Number of topics:" />
|
||||
<meta name="TEXT_MODIFY_SEARCH" content="Modify search" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRss" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<style type="text/css" media="all">
|
||||
@import url('../pub/System/PatternSkinTheme/layout.css');
|
||||
@import url('../pub/System/PatternSkinTheme2009/style.css');
|
||||
@import url('../pub/System/PatternSkinTheme2009/colors.css');
|
||||
</style>
|
||||
<link rel='stylesheet' href='../pub/System/PatternSkinTheme2009/column_left.css' media='all' type='text/css' />
|
||||
<link rel='stylesheet' href='../pub/System/PatternSkinTheme2009/variant_twiki.css' media='all' type='text/css' /><style type="text/css" media="all">
|
||||
/* Styles that are set using variables */
|
||||
.patternBookView .foswikiTopRow,
|
||||
.patternWebIndicator,
|
||||
.patternWebIndicator a {
|
||||
background-color:#D0D0D0;
|
||||
}
|
||||
#patternTopBarContents { background-image:url(../pub/System/PatternSkin/header5.gif); background-repeat:repeat-x;}
|
||||
#patternTopBarContents { background-color:#ffffff;}
|
||||
.patternBookView {
|
||||
border-color:#D0D0D0;
|
||||
}
|
||||
.patternPreviewPage #patternMain {
|
||||
/* uncomment to set the preview image */
|
||||
/*background-image:url("/pub/System/PreviewBackground/preview2bg.gif");*/
|
||||
}
|
||||
</style>
|
||||
<style type="text/css" media="all">
|
||||
@import url("../pub/System/PsiSkin/psicolors.css");
|
||||
@import url("../pub/System/PsiSkin/psistyle.css");
|
||||
.foswikiTopic {overflow: hidden;}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
<link rel='stylesheet' href='../pub/System/PatternSkin/print.css' media='all' type='text/css' />
|
||||
<!--[if IE 7 ]><style type="text/css" media="screen">
|
||||
.foswikiAttachments,
|
||||
.foswikiForm,
|
||||
.foswikiHelp,
|
||||
.foswikiPreviewArea,
|
||||
.patternPreviewPage .foswikiForm,
|
||||
.patternSigLine,
|
||||
.patternToolBar,
|
||||
.patternTop,
|
||||
.patternTopicAction,
|
||||
#patternSideBarContents .patternLeftBarPersonal,
|
||||
#patternSideBarContents h2,
|
||||
#patternSideBarContents li,
|
||||
#patternTopBarButtons ul {
|
||||
height:1%;
|
||||
}
|
||||
#patternSideBarContents .patternLeftBarPersonal {
|
||||
width:100%;
|
||||
}
|
||||
.foswikiFormStep {
|
||||
height:100%;
|
||||
}
|
||||
#foswikiLogin {
|
||||
margin-left: 25%;
|
||||
margin-right: 25%;
|
||||
}
|
||||
#foswikiLogin .foswikiFormSteps {
|
||||
width:auto;
|
||||
}
|
||||
#foswikiLogin input[type="text"],
|
||||
#foswikiLogin input[type="password"] {
|
||||
width: auto;
|
||||
}
|
||||
.patternShadow {
|
||||
border:10px solid #fff;
|
||||
margin-top:10px;
|
||||
margin-bottom:10px;
|
||||
border:2px solid #ccc;
|
||||
}
|
||||
</style><![endif]-->
|
||||
<!--[if lte IE 9]>
|
||||
|
||||
<![endif]-->
|
||||
<!--[if gt IE 9]><!-->
|
||||
|
||||
<!--<![endif]-->
|
||||
<!--JQUERYPLUGIN-->
|
||||
<!--JQUERYPLUGIN::MIGRATE-->
|
||||
<!--JQUERYPLUGIN::LIVEQUERY-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JQUERYPLUGIN::METADATA-->
|
||||
|
||||
<!--JQUERYPLUGIN::CHILI--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
</head>
|
||||
<body class="foswikiNoJs patternViewPage patternPrintPage">
|
||||
<span id="PageTop"></span><div class="foswikiPage"><div id="patternScreen">
|
||||
<div id="patternPageShadow">
|
||||
<div id="patternPage">
|
||||
<div id="patternOuter" class="clear">
|
||||
<div id="patternFloatWrap">
|
||||
<div id="patternMain">
|
||||
<div id="patternMainContents">
|
||||
<div class="patternContent"><div class="foswikiTopic"> <h1 id="Setting_up_61musrfit_61_47_61DKS_61:_high_speed_fitting_with_GPU_39s"> Setting up <code>musrfit</code> / <code>DKS</code>: high speed fitting with GPU's </h1>
|
||||
<p></p>
|
||||
<div class="foswikiToc" id="foswikiTOC"> <ul>
|
||||
<li> <a href="MusrFitSetupDKS.html#Setting_up_61musrfit_61_47_61DKS_61:_high_speed_fitting_with_GPU_39s"> Setting up musrfit / DKS: high speed fitting with GPU's </a>
|
||||
</li> <li> <a href="MusrFitSetupDKS.html#A_1_Setting_up_61_61musrfit_47DKS_61_61_for_a_Tesla_K40c_40NVIDIA_41"> 1 Setting up musrfit/DKS for a Tesla K40c (NVIDIA) </a> <ul>
|
||||
<li> <a href="MusrFitSetupDKS.html#A_1.1_Driver_Installation_for_the_Tesla_K40c"> 1.1 Driver Installation for the Tesla K40c </a>
|
||||
</li> <li> <a href="MusrFitSetupDKS.html#A_1.2_Installation_of_CUDA"> 1.2 Installation of CUDA </a>
|
||||
</li> <li> <a href="MusrFitSetupDKS.html#A_1.3_Installation_of_DKS"> 1.3 Installation of DKS </a>
|
||||
</li> <li> <a href="MusrFitSetupDKS.html#A_1.4_Installation_of_61musrfit_61_for_DKS"> 1.4 Installation of musrfit for DKS </a> <ul>
|
||||
<li> <a href="MusrFitSetupDKS.html#A_1.4.1_Install_via_61_61automake_61_61"> 1.4.1 Install via automake </a>
|
||||
</li> <li> <a href="MusrFitSetupDKS.html#A_1.4.2_Install_via_61_61cmake_61_61"> 1.4.2 Install via cmake </a>
|
||||
</li></ul>
|
||||
</li></ul>
|
||||
</li> <li> <a href="MusrFitSetupDKS.html#A_2_Setting_up_61_61musrfit_47DKS_61_61_for_a_AMD_Graphic_Card_40Radeon_R9_390X_41"> 2 Setting up musrfit/DKS for a AMD Graphic Card (Radeon R9 390X) </a> <ul>
|
||||
<li> <a href="MusrFitSetupDKS.html#A_2.1_Driver_Installation_for_an_AMD_Graphic_Card_44_e.g._Radeon_R9_390X"> 2.1 Driver Installation for an AMD Graphic Card, e.g. Radeon R9 390X </a>
|
||||
</li> <li> <a href="MusrFitSetupDKS.html#A_2.2_AMD_APP_Software_Development_Kit_40SDK_41_to_enable_OpenCL_support"> 2.2 AMD APP Software Development Kit (SDK) to enable OpenCL support </a>
|
||||
</li> <li> <a href="MusrFitSetupDKS.html#A_2.3_Installation_of_DKS_and_61musrfit_61"> 2.3 Installation of DKS and musrfit </a>
|
||||
</li></ul>
|
||||
</li> <li> <a href="MusrFitSetupDKS.html#A_3_Setting_up_61_61musrfit_47DKS_61_61_for_macOS_for_OpenCL_support"> 3 Setting up musrfit/DKS for macOS for OpenCL support </a>
|
||||
</li></ul>
|
||||
</div>
|
||||
<p></p>
|
||||
In the years 2016/2017 we explored ways to speed up current fitting frameworks, especially <code>musrfit</code>. This allows now to analyze histogram sets of high field spectrometers like HAL-9500 at PSI without the error-prone RRF fitting (see U. Locans and A. Suter, " <code>musrfit</code> - Real Time Parameter Fitting Using GPUs", accepted for the proceedings of the muSR2017 conference in Sapporo, and the Memo from A. Suter, "Rotating Reference Frame Fits", in the <code>musrfit</code> source code). At the same time it can help to speed-up elaborate global fits tremendously, and dealing properly with muonium. It also allows Apple Mac users to speed up their fitting code on the CPU. Currently it is not straight forward to get <code>musrfit</code> multi-threaded under macOS since Apple doesn't be default support OpenMP. DKS enables <code>musrfit</code> to utilize OpenCL instead which is present on macOS by default.
|
||||
<p></p>
|
||||
<strong>Warning</strong>: before you run into the shop to buy a gamer graphic card or a Tesla card, make sure that you have an appropriate server with a sufficiently strong power supply!
|
||||
<p></p>
|
||||
<strong>However, the current <code>musrfit/DKS</code> version doesn't yet support all theory functions on the GPU.</strong> In case the theory function is not yet available for the GPU, <code>musrfit</code> will fall back to the CPU implementation.
|
||||
<p></p>
|
||||
Conceptually the setup of <code>musrfit/DKS</code> is as following: <ol>
|
||||
<li> install the latest hardware driver for your graphic card.
|
||||
</li> <li> install the GPU SDK which enables number crunching (CUDA for NVIDIA, OpenCL for AMD)
|
||||
</li> <li> install DKS
|
||||
</li> <li> install the musrfit version which is DKS ready
|
||||
</li></ol>
|
||||
<p></p>
|
||||
In the following the description for the installation of <code>musrfit/DKS</code> for the following systems will be discussed in some more detail: <ul>
|
||||
<li> NVIDIA Tesla K40c
|
||||
</li> <li> AMD Graphic Card (Radeon R9 390X)
|
||||
</li> <li> macOS in order to get OpenCL support
|
||||
</li></ul>
|
||||
<p></p>
|
||||
The <strong>usage</strong> of <code>musrfit</code> with GPU acceleration and OpenCL support is described in the <a href="MusrFit.html">'User manual of the μSR data analysis software <code>musrfit</code> '</a>. The additional <code>musrfit</code> / DKS commands are labelled in <span class='foswikiMaroonFG'> <strong>MAROON</strong> </span>.
|
||||
<p></p>
|
||||
<h1 id="A_1_Setting_up_61_61musrfit_47DKS_61_61_for_a_Tesla_K40c_40NVIDIA_41"> 1 Setting up <code><b>musrfit/DKS</b></code> for a Tesla K40c (NVIDIA) </h1>
|
||||
<p></p>
|
||||
It is assumed that the Tesla K40c is already physically installed on your system. For now I only will discuss to set it up for a Linux based system. In order to check that your operating systems see the card, enter the following command in the terminal:
|
||||
<p></p>
|
||||
<pre class="bash">
|
||||
$ lspci | grep NVIDIA
|
||||
</pre>
|
||||
<p></p>
|
||||
On the response you should find something like
|
||||
<p></p>
|
||||
<pre class="bash">
|
||||
05:00.0 3D controller: NVIDIA Corporation GK110BGL [Tesla K40c] (rev a1)
|
||||
</pre>
|
||||
<p></p>
|
||||
which means that the OS physically recognises your card.
|
||||
<p></p>
|
||||
<h2 id="A_1.1_Driver_Installation_for_the_Tesla_K40c"> 1.1 Driver Installation for the Tesla K40c </h2>
|
||||
<p></p>
|
||||
Next, you will need to download and install the driver for your card. Select the proper operating system, card, etc. from the <a href="http://www.nvidia.com/Download/index.aspx?lang=en-us">NVIDIA download center</a>. At PSI we are running currently Red Hat Enterprise Linux 7.x (RHEL) for which we will get a rpm (something like <code>nvidia-diag-driver-local-repo-rhel7-375.66-1.x86_64.rpm</code>). Install it and make sure there is no conflict with the nouveau driver of the system.
|
||||
<p></p>
|
||||
<h2 id="A_1.2_Installation_of_CUDA"> 1.2 Installation of CUDA </h2>
|
||||
<p></p>
|
||||
Download the <a href="https://developer.nvidia.com/cuda-downloads">CUDA SDK</a> form NVIDIA for your system. Again, for the RHEL 7.x this is an rpm. After the installation of the rpm you should reboot your machine. Afterwards you are ready for the installation of DKS.
|
||||
<p></p>
|
||||
<span id="DksInstall"></span>
|
||||
<h2 id="A_1.3_Installation_of_DKS"> 1.3 Installation of DKS </h2>
|
||||
<p></p>
|
||||
For the following list of commands the '$' will be given as the command prompt. Do not enter it! Also some comments will be added starting with a '#' which can be omitted. They are only there to explain what is going on.
|
||||
<code>DKS</code> stands for Dynamical Kernel Scheduler and provides a thin interface allowing host applications to incorporate GPU's and other hardware accelerators.
|
||||
<p></p>
|
||||
Details can be found in the papers listed <a href="CiteMusrFit.html">here</a>, or on the <a href="https://gitlab.psi.ch/uldis_l/DKS/wikis/home">DKS wiki page</a>.
|
||||
<p></p>
|
||||
In brief the installation should be something like this:<pre class="bash">
|
||||
# go to whatever directory you would like to clone/install DKS
|
||||
# For macOS DKS will likely to got to $HOME/Applications to be consistent with the musrfit docu for macOS
|
||||
$ cd $HOME/Apps
|
||||
$ git clone https://gitlab.psi.ch/uldis_l/DKS.git
|
||||
$ cd DKS
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ../ -DENABLE_MUSR=1 -DCMAKE_INSTALL_PREFIX=../exec
|
||||
$ cmake --build ./ --clean-first
|
||||
$ make install
|
||||
</pre>
|
||||
<p></p>
|
||||
Since <code>DKS</code> is installed in a non-standard path, a couple of additional small steps are required. This will be different for Linux compared to macOS.
|
||||
<p></p>
|
||||
For <strong>Linux</strong>:
|
||||
<p></p>
|
||||
add the <code>DKS</code> library path to <code>/etc/ld.so.conf.d/musrfit-x86_64.conf</code> and execute as super user
|
||||
<p></p>
|
||||
<pre class="bash">
|
||||
$ /sbin/ldconfig
|
||||
</pre>
|
||||
<p></p>
|
||||
For <strong>macOS</strong>:
|
||||
<p></p>
|
||||
add the <code>DKS</code> path to <code>$HOME/.profile</code>:
|
||||
<p></p>
|
||||
<pre class="bash">
|
||||
export DKS=$HOME/Applications/DKS/exec
|
||||
export LD_LIBRARY_PATH=$DKS/lib:$LD_LIBRARY_PATH
|
||||
|
||||
launchctl setenv DKS $DKS
|
||||
launchctl setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH
|
||||
</pre>
|
||||
<p></p>
|
||||
<h2 id="A_1.4_Installation_of_61musrfit_61_for_DKS"> 1.4 Installation of <code>musrfit</code> for DKS </h2>
|
||||
<p></p>
|
||||
Most of the installation steps are the same as described for <a href="MusrFitSetup.html"><code>musrfit</code></a> without GPU support.
|
||||
Here only the differences are explained. First checkout <code>musrfit</code>, then you will need to switch the working branch which is done by<pre class="bash">
|
||||
$ cd $HOME/Apps/musrfit
|
||||
$ git checkout dks6
|
||||
</pre>
|
||||
<p></p>
|
||||
<h3 id="A_1.4.1_Install_via_61_61automake_61_61"> 1.4.1 Install via <code><b>automake</b></code> </h3>
|
||||
<p></p>
|
||||
The configure script for <code>musrfit</code> has now a couple of more tags/options, which are: <dl>
|
||||
<dt> <code><b>--enable-dks</b></code> </dt><dd> by default this is set to <code><b>no</b></code>, hence if you want to have GPU support you need to enable it.
|
||||
</dd> <dt> <code><b>--with-cuda</b></code> </dt><dd> with this tag you tell the configure script where it can find CUDA
|
||||
</dd> <dt> <code><b>--with-opencl</b></code> </dt><dd> with this tag you tell the configure script where it can find OpenCL
|
||||
</dd> <dt> <code><b>--with-dks</b></code> </dt><dd> with this tag you tell the configure script where it can find <code>DKS</code>
|
||||
</dd></dl>
|
||||
<p></p>
|
||||
For a typical setup on a RHEL system it could look like this
|
||||
<pre class="bash">
|
||||
$ ./configure --enable-ASlibs --enable-BMWlibs --enable-NeXus --with-dks=$HOME/Apps/DKS/exec --enable-dks --prefix=$ROOTSYS
|
||||
</pre>
|
||||
whereas for macOS it would typically look like this
|
||||
<pre class="bash">
|
||||
$ ./configure --enable-ASlibs --enable-BMWlibs --enable-NeXus --with-dks=$HOME/Applications/DKS/exec --enable-dks --prefix=$ROOTSYS
|
||||
</pre>
|
||||
After
|
||||
<pre class="bash">
|
||||
$ make
|
||||
$ make install
|
||||
</pre>
|
||||
and updating the shared library lookup table (only needed for Linux)
|
||||
<pre class="bash">
|
||||
/sbin/ldconfig # as superuser / root
|
||||
</pre>
|
||||
you are done with the setup.
|
||||
<p></p>
|
||||
<h3 id="A_1.4.2_Install_via_61_61cmake_61_61"> 1.4.2 Install via <code><b>cmake</b></code> </h3>
|
||||
<p></p>
|
||||
There is on more configuration switch
|
||||
<p></p> <dl>
|
||||
<dt> <code>-Ddks=<value> </dt><dd> it allows to enable/disable =DKS</code> support. The default is <value>=1, i.e. <strong>enabled</strong>. To disable use <value>=0.
|
||||
</dd></dl>
|
||||
<p></p>
|
||||
For a typical setup on a RHEL system it could look like this
|
||||
<pre class="bash">
|
||||
$ cmake ../ -DCMAKE_INSTALL_PREFIX=$ROOTSYS -DASlibs=1 -DBMWlibs=1 -Dnexus=1
|
||||
</pre>
|
||||
whereas for macOS it would typically look like this
|
||||
<pre class="bash">
|
||||
$ cmake ../ -DCMAKE_INSTALL_PREFIX=$ROOTSYS -DASlibs=1 -DBMWlibs=1 -Dnexus=1
|
||||
</pre>
|
||||
<p></p>
|
||||
After
|
||||
<pre class="bash">
|
||||
$ cmake --build ./ --clean-first
|
||||
$ make install
|
||||
</pre>
|
||||
and updating the shared library lookup table (only needed for Linux)
|
||||
<pre class="bash">
|
||||
/sbin/ldconfig # as superuser / root
|
||||
</pre>
|
||||
you are done with the setup.
|
||||
<p></p>
|
||||
<h1 id="A_2_Setting_up_61_61musrfit_47DKS_61_61_for_a_AMD_Graphic_Card_40Radeon_R9_390X_41"> 2 Setting up <code><b>musrfit/DKS</b></code> for a AMD Graphic Card (Radeon R9 390X) </h1>
|
||||
<p></p>
|
||||
<h2 id="A_2.1_Driver_Installation_for_an_AMD_Graphic_Card_44_e.g._Radeon_R9_390X"> 2.1 Driver Installation for an AMD Graphic Card, e.g. Radeon R9 390X </h2>
|
||||
<p></p>
|
||||
This will depend slightly on the AMD Card and operating system. Here I will summaries how it was done on a RHEL (Linux) system using a Radeon R9 390X.
|
||||
<p></p>
|
||||
It is assumed that the Radeon R9 390X is already physically installed on your system. For now I only will discuss to set it up for a Linux based system. In order to check that your operating systems see the card, enter the following command in the terminal:
|
||||
<p></p>
|
||||
<pre class="bash">
|
||||
$ lspci | grep NVIDIA
|
||||
</pre>
|
||||
<p></p>
|
||||
On the response you should find something like
|
||||
<pre class="bash">
|
||||
84:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT / Grenada XT [Radeon R9 290X/390X] (rev 80)
|
||||
</pre>
|
||||
which means that the OS physically recognises your card.
|
||||
<p></p>
|
||||
For RHEL7.x the AMDGPU-PRO driver should be used. It can be downloaded from <a href="http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-RedHat-Install.aspx">here</a>.
|
||||
Unpack the driver
|
||||
<pre class="bash">
|
||||
$ tar -Jxvf amdgpu-pro-17.10-414273.tar.xz
|
||||
$ cd amdgpu-pro-17.10-414273
|
||||
</pre>
|
||||
<p></p>
|
||||
Install the driver as root
|
||||
<pre class="bash">
|
||||
$ ./amdgpu-pro-install --compute -y
|
||||
</pre>
|
||||
<p></p>
|
||||
Here I assume that the AMD graphic card is only used for computation. You need to add the following command in order that the user 'blabla' (chance this to the appropriate user name) can access the GPU (otherwise only root works):
|
||||
<pre class="bash">
|
||||
$ /sbin/usermod -a -G video blabla
|
||||
</pre>
|
||||
<p></p>
|
||||
Reboot the machine.
|
||||
<p></p>
|
||||
<h2 id="A_2.2_AMD_APP_Software_Development_Kit_40SDK_41_to_enable_OpenCL_support"> 2.2 AMD APP Software Development Kit (SDK) to enable OpenCL support </h2>
|
||||
<p></p>
|
||||
The AMD APP Software Development Kit (SDK) is a complete development platform created by AMD to allow you to quickly and easily develop applications accelerated by AMD APP technology. The SDK provides samples, documentation, and other materials to quickly get you started leveraging accelerated compute using OpenCL or <code>C++ AMP</code> in your <code>C/C++</code> applications.
|
||||
<p></p>
|
||||
Download the AMD APP SDK 3.0 from <a href="http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/">here</a>.
|
||||
<p></p>
|
||||
Extract the installer
|
||||
<pre class="bash">
|
||||
$ tar -xvjf AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64.tar.bz2
|
||||
</pre>
|
||||
<p></p>
|
||||
Run the installer
|
||||
<pre class="bash">
|
||||
$ ./AMD-APP-SDK-v3.0.130.136-GA-linux64.sh
|
||||
</pre>
|
||||
<p></p>
|
||||
This will install the AMD APP SDK to /opt/AMDAPPSDK-3.0/ where you can find the OpenCL include and library files, as well as documentation and sample code.
|
||||
The install guide for AMD OpenCL SDK can be found <a href="http://developer.amd.com/wordpress/media/2012/10/AMD_APP_SDK_InstallationNotes.pdf">here</a>.
|
||||
<p></p>
|
||||
<h2 id="A_2.3_Installation_of_DKS_and_61musrfit_61"> 2.3 Installation of DKS and <code>musrfit</code> </h2>
|
||||
<p></p>
|
||||
To install DKS and <code>musrfit</code> follow the instructions <a class="foswikiCurrentTopicLink" href="#DksInstall">here</a>.
|
||||
<p></p>
|
||||
<h1 id="A_3_Setting_up_61_61musrfit_47DKS_61_61_for_macOS_for_OpenCL_support"> 3 Setting up <code><b>musrfit/DKS</b></code> for macOS for OpenCL support </h1>
|
||||
<p></p>
|
||||
Since Apple is not providing an out-of-the-box OpenMP support on their macOS compiler framework (Xcode), typically <code>musrfit</code> is just running single threaded. Here DKS can help since it delivers OpenCL support which is present on macOS. Hence, if you would like to run <code>musrfit</code> multi-threaded the easiest way is to use DKS.
|
||||
<p></p>
|
||||
Since there is no graphic card involved, you do not need any graphic card driver of additional SDK. The only thing you need DKS and the proper <code>musrfit</code> version.
|
||||
<p></p>
|
||||
The installation instruction for DKS / <code>musrfit</code> can be found <a class="foswikiCurrentTopicLink" href="#DksInstall">here</a>.
|
||||
<p></p>
|
||||
-- <a href="https://intranet.psi.ch/Main/AndreasSuter">AndreasSuter</a> - June 8, 2018</div>
|
||||
<p></p>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a class="foswikiCurrentWebHomeLink" href="WebHome.html">WebHome</a><span class='foswikiSeparator'> > </span>MusrFitSetupDKS <br />
|
||||
Topic revision: <span class='patternRevInfo'>08 Jun 2018, <a href="https://intranet.psi.ch/Main/AndreasSuter">AndreasSuter</a></span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:thomas.buecklers@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.MusrFitSetupDKS'>Send feedback</a></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div></div><!-- /endWrap -->
|
||||
<p></p>
|
||||
<!-- Piwik -->
|
||||
|
||||
<noscript><p><img src="../piwik/piwikf832.gif?idsite=7" style="border:0" alt=""></p></noscript>
|
||||
<!-- End Piwik Tag -->
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrFitSetupDKS?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:56 GMT -->
|
||||
</html>
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en">
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrGui?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:20 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrGui?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:51 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="../pub/System/HeadlinesPlugin/style.css" type="text/css" media="all" />
|
||||
<title> MUSR :: MusrGui</title>
|
||||
@ -14,10 +14,10 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<link rel="icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/MusrGui?t=1453475520" type="application/x-wiki" title="edit MusrGui" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/MusrGui?t=1528465296" type="application/x-wiki" title="edit MusrGui" />
|
||||
<meta name="TEXT_NUM_TOPICS" content="Number of topics:" />
|
||||
<meta name="TEXT_MODIFY_SEARCH" content="Modify search" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRsshtml.html" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRss" />
|
||||
<base /><!--[if IE]></base><![endif]--><style class='head TABLEPLUGIN_default' type="text/css" media="all">
|
||||
body .foswikiTable {border-width:1px}
|
||||
body .foswikiTable .tableSortIcon img {padding-left:.3em; vertical-align:text-bottom}
|
||||
@ -32,10 +32,9 @@ body .foswikiTable tr.foswikiTableRowdataBg0 td.foswikiSortedCol {background-col
|
||||
body .foswikiTable tr.foswikiTableRowdataBg1 td {background-color:#f7f7f6}
|
||||
body .foswikiTable tr.foswikiTableRowdataBg1 td.foswikiSortedCol {background-color:#f0f0ee}
|
||||
</style><!--TABLEPLUGIN_default-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head IMAGEPLUGIN' rel="stylesheet" href="../pub/System/ImagePlugin/style.css" type="text/css" media="all" /><!--IMAGEPLUGIN-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<link class='head JQUERYPLUGIN::TWISTY' rel='stylesheet' href='../pub/System/TwistyPlugin/twisty327a.css?version=1.6.0' type='text/css' media='all' /><!--JQUERYPLUGIN::TWISTY: requires= missing ids: JavascriptFiles/foswikiPref-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<style class='head TABLEPLUGIN_specific' type="text/css" media="all">
|
||||
@ -136,18 +135,18 @@ body .foswikiTable#tableMusrGui1 tr.foswikiTableRowdataBg0 td.foswikiSortedCol {
|
||||
<!--<![endif]-->
|
||||
<!--JQUERYPLUGIN-->
|
||||
<!--JQUERYPLUGIN::MIGRATE-->
|
||||
<!--JQUERYPLUGIN::LIVEQUERY-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JQUERYPLUGIN::LIVEQUERY-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--JQUERYPLUGIN::TWISTY-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern-->
|
||||
<!--JQUERYPLUGIN::TWISTY-->
|
||||
<!--JQUERYPLUGIN::METADATA-->
|
||||
|
||||
<!--JQUERYPLUGIN::CHILI--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<!--JQUERYPLUGIN::CHILI-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
</head>
|
||||
<body class="foswikiNoJs patternViewPage patternPrintPage">
|
||||
<span id="PageTop"></span><div class="foswikiPage"><div id="patternScreen">
|
||||
@ -158,9 +157,9 @@ body .foswikiTable#tableMusrGui1 tr.foswikiTableRowdataBg0 td.foswikiSortedCol {
|
||||
<div id="patternMain">
|
||||
<div id="patternMainContents">
|
||||
<div class="patternContent"><div class="foswikiTopic">
|
||||
<h1 id="A_61_61musredit_47_40musrgui_41_61_61"> <code><b>musredit / (musrgui)</b></code> </h1>
|
||||
<h1 id="A_61_61musredit_47_40musrgui_41_61_61"> <code><b>musredit / (musrgui)</b></code> </h1>
|
||||
<p></p>
|
||||
<div id="foswikiTOC" class="foswikiToc"> <ul>
|
||||
<div class="foswikiToc" id="foswikiTOC"> <ul>
|
||||
<li> <a href="MusrGui.html#A_61_61musredit_47_40musrgui_41_61_61"> musredit / (musrgui) </a>
|
||||
</li> <li> <a href="MusrGui.html#A_1_Introduction"> 1 Introduction </a>
|
||||
</li> <li> <a href="MusrGui.html#A_2_Available_Executables_44_Configuration_Files_and_their_Basic_Usage"> 2 Available Executables, Configuration Files and their Basic Usage </a> <ul>
|
||||
@ -168,14 +167,23 @@ body .foswikiTable#tableMusrGui1 tr.foswikiTableRowdataBg0 td.foswikiSortedCol {
|
||||
</li> <li> <a href="MusrGui.html#A_2.2_musredit_startup.xml_47_musrgui_startup.xml"> 2.2 musredit_startup.xml / musrgui_startup.xml </a>
|
||||
</li></ul>
|
||||
</li> <li> <a href="MusrGui.html#A_3_61_61musrfit_61_61_Features"> 3 musrfit Features </a>
|
||||
</li> <li> <a href="MusrGui.html#A_4_Editor_Features"> 4 Editor Features </a>
|
||||
</li> <li> <a href="MusrGui.html#A_5_Bugtracking"> 5 Bugtracking </a>
|
||||
</li> <li> <a href="MusrGui.html#A_4_musrWiz"> 4 musrWiz </a> <ul>
|
||||
<li> <a href="MusrGui.html#A_4.1_musrWiz_45_Introduction"> 4.1 musrWiz - Introduction </a>
|
||||
</li> <li> <a href="MusrGui.html#A_4.2_musrWiz_45_Theory"> 4.2 musrWiz - Theory </a>
|
||||
</li> <li> <a href="MusrGui.html#A_4.3_musrWiz_45_Functions"> 4.3 musrWiz - Functions </a>
|
||||
</li> <li> <a href="MusrGui.html#A_4.4_musrWiz_45_Maps"> 4.4 musrWiz - Maps </a>
|
||||
</li> <li> <a href="MusrGui.html#A_4.5_musrWiz_45_Fit_Parameters"> 4.5 musrWiz - Fit Parameters </a>
|
||||
</li> <li> <a href="MusrGui.html#A_4.6_musrWiz_45_Fit_Info"> 4.6 musrWiz - Fit Info </a>
|
||||
</li> <li> <a href="MusrGui.html#A_4.7_musrWiz_45_Create"> 4.7 musrWiz - Create </a>
|
||||
</li></ul>
|
||||
</li> <li> <a href="MusrGui.html#A_5_musrStep"> 5 musrStep </a>
|
||||
</li> <li> <a href="MusrGui.html#A_6_Bugtracking"> 6 Bugtracking </a>
|
||||
</li></ul>
|
||||
</div>
|
||||
<p></p>
|
||||
<h1 id="A_1_Introduction"> 1 Introduction </h1>
|
||||
<code>musredit</code> and <code>musrgui</code> are editors which also provide a graphical user interface to the programs contained in the <code><a href="MusrFit.html">musrfit</a></code> suite and are intended to help the user handle <code>musrfit</code> msr files. They are implemented in <code>C++</code> and use the <a href="http://qt.nokia.com/">Qt</a> framework. Principally, <code>musrgui</code> and <code>musredit</code> are doing the same, but are based on different Qt versions. <code>musrgui</code> is based on Qt 3.x and will only be maintained on bug-fixing level since the Qt 3.x licensing is less straight forward than the Qt 4.x one. <code>musredit</code> is based on Qt 4.6 (or above) and this is the program which will be developed further.<br>
|
||||
On this documentation page only the features related to <code>musrfit</code> are described—the basic editor functions which should be self-explanatory are not.
|
||||
<code>musredit</code> and <code>musrgui</code> are editors which also provide a graphical user interface to the programs contained in the <code><a href="MusrFit.html">musrfit</a></code> suite and are intended to help the user handle <code>musrfit</code> msr files. They are implemented in <code>C++</code> and use the <a href="http://qt.nokia.com/">Qt</a> framework. Principally, <code>musrgui</code> and <code>musredit</code> are doing the same, but are based on different Qt versions. <code>musrgui</code> is based on Qt 3.x and will only be maintained on bug-fixing level since the Qt 3.x licensing is less straight forward than the Qt 4.x one. <code>musredit</code> is based on Qt 4.6 or Qt 5.6 (or above). The Qt 5.6 version of <code>musredit</code> will be actively developed, whereas the Qt 4.x version will only get bug fixing and eventually will be droped.<br>
|
||||
On this documentation page only the features related to <code>musrfit</code> are described—the basic editor functions which should be self-explanatory are not.<br>
|
||||
<strong><span class='foswikiRedFG'>Before going on using <code>musrgui</code> / <code>musredit</code> it is strongly recommended to read the <a href="MusrFit.html">manual</a> of <code>musrfit</code> first!</span></strong>
|
||||
<p></p>
|
||||
<h1 id="A_2_Available_Executables_44_Configuration_Files_and_their_Basic_Usage"> 2 Available Executables, Configuration Files and their Basic Usage </h1>
|
||||
@ -196,9 +204,16 @@ If called without any parameters an empty editor window opens.
|
||||
In this file the following XML tags are allowed to define settings and might proof useful for all users of <code>musredit</code> / <code>musrgui</code>: <dl>
|
||||
<dt> <general></general> </dt><dd> set the default paths to executables and files in this environment <dl>
|
||||
<dt> <exec_path>PATH_TO_EXEC</exec_path> </dt><dd> set the path <strong>PATH_TO_EXEC</strong> where the executables <code>musrfit</code>, <code>musrview</code>, <code>musrt0</code>, etc. can be found (inside the <general> environment)
|
||||
</dd> <dt> <default_save_path>SAV_PATH</default_save_path> </dt><dd> specify the path <strong>SAV_PATH</strong> where <code>musrgui</code> / <code>musredit</code> point by default when opening and saving msr files (inside the <general> environment)
|
||||
</dd> <dt> <msr_default_file_path>MSR_DEF_PATH</msr_default_file_path> </dt><dd> set the path <strong>MSR_DEF_PATH</strong> where the <a href="#MusrfitFeatures" class="foswikiCurrentTopicLink">default msr files provided by</a> <code>musrgui</code> are stored (inside the <general> environment)
|
||||
</dd> <dt> <default_save_path>SAV_PATH</default_save_path> </dt><dd> specify the path <strong>SAV_PATH</strong> where <code>musrgui</code> / <code>musredit</code> point by default when opening and saving msr files (inside the <general> environment). Default is the current directory.
|
||||
</dd> <dt> <msr_default_file_path>MSR_DEF_PATH</msr_default_file_path> </dt><dd> set the path <strong>MSR_DEF_PATH</strong> where the <a class="foswikiCurrentTopicLink" href="#MusrfitFeatures">default msr files provided by</a> <code>musrgui</code> are stored (inside the <general> environment)
|
||||
</dd> <dt> <timeout>3600</timeout> </dt><dd> timeout in seconds after which musrview canvas will automatically quit. A value of 0 or a negative number will keep the musrview canvas open without self-determination.
|
||||
</dd> <dt> <keep_minuit2_output>y/n</keep_minuit2_output> </dt><dd> flag indicating if the <code>MINUIT2</code> output shall be kept per msr-file ('y') or only for the current msr-file ('n').
|
||||
</dd> <dt> <dump_ascii>y/n</dump_ascii> </dt><dd> flag indicating if musrfit shall dump fit data into ascii format. See help of musrfit.
|
||||
</dd> <dt> <dump_root>y/n</dump_root> </dt><dd> flag indicating if musrfit shall dump fit data into root format. See help of musrfit.
|
||||
</dd> <dt> <title_from_data_file>y/n</title_from_data_file> </dt><dd> specify if <code>musrfit</code> should be called with the <a href="MusrFit.html#MusrFit">-t option</a> by default (inside the <general> environment)
|
||||
</dd> <dt> <chisq_pre_run_block>y/n</chisq_pre_run_block> </dt><dd> flag indicating if per-run chisq shall be written into the msr-output-file. $ <estimate_n0>y/n</estimate_n0> flag indicating if for a single histogram fit N0 shall be estimated before the fit procedure starts.
|
||||
</dd> <dt> <musrview_show_fourier>y/n</musrview_show_fourier> </dt><dd> flag indicating if musrview will directly present the Fourier transform rather than the time domain data.
|
||||
</dd> <dt> <musrview_show_avg>y/n</musrview_show_avg> </dt><dd> flag indicating if musrview will directly present averaged data, typically used for Fourier power spectra.
|
||||
</dd> <dt> <enable_musrt0>y/n</enable_musrt0> </dt><dd> specify if <code><a href="MusrFit.html#MusrT0">musrt0</a></code> can be called from within <code>musrgui</code> / <code>musredit</code> (inside the <general> environment)
|
||||
</dd></dl>
|
||||
</dd> <dt> <font_settings></font_settings> </dt><dd> set the default font in this environment <dl>
|
||||
@ -230,13 +245,13 @@ Additionally, there are some settings defined in this XML file which should be o
|
||||
<dt> <help_section></help_section> </dt><dd> define various help messages in this environment <dl>
|
||||
<dt> <help_main>HELP TEXT</help_main> </dt><dd> set the main help message <strong>HELP TEXT</strong> here (inside a <help_section> environment)
|
||||
</dd></dl>
|
||||
</dd> <dt> <func_pixmap_path>PIX_PATH</func_pixmap_path> </dt><dd> set the path <strong>PIX_PATH</strong> to <img src="../pub/MUSR/MusrGui/LaTeX_logo.png" alt="LaTeX_logo.png" /> pixmaps visualizing the various supported theory functions
|
||||
</dd> <dt> <func_pixmap_path>PIX_PATH</func_pixmap_path> </dt><dd> set the path <strong>PIX_PATH</strong> to <img alt="LaTeX_logo.png" src="../pub/MUSR/MusrGui/LaTeX_logo.png" /> pixmaps visualizing the various supported theory functions
|
||||
</dd> <dt> <theory_functions></theory_functions> </dt><dd> define the functions for a msr file's THEORY block <a href="MusrFit.html#TheoryTable">according to the correct syntax</a> in this environment <dl>
|
||||
<dt> <func></func> </dt><dd> specify a function here (inside a <theory_functions> environment) <dl>
|
||||
<dt> <name>NAME</name> </dt><dd> the <strong>NAME</strong> of the function in the msr file (inside a <func> environment)
|
||||
</dd> <dt> <comment>COMMENT</comment> </dt><dd> description of the used parameters (inside a <func> environment)
|
||||
</dd> <dt> <label>LABEL</label> </dt><dd> <strong>LABEL</strong> of the function in the <code>musrgui</code> / <code>musredit</code> menu (inside a <func> environment)
|
||||
</dd> <dt> <pixmap>PIXMAP</pixmap> </dt><dd> <img src="../pub/MUSR/MusrGui/LaTeX_logo.png" alt="LaTeX_logo.png" /> picture used to describe the function and stored in the <strong>PIX_PATH</strong> (inside a <func> environment)
|
||||
</dd> <dt> <pixmap>PIXMAP</pixmap> </dt><dd> <img alt="LaTeX_logo.png" src="../pub/MUSR/MusrGui/LaTeX_logo.png" /> picture used to describe the function and stored in the <strong>PIX_PATH</strong> (inside a <func> environment)
|
||||
</dd> <dt> <params>N</params> </dt><dd> number of parameters <strong>N</strong> used by the function (inside a <func> environment)
|
||||
</dd></dl>
|
||||
</dd></dl>
|
||||
@ -308,59 +323,181 @@ An example of the <code><b>musrgui_startup.xml</b></code> looks like:
|
||||
<p></p>
|
||||
<span id="MusrfitFeatures"></span>
|
||||
<h1 id="A_3_61_61musrfit_61_61_Features"> 3 <code><b>musrfit</b></code> Features </h1>
|
||||
The features of <code>musrfit</code> which can be accessed by the graphical front ends <code>musrgui</code> / <code>musredit</code> are described in the following. All functions can either be called by choosing them from the MusrFit menu, by clicking the respective button in the MusrFit bar, or by using a keyboard shortcut.
|
||||
The features of <code>musrfit</code> which can be accessed by the graphical front ends <code>musredit</code> / (<code>musrgui</code>) are described in the following. All functions can either be called by choosing them from the MusrFit menu, by clicking the respective button in the MusrFit bar, or by using a keyboard shortcut.
|
||||
<p></p>
|
||||
$ <img src="../pub/MUSR/MusrGui/musrasym.png" alt="musrasym.png" /> Asymmetry Default (Alt+a): Generate a full msr file suitable for the <a href="MusrFit.html#FitTypes">fit type</a> <strong>2</strong> of <code>musrfit</code> from defaults. Calling this function opens a window where the relative path and file name to a data file as well as the file format that should be used have to be specified. For instance if the data file <code><b>/path-to-datadir/2007/lem07_his_8472.root</b></code> should be used and <code><b>/path-to-datadir</b></code> is on the path where <code>musrfit</code> <a href="MusrFit.html#PathToDataFiles">looks for data files</a> then the file name would be <code><b>2007/lem07_his_8472</b></code> and the file format either <strong>ROOT-NPP</strong> or <strong>ROOT-PPC</strong>.
|
||||
<img alt="musrWiz-32x32.png" src="../pub/MUSR/MusrGui/musrWiz-32x32.png" /> musrWiz is a helper programs which allows to create a msr-file from scratch without too much a priori knowledge. For details see <a class="foswikiCurrentTopicLink" href="#MusrWiz">musrWiz</a>.
|
||||
<p></p>
|
||||
$ <img src="../pub/MUSR/MusrGui/musrsinglehisto.png" alt="musrsinglehisto.png" /> Single-Histogram Default (Alt+h): Generate a full msr file suitable for the <a href="MusrFit.html#FitTypes">fit type</a> <strong>0</strong> of <code>musrfit</code> from defaults. Calling this function opens a window where the relative path and file name to a data file as well as the file format that should be used have to be specified. For instance if the data file <code><b>/path-to-datadir/d2007/deltat_pta_gps_8472.bin</b></code> should be used and <code><b>/path-to-datadir</b></code> is on the path where <code>musrfit</code> <a href="MusrFit.html#PathToDataFiles">looks for data files</a> then the file name would be <code><b>d2007/deltat_pta_gps_8472</b></code> and the file format <strong>PSI-BIN</strong>.
|
||||
<img alt="musrchisq-plain.png" src="../pub/MUSR/MusrGui/musrchisq-plain.png" /> Calculate Chisq (Alt+c): <pre class="bash">musrfit <msr_file> --chisq-only</pre> is called for the <strong><msr_file></strong> selected in the editor. For further information refer to the <a href="MusrFit.html#MusrFit">manual</a> of <code>musrfit</code>.
|
||||
<p></p>
|
||||
$ <img alt="musrcalcchisq.png" src="../pub/MUSR/MusrGui/musrcalcchisq.png" /> Calculate Chisq (Alt+c): <pre class="bash">musrfit <msr_file> --chisq-only</pre> is called for the <strong><msr_file></strong> selected in the editor. For further information refer to the <a href="MusrFit.html#MusrFit">manual</a> of <code>musrfit</code>.
|
||||
<img alt="musrfit-plain.png" src="../pub/MUSR/MusrGui/musrfit-plain.png" /> Fit (Alt+f): <pre class="bash">musrfit <msr_file> [optional parameters]</pre> is called for the <strong><msr_file></strong> selected in the editor. The optional parameters may be chosen under <a class="foswikiCurrentTopicLink" href="#MusrPrefs">Preferences</a>. For further information refer to the <a href="MusrFit.html#MusrFit">manual</a> of <code>musrfit</code>.
|
||||
<p></p>
|
||||
$ <img src="../pub/MUSR/MusrGui/musrfit.png" alt="musrfit.png" /> Fit (Alt+f): <pre class="bash">musrfit <msr_file> [optional parameters]</pre> is called for the <strong><msr_file></strong> selected in the editor. The optional parameters may be chosen under <a class="foswikiCurrentTopicLink" href="#MusrPrefs">Preferences</a>. For further information refer to the <a href="MusrFit.html#MusrFit">manual</a> of <code>musrfit</code>.
|
||||
<img alt="musrswap-plain.png" src="../pub/MUSR/MusrGui/musrswap-plain.png" /> Swap Msr ↔ Mlog (Alt+s): Swap the msr and mlog files. E.g., for a file called <code><b>8472_zf.msr</b></code>, this is copied to <code><b>8472_zf.mlog</b></code> and vice versa.
|
||||
<p></p>
|
||||
$ <img alt="musrswap.png" src="../pub/MUSR/MusrGui/musrswap.png" /> Swap Msr ↔ Mlog (Alt+s): Swap the msr and mlog files. E.g., for a file called <code><b>8472_zf.msr</b></code>, this is copied to <code><b>8472_zf.mlog</b></code> and vice versa.
|
||||
<img alt="musrStep-32x32.png" src="../pub/MUSR/MusrGui/musrStep-32x32.png" /> musrStep
|
||||
<p></p>
|
||||
$ <img src="../pub/MUSR/MusrGui/musrmsr2data.png" alt="musrmsr2data.png" /> Msr2data (Alt+m): Opens a graphical interface to the <code>msr2data</code> program described in detail in its own <a href="Msr2Data.html#MusrGuiInterface">manual</a>.
|
||||
<img alt="msr2data-plain.png" src="../pub/MUSR/MusrGui/msr2data-plain.png" /> Msr2data (Alt+m): Opens a graphical interface to the <code>msr2data</code> program described in detail in its own <a href="Msr2Data.html#MusrGuiInterface">manual</a>.
|
||||
<p></p>
|
||||
$ <img src="../pub/MUSR/MusrGui/musrview.png" alt="musrview.png" /> View (Alt+v): <pre class="bash">musrview <msr_file></pre> is called for the <strong><msr_file></strong> selected in the editor. For further information refer to the <a href="MusrFit.html#MusrView">manual</a> of <code>musrfit</code>.
|
||||
<img alt="musrview-plain.png" src="../pub/MUSR/MusrGui/musrview-plain.png" /> View (Alt+v): <pre class="bash">musrview <msr_file></pre> is called for the <strong><msr_file></strong> selected in the editor. For further information refer to the <a href="MusrFit.html#MusrView">manual</a> of <code>musrfit</code>.
|
||||
<p></p>
|
||||
$ <img alt="musrt0.png" src="../pub/MUSR/MusrGui/musrt0.png" /> T0 (Alt+t): <pre class="bash">musrt0 <msr_file></pre> is called for the <strong><msr_file></strong> selected in the editor. For further information refer to the <a href="MusrFit.html#MusrT0">manual</a> of <code>musrfit</code>.
|
||||
<img alt="musrt0-plain.png" src="../pub/MUSR/MusrGui/musrt0-plain.png" /> T0 (Alt+t): <pre class="bash">musrt0 <msr_file></pre> is called for the <strong><msr_file></strong> selected in the editor. For further information refer to the <a href="MusrFit.html#MusrT0">manual</a> of <code>musrfit</code>.
|
||||
<p></p>
|
||||
$ <img src="../pub/MUSR/MusrGui/musrFT.png" alt="musrFT.png" /> Raw Fourier: <code>musrFT <with-many-options></code> is called. For a proper documentation of it, check the <a href="MusrFit.html#MusrFT">manual</a> of <code>musrFT</code>.
|
||||
<img alt="musrFT-plain.png" src="../pub/MUSR/MusrGui/musrFT-plain.png" /> Raw Fourier: <code>musrFT <with-many-options></code> is called. For a proper documentation of it, check the <a href="MusrFit.html#MusrFT">manual</a> of <code>musrFT</code>.
|
||||
<p></p>
|
||||
<span id="MusrPrefs"></span>
|
||||
$ <img src="../pub/MUSR/MusrGui/musrprefs.png" alt="musrprefs.png" /> Preferences (Alt+p): Opens a window in which the optional parameters that should be passed to <code>musrfit</code> can be chosen. These options are <code><b>--keep-mn2-output</b></code>, <code><b>--dump ascii</b></code>, <code><b>--dump root</b></code>, and <code><b>--title-from-data-file</b></code>. For further information refer to the <a href="MusrFit.html#MusrFit">manual</a> of <code>musrfit</code>. Additionally, the access to <code>musrt0</code> can be enabled temporarily.
|
||||
<img alt="musrprefs-plain.png" src="../pub/MUSR/MusrGui/musrprefs-plain.png" /> Preferences (Alt+p): Opens a window in which the optional parameters that should be passed to <code>musrfit</code> can be chosen. These options are <code><b>--keep-mn2-output</b></code>, <code><b>--dump ascii</b></code>, <code><b>--dump root</b></code>, and <code><b>--title-from-data-file</b></code>. For further information refer to the <a href="MusrFit.html#MusrFit">manual</a> of <code>musrfit</code>. Additionally, the access to <code>musrt0</code> can be enabled temporarily.
|
||||
<p></p>
|
||||
$ <img alt="musrdump.png" src="../pub/MUSR/MusrGui/musrdump.png" /> Dump Header: Opens a file dialog which allows to select a μSR data file. When this file can be read, the run header info is dumped into a dialog window. Essentially this calls <code><b>dump_header</b></code> internally.
|
||||
<img alt="musrdump-plain.png" src="../pub/MUSR/MusrGui/musrdump-plain.png" /> Dump Header: Opens a file dialog which allows to select a μSR data file. When this file can be read, the run header info is dumped into a dialog window. Essentially this calls <code><b>dump_header</b></code> internally.
|
||||
<p></p>
|
||||
<span id="EditorFeatures"></span>
|
||||
<h1 id="A_4_Editor_Features"> 4 Editor Features </h1>
|
||||
Besides the functions described above and which are mostly interfacing <code>musrfit/msr2data</code> the editors of <code>musrgui</code> / <code>musredit</code> offer various functions for manipulating especially <code>musrfit</code> msr files:
|
||||
<img class='imagePlain imagePlain_right ' src='../pub/MUSR/MusrGui/igp_6000206c604d890d5466ca71a2eda191_musrgui-editor-v0.png' alt='musrgui editor features' title='musrgui-editor-v0.png' width='415' height='566' style='' /> <ul>
|
||||
<li> Upon right-clicking an open msr file a menu as shown to the right is displayed which offers the addition of any valid msr file block or theory function. In case a simple theory function is chosen, the function will be inserted into the THEORY block using the <a href="MusrFit.html#TheoryTable">correct syntax</a>. If one chooses to add a whole block to the file a dialog opens in which the necessary information for each block as described in the <a href="MusrFit.html#DescriptionOfTheMsrFileFormat">manual</a> of <code>musrfit</code> can be supplied. <span class='foswikiBlueFG'>This feature is available only in <code>musrgui</code>. In <code>musredit</code> the respective functions can be accessed through the <em>Edit</em> menu.</span>
|
||||
</li> <li> In order to comment or uncomment lines in a msr file select the according lines and apply <strong>Edit → (Un)Comment</strong> or use the keyboard shortcut <strong>Ctrl+(Shift)+m</strong>.
|
||||
</li></ul>
|
||||
<span id="MusrWiz"></span>
|
||||
<h1 id="A_4_musrWiz"> 4 musrWiz </h1>
|
||||
<p></p>
|
||||
musrWiz is a helper program which allows to easily create the necessary msr-file needed as the input for musrfit. musrWiz is still in it's early stage; not all options are already implemented and here and there you will likely find some bugs.
|
||||
From musredit it can be accessed via the MusrFit menu or the wand
|
||||
<p></p>
|
||||
<img alt="musredit-main_0.png" src="../pub/MUSR/MusrGui/musredit-main_0.png" />
|
||||
<p></p>
|
||||
The musrWiz GUI is organized in a couple of different dialogues which some information needs to be provided by the user. In the following these different dialogues will be discussed briefly.
|
||||
<p></p>
|
||||
<span id="MusrWizIntroduction"></span>
|
||||
<h2 id="A_4.1_musrWiz_45_Introduction"> 4.1 musrWiz - Introduction </h2>
|
||||
<p></p>
|
||||
The introduction dialogue
|
||||
<p></p>
|
||||
<img alt="musrWiz-Introduction_0.png" src="../pub/MUSR/MusrGui/musrWiz-Introduction_0.png" />
|
||||
<p></p> <ol>
|
||||
<li> an explicit msr-file name can be provided here. More often the msr-file name is generated out of the run number.
|
||||
</li> <li> year of the run data.
|
||||
</li> <li> run number. If no explicit msr-file is provided, the run number together with fit type and type of measurement will be used to generate the msr-file name.
|
||||
</li> <li> from the pull down menu the institute (for which a necessary xml-file is provided) has to be choosen.
|
||||
</li> <li> from the pull down menu the the instrument can be chosen.
|
||||
</li> <li> the fit type has to be chosen. Possible fit types are: <code>Single Histo</code> / <code>Single Histo RRF</code> / <code>Asymmetry</code> / <code>Asymmetry RRF</code> / <code>Mu Minus</code> / <code>None muSR</code>
|
||||
</li> <li> type of measurement is essentially needed for the grouping of the detectors. Possible are: <code>ZF</code> for zero field measurements / <code>TF</code> for transverse field measurements / <code>LF</code> for longitudinal field measurements. Depending on the choice and instrument some additional question might be asked, e.g. which magnet has been used.
|
||||
</li> <li> T0's: this last menu defines from where to get the t0's. The options are: ' <code>from data file</code> ', i.e. the t0 are assumed to be correctly set in the provided data file ' <code>call musrT0</code> ', i.e. after the msr-file is generated, musrt0 will be called which allows the user to find the proper t0 from the prompt peak ' <code>enter here</code> ' will provide a pop-up menu where the t0 parameter can be given explicitly.
|
||||
</li></ol>
|
||||
<p></p>
|
||||
If all this information have been provided ' <code>Next></code> ' will lead you the the theory dialogue.
|
||||
<p></p>
|
||||
<span id="MusrWizTheory"></span>
|
||||
<h2 id="A_4.2_musrWiz_45_Theory"> 4.2 musrWiz - Theory </h2>
|
||||
<p></p>
|
||||
The theory dialogue is used to define the fitting function. There are two ways of using it: <ol>
|
||||
<li> choose a template theory function. This option has the advantage that the next steps will be very easy because within the template almost everything is already pre-defined. The disadvantage is that you are not free in setting up your theory function as you would like to have.
|
||||
</li> <li> freely write your theory function. The advantage here is that you can customize your theory function as you would like to have it. This will come at the cost that you also will need to define maps, functions, etc. yourself. The good thing though is that at the very end you can save this as a template for future re-use.
|
||||
</li></ol>
|
||||
<p></p>
|
||||
First the template path will be described. The theory dialogue looks like this
|
||||
<p></p>
|
||||
<img alt="musrWiz-Theory-1_0.png" src="../pub/MUSR/MusrGui/musrWiz-Theory-1_0.png" />
|
||||
<p></p> <ol>
|
||||
<li> This is a text edit field were you can enter the theory fit function as you would like to have it.
|
||||
</li> <li> The ' <code>Clear All</code> ' button will clear whatever you entered in the text field above
|
||||
</li> <li> This pull-down menu allows to select a theory function which will be added to the text field above by pressing the ' <code>Add</code> ' button. Pre defined theory function starting with a 'T' are templates rather than only theory function strings.
|
||||
</li> <li> The ' <code>Add</code> ' button is used to add the chosen theory function / template from the pull-down menu to its left.
|
||||
</li> <li> The ' <code>Check</code> ' button is used to make a syntactical check of whatever is written in the text edit field.
|
||||
</li></ol>
|
||||
<p></p>
|
||||
Let's assume you would like to chose a template of an exponentially damped cosine (likely a TF measurement with dilute nuclear damping), do the following: Select ' <code>T: 1 [exp x cos](TF)</code> ' from the pull-down menu and than press the ' <code>Add</code> ' button. You will see that the theory fit function will be entered in the text edit field. After this just press the ' <code>Next></code> ' button which will bring you to <code>Functions</code> dialogue.
|
||||
<p></p>
|
||||
<span id="MusrWizFunctions"></span>
|
||||
<h2 id="A_4.3_musrWiz_45_Functions"> 4.3 musrWiz - Functions </h2>
|
||||
<p></p>
|
||||
In the <code>Functions</code> dialogue all the necessary functions can be entered. A function operates <strong>only</strong> on fitting parameters. This is different to the theory function which operates on the fitting parameters <strong>and</strong> the time.
|
||||
The dialogue looks like this
|
||||
<p></p>
|
||||
<img alt="musrWiz-Functions-1_0.png" src="../pub/MUSR/MusrGui/musrWiz-Functions-1_0.png" />
|
||||
<p></p> <ol>
|
||||
<li> a text edit field in which the various needed functions can be entered. In case a template theory is used, the appropriate function should be shown here and <strong>no</strong> editing will be needed here.
|
||||
</li> <li> pressing ' <code>Show Theory</code> ' button will pop-up a little window showing the previously entered theory function. This is handy when defining its own theory, i.e. not working with a template.
|
||||
</li></ol>
|
||||
<p></p>
|
||||
<img alt="musrWiz-Functions-2_0.png" src="../pub/MUSR/MusrGui/musrWiz-Functions-2_0.png" />
|
||||
<p></p>
|
||||
<span id="MusrWizMaps"></span>
|
||||
<h2 id="A_4.4_musrWiz_45_Maps"> 4.4 musrWiz - Maps </h2>
|
||||
<p></p>
|
||||
<img alt="musrWiz-Maps-1_0.png" src="../pub/MUSR/MusrGui/musrWiz-Maps-1_0.png" />
|
||||
<p></p>
|
||||
The map dialogue will list the maps previously used in the theory and functions blocks/dialogues before. Again, if a template is used, nothing needs to be entered here.
|
||||
<p></p> <ol>
|
||||
<li> The ' <code>Show Theory</code> ' button allows to show the currently defined theory and the functions.
|
||||
</li></ol>
|
||||
<p></p>
|
||||
<span id="MusrWizFitParameters"></span>
|
||||
<h2 id="A_4.5_musrWiz_45_Fit_Parameters"> 4.5 musrWiz - Fit Parameters </h2>
|
||||
<p></p>
|
||||
<img alt="musrWiz-FitParameters-1_0.png" src="../pub/MUSR/MusrGui/musrWiz-FitParameters-1_0.png" />
|
||||
<p></p> <ol>
|
||||
<li> The ' <code>Show Theory</code> ' button allows to show the currently defined theory and the functions.
|
||||
</li></ol>
|
||||
<p></p>
|
||||
In the fit parameter dialogue all parameter names can be defined. Furthermore the starting values for the parameters, the step (initial step size for the parameter fit), and any boundaries can be defined here.
|
||||
<p></p>
|
||||
<span id="MusrWizFitInfo"></span>
|
||||
<h2 id="A_4.6_musrWiz_45_Fit_Info"> 4.6 musrWiz - Fit Info </h2>
|
||||
<p></p>
|
||||
<img alt="musrWiz-FitInfo-1_0.png" src="../pub/MUSR/MusrGui/musrWiz-FitInfo-1_0.png" />
|
||||
<p></p> <ol>
|
||||
<li> allows to define the time fit range (start time, end time).
|
||||
</li> <li> packing defines how many bins of the original data shall be combined (added, also called re-binning).
|
||||
</li> <li> In this text field to fitting commands are given (see the <code>MINUIT</code> and <code>musrfit</code> manual for details).
|
||||
</li></ol>
|
||||
<p></p>
|
||||
<span id="MusrWizCreate"></span>
|
||||
<h2 id="A_4.7_musrWiz_45_Create"> 4.7 musrWiz - Create </h2>
|
||||
<p></p>
|
||||
<img alt="musrWiz-Create-1_0.png" src="../pub/MUSR/MusrGui/musrWiz-Create-1_0.png" />
|
||||
<p></p> <ol>
|
||||
<li> shows the path where the msr-file will be saved. If you would like to save it somewhere else press the ' <code>Save As (msr-file path)</code> button.
|
||||
</li> <li> pressing this button will allow you to find the path where to save the msr-file.
|
||||
</li> <li> pressing this button will save to current configuration as a template for future re-use.
|
||||
</li></ol>
|
||||
<p></p>
|
||||
<span id="MusrStep"></span>
|
||||
<h1 id="A_5_musrStep"> 5 musrStep </h1>
|
||||
<p></p>
|
||||
musrStep is a little helper program which allows to reset the initial step size. This sometimes comes very handy if working on an instrument with many detectors after a fit slightly went wrong leaving you with a far too small initial step size for further iterations. To edit all the steps individually is tedious and error prone. Here musrStep can help.
|
||||
<p></p>
|
||||
<img alt="musrStep_0_0.png" src="../pub/MUSR/MusrGui/musrStep_0_0.png" />
|
||||
<p></p>
|
||||
When invoking musrStep the above dialogue will popup <ol>
|
||||
<li> shows the relevant parts of the <code>FITPARAMETER</code> block. The only editable column is <code>step</code>.
|
||||
</li> <li> ' <code>Check Specific</code> ' will popup a dialogue where a template string can be entered, e.g. <code>Asym</code>. As a result all fit parameters containing the template string will be selected.
|
||||
</li> <li> ' <code>Check All</code> ' will select <em>all</em> fit parameters.
|
||||
</li> <li> ' <code>Uncheck All</code> ' will unselect <em>all</em> fir parameters.
|
||||
</li> <li> ' <code>Modify Automatic</code> ' will change all the step values automatically. It basically sets all the step sizes to 1% of the corresponding fit parameter value, except the phases where the step will be set to a value of 5 degrees.
|
||||
</li> <li> ' <code>Modify Selected</code> ' will start the dialogue shown beneath. Follow the description there.
|
||||
</li> <li> ' <code>Save&Quit</code> ' will save the current step values, close the dialogue and reload the modified msr-file.
|
||||
</li> <li> ' <code>Cancel</code> ' will cancel the musrStep dialogue without modifying anything.
|
||||
</li></ol>
|
||||
<p></p>
|
||||
<img alt="musrStep_1_0.png" src="../pub/MUSR/MusrGui/musrStep_1_0.png" />
|
||||
<p></p>
|
||||
When clicking on ' <code>Modify Selected</code> ' the above dialogue will be presented. It allows to manipulate all selected fir parameter step values according to the following rules <ol>
|
||||
<li> ' <code>Scale by Factor</code> ' will scale the step value by the factor given in the field (2). If the ' <code>Absolute Value</code> ' check box is selected, rather than scaling the factor value will be used to modify the step value.
|
||||
</li> <li> Scaling factor or absolute value to modify the step values of the selected fit parameters.
|
||||
</li> <li> checking the ' <code>Absolute Value</code> ' check box will change the meaning from <code>Scale by Factor</code> to <code>Copy Factor Value</code>.
|
||||
</li> <li> ' <code>Scale Automatically</code> ' will modify the step values of the selected fit parameters according to the rules described before.
|
||||
</li> <li> ' <code>Cancel</code> ' will cancel the dialogue.
|
||||
</li></ol>
|
||||
<p></p>
|
||||
<span id="BugTracking"></span>
|
||||
<h1 id="A_5_Bugtracking"> 5 Bugtracking </h1>
|
||||
<h1 id="A_6_Bugtracking"> 6 Bugtracking </h1>
|
||||
<p></p>
|
||||
For reporting bugs or requesting new features and improvements please use the <a href="https://bitbucket.org/muonspin/musrfit/issues">Bitbucket Tracker</a>, <a href="https://tracker.psi.ch/jira/browse/MUSR/">PSI Tracker</a> (PSI account needed) or send an e-mail to A. Suter.
|
||||
<p></p>
|
||||
-- <a href="http://www.psi.ch/low-energy-muons/people">AS</a> & <a href="http://www.fsf.org/register_form?referrer=8369">BMW</a></div>
|
||||
For reporting bugs or requesting new features and improvements please use the <a href="https://bitbucket.org/muonspin/musrfit/issues">Bitbucket Tracker</a>, <a href="https://tracker.psi.ch/jira/browse/MUSR/">PSI Tracker</a> (PSI account needed) or send an e-mail to A. Suter.</div>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<br class="imageClear" clear="all"/><div class="foswikiAttachments">
|
||||
<div class="twistyPlugin foswikiMakeVisible"><span id="topicattachmentslist1show" style="display:none" class="twistyRememberSetting twistyTrigger foswikiUnvisited twistyInited"><a href="#" class="patternTwistyButton"><img src="../pub/System/DocumentGraphics/toggleopen.png" border="0" alt="" /><span class="foswikiLinkLabel foswikiUnvisited">Attachments <span class='foswikiSmall foswikiGrayText'>1</span></span></a></span><span id="topicattachmentslist1hide" style="display:none" class="twistyRememberSetting twistyTrigger foswikiUnvisited twistyInited"><a class="patternTwistyButton" href="#"><img src="../pub/System/DocumentGraphics/toggleclose.png" border="0" alt="" /><span class="foswikiLinkLabel foswikiUnvisited">Attachments <span class='foswikiSmall foswikiGrayText'>1</span></span></a></span></div><div class="twistyPlugin"><div id="topicattachmentslist1toggle" style="" class="twistyRememberSetting twistyContent twistyInited">
|
||||
<table border="1" class="foswikiTable" summary="Topic attachments" rules="none" id="tableMusrGui1"><caption>Topic attachments</caption>
|
||||
<div class="twistyPlugin foswikiMakeVisible"><span id="topicattachmentslist1show" style="display:none" class="twistyRememberSetting twistyTrigger foswikiUnvisited twistyInited"><a class="patternTwistyButton" href="#"><img src="../pub/System/DocumentGraphics/toggleopen.png" border="0" alt="" /><span class="foswikiLinkLabel foswikiUnvisited">Attachments <span class='foswikiSmall foswikiGrayText'>1</span></span></a></span><span id="topicattachmentslist1hide" style="display:none" class="twistyRememberSetting twistyTrigger foswikiUnvisited twistyInited"><a class="patternTwistyButton" href="#"><img src="../pub/System/DocumentGraphics/toggleclose.png" border="0" alt="" /><span class="foswikiLinkLabel foswikiUnvisited">Attachments <span class='foswikiSmall foswikiGrayText'>1</span></span></a></span></div><div class="twistyPlugin"><div id="topicattachmentslist1toggle" style="" class="twistyRememberSetting twistyContent twistyInited">
|
||||
<table border="1" class="foswikiTable" id="tableMusrGui1" rules="none" summary="Topic attachments"><caption>Topic attachments</caption>
|
||||
<thead>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/MusrGui?cover=print;sortcol=0;table=1;up=0#sorted_table" title="Sort by this column" rel="nofollow">I</a> </th>
|
||||
<th class="foswikiTableCol1"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/MusrGui?cover=print;sortcol=1;table=1;up=0#sorted_table">Attachment</a> </th>
|
||||
<th class="foswikiTableCol2"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/MusrGui?cover=print;sortcol=2;table=1;up=0#sorted_table">Action</a> </th>
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/MusrGui?cover=print;sortcol=0;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">I</a> </th>
|
||||
<th class="foswikiTableCol1"> <a href="https://intranet.psi.ch/MUSR/MusrGui?cover=print;sortcol=1;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Attachment</a> </th>
|
||||
<th class="foswikiTableCol2"> <a href="https://intranet.psi.ch/MUSR/MusrGui?cover=print;sortcol=2;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Action</a> </th>
|
||||
<th class="foswikiTableCol3"> <a href="https://intranet.psi.ch/MUSR/MusrGui?cover=print;sortcol=3;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Size</a> </th>
|
||||
<th class="foswikiTableCol4"> <a href="https://intranet.psi.ch/MUSR/MusrGui?cover=print;sortcol=4;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Date</a> </th>
|
||||
<th class="foswikiTableCol5"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/MusrGui?cover=print;sortcol=5;table=1;up=0#sorted_table">Who</a> </th>
|
||||
<th class="foswikiTableCol6 foswikiLastCol"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/MusrGui?cover=print;sortcol=6;table=1;up=0#sorted_table">Comment</a> </th>
|
||||
<th class="foswikiTableCol5"> <a href="https://intranet.psi.ch/MUSR/MusrGui?cover=print;sortcol=5;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Who</a> </th>
|
||||
<th class="foswikiTableCol6 foswikiLastCol"> <a href="https://intranet.psi.ch/MUSR/MusrGui?cover=print;sortcol=6;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Comment</a> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -368,19 +505,19 @@ For reporting bugs or requesting new features and improvements please use the <a
|
||||
<td class="foswikiTableCol0 foswikiFirstCol foswikiLast"> <span class='foswikiIcon'><img src='../pub/System/DocumentGraphics/png.png' width='16' height='16' alt='musrgui-editor-v0.png' /></span><span class="foswikiHidden">png</span> </td>
|
||||
<td class="foswikiTableCol1 foswikiLast"> <a href="../pub/MUSR/MusrGui/musrgui-editor-v0.png">musrgui-editor-v0.png</a> </td>
|
||||
<td class="foswikiTableCol2 foswikiLast"> <a href="https://intranet.psi.ch/wiki/bin/attach/MUSR/MusrGui?filename=musrgui-editor-v0.png;revInfo=1" title="change, update, previous revisions, move, delete..." rel="nofollow">manage</a> </td>
|
||||
<td style="text-align:right" class="foswikiTableCol3 foswikiLast"> 37 K </td>
|
||||
<td class="foswikiTableCol3 foswikiLast" style="text-align:right"> 37 K </td>
|
||||
<td class="foswikiTableCol4 foswikiLast"> <span class="foswikiNoBreak">10 Apr 2009 - 14:53</span> </td>
|
||||
<td class="foswikiTableCol5 foswikiLast"> <a href="https://intranet.psi.ch/Main/UnknownUser">UnknownUser</a> </td>
|
||||
<td class="foswikiTableCol6 foswikiLastCol foswikiLast"> musrgui options available upon right clicking a open msr-file </td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</div></div></div></div>
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a href="WebHome.html" class="foswikiCurrentWebHomeLink">WebHome</a> > <a href="MusrFit.html">MusrFit</a><span class='foswikiSeparator'> > </span>MusrGui <br />
|
||||
Topic revision: <span class='patternRevInfo'>19 Feb 2015, suter_a</span></div>
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span><a class="foswikiCurrentWebHomeLink" href="WebHome.html">WebHome</a> > <a href="MusrFit.html">MusrFit</a><span class='foswikiSeparator'> > </span>MusrGui <br />
|
||||
Topic revision: <span class='patternRevInfo'>14 May 2017, <a href="https://intranet.psi.ch/Main/AndreasSuter">AndreasSuter</a></span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:andre.lichtsteiner@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.MusrGui'>Send feedback</a></div></div></div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:thomas.buecklers@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.MusrGui'>Send feedback</a></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -394,6 +531,5 @@ Topic revision: <span class='patternRevInfo'>19 Feb 2015, suter_a</span></div>
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrGui?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:22 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrGui?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:56 GMT -->
|
||||
</html>
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en">
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrRoot?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:05 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrRoot?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:39 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="../pub/System/HeadlinesPlugin/style.css" type="text/css" media="all" />
|
||||
<title> MUSR :: MusrRoot</title>
|
||||
@ -14,12 +14,12 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<link rel="icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/MusrRoot?t=1453475518" type="application/x-wiki" title="edit MusrRoot" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/MusrRoot?t=1528465295" type="application/x-wiki" title="edit MusrRoot" />
|
||||
<meta name="TEXT_NUM_TOPICS" content="Number of topics:" />
|
||||
<meta name="TEXT_MODIFY_SEARCH" content="Modify search" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRsshtml.html" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRss" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<link class='head JQUERYPLUGIN::TWISTY' rel='stylesheet' href='../pub/System/TwistyPlugin/twisty327a.css?version=1.6.0' type='text/css' media='all' /><!--JQUERYPLUGIN::TWISTY: requires= missing ids: JavascriptFiles/foswikiPref-->
|
||||
<style class='head TABLEPLUGIN_default' type="text/css" media="all">
|
||||
body .foswikiTable {border-width:1px}
|
||||
body .foswikiTable .tableSortIcon img {padding-left:.3em; vertical-align:text-bottom}
|
||||
@ -34,6 +34,9 @@ body .foswikiTable tr.foswikiTableRowdataBg0 td.foswikiSortedCol {background-col
|
||||
body .foswikiTable tr.foswikiTableRowdataBg1 td {background-color:#f7f7f6}
|
||||
body .foswikiTable tr.foswikiTableRowdataBg1 td.foswikiSortedCol {background-color:#f0f0ee}
|
||||
</style><!--TABLEPLUGIN_default-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<link class='head IMAGEPLUGIN' rel="stylesheet" href="../pub/System/ImagePlugin/style.css" type="text/css" media="all" /><!--IMAGEPLUGIN-->
|
||||
<style class='head TABLEPLUGIN_specific' type="text/css" media="all">
|
||||
body .foswikiTable#tableMusrRoot7 td {vertical-align:middle; vertical-align:top}
|
||||
body .foswikiTable#tableMusrRoot7 td.foswikiTableCol0 {text-align:left}
|
||||
@ -52,10 +55,7 @@ body .foswikiTable#tableMusrRoot7 th.foswikiSortedCol {background-color:#eeeeee}
|
||||
body .foswikiTable#tableMusrRoot7 tr.foswikiTableRowdataBg0 td {background-color:#ffffff}
|
||||
body .foswikiTable#tableMusrRoot7 tr.foswikiTableRowdataBg0 td.foswikiSortedCol {background-color:#f5f5f5}
|
||||
</style><!--TABLEPLUGIN_specific-->
|
||||
<link class='head IMAGEPLUGIN' rel="stylesheet" href="../pub/System/ImagePlugin/style.css" type="text/css" media="all" /><!--IMAGEPLUGIN-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<link class='head JQUERYPLUGIN::TWISTY' rel='stylesheet' href='../pub/System/TwistyPlugin/twisty327a.css?version=1.6.0' type='text/css' media='all' /><!--JQUERYPLUGIN::TWISTY: requires= missing ids: JavascriptFiles/foswikiPref--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<style type="text/css" media="all">
|
||||
@import url('../pub/System/PatternSkinTheme/layout.css');
|
||||
@import url('../pub/System/PatternSkinTheme2009/style.css');
|
||||
@ -135,19 +135,19 @@ body .foswikiTable#tableMusrRoot7 tr.foswikiTableRowdataBg0 td.foswikiSortedCol
|
||||
|
||||
<!--<![endif]-->
|
||||
<!--JQUERYPLUGIN-->
|
||||
<!--JQUERYPLUGIN::MIGRATE-->
|
||||
<!--JQUERYPLUGIN::LIVEQUERY-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI-->
|
||||
<!--JQUERYPLUGIN::MIGRATE-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--PatternSkin/pattern-->
|
||||
<!--JQUERYPLUGIN::TWISTY-->
|
||||
<!--JQUERYPLUGIN::METADATA-->
|
||||
|
||||
<!--JQUERYPLUGIN::CHILI--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<!--JQUERYPLUGIN::CHILI-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern-->
|
||||
<!--JQUERYPLUGIN::TWISTY--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
</head>
|
||||
<body class="foswikiNoJs patternViewPage patternPrintPage">
|
||||
<span id="PageTop"></span><div class="foswikiPage"><div id="patternScreen">
|
||||
@ -246,35 +246,35 @@ RunHeader (TFolder) ---|
|
||||
|- BeamlineInfo (TObjArray)
|
||||
</pre>
|
||||
<p></p>
|
||||
In brackets the object type is given. <code>RunInfo</code> contains most information relevant for the user and will be itemized Sec. <a href="#RunInfo" class="foswikiCurrentTopicLink">RunInfo Overview</a> and <a href="#RunInfoRequired" class="foswikiCurrentTopicLink">RunInfo Required</a>. <code>DetectorInfo</code> contains detector specific information, like detector name, time zero bin, etc. (details in Sec. <a href="#DetectorInfoRequired" class="foswikiCurrentTopicLink">DetectorInfo Required</a>). <code>SampleEnvironmentInfo</code> (details in Sec. <a class="foswikiCurrentTopicLink" href="#SampleEnvironmentInfoRequired">SampleEnvironmentInfo Required</a>), and <code>MagneticFieldEnvironmentInfo</code> (details in Sec. <a href="#MagneticFieldEnvironmentInfoRequired" class="foswikiCurrentTopicLink">MagneticFieldEnvironmentInfo Required</a>) store additional, more detailed information concerning the sample environment. <code>BeamlineInfo</code> stores beamline relevant information (details in Sec. <a class="foswikiCurrentTopicLink" href="#BeamlineInfoRequired">BeamlineInfo Required</a>).
|
||||
In brackets the object type is given. <code>RunInfo</code> contains most information relevant for the user and will be itemized Sec. <a class="foswikiCurrentTopicLink" href="#RunInfo">RunInfo Overview</a> and <a class="foswikiCurrentTopicLink" href="#RunInfoRequired">RunInfo Required</a>. <code>DetectorInfo</code> contains detector specific information, like detector name, time zero bin, etc. (details in Sec. <a class="foswikiCurrentTopicLink" href="#DetectorInfoRequired">DetectorInfo Required</a>). <code>SampleEnvironmentInfo</code> (details in Sec. <a class="foswikiCurrentTopicLink" href="#SampleEnvironmentInfoRequired">SampleEnvironmentInfo Required</a>), and <code>MagneticFieldEnvironmentInfo</code> (details in Sec. <a class="foswikiCurrentTopicLink" href="#MagneticFieldEnvironmentInfoRequired">MagneticFieldEnvironmentInfo Required</a>) store additional, more detailed information concerning the sample environment. <code>BeamlineInfo</code> stores beamline relevant information (details in Sec. <a class="foswikiCurrentTopicLink" href="#BeamlineInfoRequired">BeamlineInfo Required</a>).
|
||||
<p></p>
|
||||
Before elaborating more on the required items within this structure, a few words on the <code>ROOT</code> types used here: <code>RunHeader</code> is a <code>TFolder</code> object. All the "sub-directory" entries are of type <code>TObjArray</code> and collect items of type <code>TObjString</code> or other <code>TObjArray</code> (<em>i.e.</em> sub-directories and sub-sub-directories, etc.).
|
||||
<p></p>
|
||||
<span id="RunInfo"></span>
|
||||
<h3 id="A_3.1.1_61RunInfo_61_Overview"> 3.1.1 <code>RunInfo</code> Overview </h3>
|
||||
<p></p>
|
||||
<table rules="none" border="1" class="foswikiTable">
|
||||
<table border="1" class="foswikiTable" rules="none">
|
||||
<thead>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=0;table=1;up=0#sorted_table" title="Sort by this column" rel="nofollow">Name</a> </th>
|
||||
<th class="foswikiTableCol1" style="text-align:center"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=1;table=1;up=0#sorted_table">Internal Type</a> </th>
|
||||
<th style="text-align:center" class="foswikiTableCol2 foswikiLastCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=2;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Comment</a> </th>
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=0;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Name</a> </th>
|
||||
<th class="foswikiTableCol1" style="text-align:center"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=1;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Internal Type</a> </th>
|
||||
<th class="foswikiTableCol2 foswikiLastCol" style="text-align:center"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=2;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Comment</a> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Version </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> SVN version of <code>TMusrRunHeader</code> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Generic Validator URL </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td style="text-align:center" class="foswikiTableCol2 foswikiLastCol"> URL of the generic <code>MusrRoot</code> validation xsd-file. </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol" style="text-align:center"> URL of the generic <code>MusrRoot</code> validation xsd-file. </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Specific Validator URL </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol" style="text-align:center"> URL of the instrument specific validation xsd-file. </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
@ -299,7 +299,7 @@ Before elaborating more on the required items within this structure, a few words
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Run Title </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
@ -324,7 +324,7 @@ Before elaborating more on the required items within this structure, a few words
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Laboratory </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> <em>e.g.</em> PSI </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
@ -354,7 +354,7 @@ Before elaborating more on the required items within this structure, a few words
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Setup </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
@ -364,7 +364,7 @@ Before elaborating more on the required items within this structure, a few words
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Sample Name </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
@ -384,12 +384,12 @@ Before elaborating more on the required items within this structure, a few words
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Time Resolution </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TMusrRunPhysicalQuantity</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TMusrRunPhysicalQuantity</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> <em>e.g.</em> 0.1953125 ns </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol foswikiLast"> RedGreen Offsets </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1 foswikiLast"> <code>TIntVector</code> </td>
|
||||
<td class="foswikiTableCol1 foswikiLast" style="text-align:center"> <code>TIntVector</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol foswikiLast"> <em>e.g.</em> 0; 20 </td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
@ -423,13 +423,13 @@ Even though the first approach is very clean, it would mean a lot of maintenance
|
||||
<li> Strings, represented by <code>TString</code>
|
||||
</li> <li> Integers, represented by <code>Int_t</code>
|
||||
</li> <li> Floating point numbers, represented by <code>Double_t</code>
|
||||
</li> <li> Physical quantities, represented by <a href="#TMusrRunPhysicalQuantity" class="foswikiCurrentTopicLink"><code>TMusrRunPhysicalQuantity</code> - Possible Representations</a>
|
||||
</li> <li> Physical quantities, represented by <a class="foswikiCurrentTopicLink" href="#TMusrRunPhysicalQuantity"><code>TMusrRunPhysicalQuantity</code> - Possible Representations</a>
|
||||
</li> <li> Collection of strings, represented by <code>TStringVector</code>
|
||||
</li> <li> Collection of integers, represented by <code>TIntVector</code>
|
||||
</li> <li> Collection of floating point numbers, represented by <code>TDoubleVector</code>
|
||||
</li></ol>
|
||||
<p></p>
|
||||
These properties can be collected by themselves in form of vectors. This way any needed information can be written into the <code>ROOT</code> file. The class <code>TMusrRunHeader</code> is implementing this run header concept. In following section code snippets will be discussed, showing how this is used on level of the <code>MIDAS</code> analyzer, <code>musrfit</code> reader routine, and <code>any2many</code> conversion routines. The section <a href="#ValidateMusrRoot" class="foswikiCurrentTopicLink">Validation</a> will discuss how to validate <code>MusrRoot</code> files.
|
||||
These properties can be collected by themselves in form of vectors. This way any needed information can be written into the <code>ROOT</code> file. The class <code>TMusrRunHeader</code> is implementing this run header concept. In following section code snippets will be discussed, showing how this is used on level of the <code>MIDAS</code> analyzer, <code>musrfit</code> reader routine, and <code>any2many</code> conversion routines. The section <a class="foswikiCurrentTopicLink" href="#ValidateMusrRoot">Validation</a> will discuss how to validate <code>MusrRoot</code> files.
|
||||
<p></p>
|
||||
<h2 id="A_4.1_User_Interface_for_61MusrRoot_61_Run_Header"> 4.1 User Interface for <code>MusrRoot</code> Run Header </h2>
|
||||
There are two things needed to deal with the <code>MusrRoot</code> run header, namely writing it and reading it. I will start with the writing as will be done in the <code>MIDAS</code> analyzer.
|
||||
@ -450,7 +450,7 @@ header->Set("RunInfo/Run Title", "here comes the run title")
|
||||
header->Set("RunInfo/Run Number", 2871);
|
||||
</pre>
|
||||
<p></p>
|
||||
Adding information is done via the multiple overloaded <code>Set(<pathName>,<value>)</code> method. Here <code><pathName></code> is a string representing the "path" like representation in the <code>MusrRoot</code> file structure, followed by the "value" to be set, <em>e.g.</em> "=File Name=". <code><value></code> can be any of the types listed at the beginning of Sec. <a href="#TMusrRunHeaderConcept" class="foswikiCurrentTopicLink"><code>TMusrRunHeader</code> Concept</a>. Here a few examples how to set <code>TMusrRunPhysicalQuantity</code>.
|
||||
Adding information is done via the multiple overloaded <code>Set(<pathName>,<value>)</code> method. Here <code><pathName></code> is a string representing the "path" like representation in the <code>MusrRoot</code> file structure, followed by the "value" to be set, <em>e.g.</em> "=File Name=". <code><value></code> can be any of the types listed at the beginning of Sec. <a class="foswikiCurrentTopicLink" href="#TMusrRunHeaderConcept"><code>TMusrRunHeader</code> Concept</a>. Here a few examples how to set <code>TMusrRunPhysicalQuantity</code>.
|
||||
<p></p>
|
||||
<pre class="cplusplus">
|
||||
prop.Set("Sample Temperature", 3.2, 3.21, 0.05, "K", "CF1");
|
||||
@ -552,7 +552,7 @@ if (ok) {
|
||||
<h2 id="A_4.2_Validation_of_a_61MusrRoot_61_File"> 4.2 Validation of a <code>MusrRoot</code> File </h2>
|
||||
Since <code>MusrRoot</code> is an open and extensible file format a mechanism is needed to validate that a given file is indeed holding the <em>minimum of required</em> entries. To check this the following scheme is implemented in the program <code>musrRootValidation</code>:
|
||||
<p></p>
|
||||
<img class='imagePlain imagePlain_none ' src='../pub/MUSR/MusrRoot/igp_83c77f15ea1749504415a3ddb97bfa42_MusrRootValidationScheme.png' alt='MusrRootValidationScheme.png' title='MusrRoot validation scheme' width='495' height='700' style='' />
|
||||
<img class='imagePlain imagePlain_none ' src='../pub/MUSR/MusrRoot/igp_f8f224022828dc9d95784de27d20b709_MusrRootValidationScheme.png' alt='MusrRootValidationScheme.png' title='MusrRoot validation scheme' width='495' height='700' style='' />
|
||||
<p></p>
|
||||
<code>MusrRoot</code> validation scheme
|
||||
<p></p>
|
||||
@ -569,23 +569,23 @@ This validation scheme is useful for people which define instrument specific ext
|
||||
<span id="RunInfoRequired"></span>
|
||||
<h1 id="A_5_61RunInfo_61_Required"> 5 <code>RunInfo</code> Required </h1>
|
||||
<p></p>
|
||||
<table class="foswikiTable" border="1" rules="none">
|
||||
<table border="1" class="foswikiTable" rules="none">
|
||||
<thead>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=0;table=2;up=0#sorted_table">Name</a> </th>
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=0;table=2;up=0#sorted_table" rel="nofollow" title="Sort by this column">Name</a> </th>
|
||||
<th class="foswikiTableCol1" style="text-align:center"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=1;table=2;up=0#sorted_table" rel="nofollow" title="Sort by this column">Internal Type</a> </th>
|
||||
<th class="foswikiTableCol2 foswikiLastCol" style="text-align:center"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=2;table=2;up=0#sorted_table" title="Sort by this column" rel="nofollow">Comment</a> </th>
|
||||
<th class="foswikiTableCol2 foswikiLastCol" style="text-align:center"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=2;table=2;up=0#sorted_table" rel="nofollow" title="Sort by this column">Comment</a> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Version </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> SVN version of <code>TMusrRunHeader</code> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Generic Validator URL </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> URL of the generic <code>MusrRoot</code> validation xsd-file. </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
@ -595,7 +595,7 @@ This validation scheme is useful for people which define instrument specific ext
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Specific Validator URL </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> URL of the instrument specific validation xsd-file. </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
@ -615,7 +615,7 @@ This validation scheme is useful for people which define instrument specific ext
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> File Name </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> File name of the <code>MusrRoot</code> file, </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
@ -625,7 +625,7 @@ This validation scheme is useful for people which define instrument specific ext
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Run Title </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
@ -640,7 +640,7 @@ This validation scheme is useful for people which define instrument specific ext
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Run Stop Time </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> ISO 8601 date time </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
@ -650,17 +650,17 @@ This validation scheme is useful for people which define instrument specific ext
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Laboratory </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> <em>e.g.</em> PSI </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Instrument </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> <em>e.g.</em> GPS </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Muon Beam Momentum </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TMusrRunPhysicalQuantity</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TMusrRunPhysicalQuantity</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> <em>e.g.</em> 28.1 MeV/c </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
@ -670,7 +670,7 @@ This validation scheme is useful for people which define instrument specific ext
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Muon Source </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> <em>e.g.</em> Target E - Low Energy Muons or </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
@ -680,7 +680,7 @@ This validation scheme is useful for people which define instrument specific ext
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Setup </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
@ -700,7 +700,7 @@ This validation scheme is useful for people which define instrument specific ext
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Sample Magnetic Field </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TMusrRunPhysicalQuantity</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TMusrRunPhysicalQuantity</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> <em>e.g.</em> 350.002 +- 0.005 G; SP: 350; WXY </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
@ -710,7 +710,7 @@ This validation scheme is useful for people which define instrument specific ext
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Time Resolution </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TMusrRunPhysicalQuantity</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TMusrRunPhysicalQuantity</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> <em>e.g.</em> 0.1953125 ns </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
@ -740,30 +740,30 @@ The numbering of the detectors has to correspond the its histogram, <em>e.g.</em
|
||||
<table border="1" class="foswikiTable" rules="none">
|
||||
<thead>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=0;table=3;up=0#sorted_table">Name</a> </th>
|
||||
<th class="foswikiTableCol1" style="text-align:center"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=1;table=3;up=0#sorted_table">Internal Type</a> </th>
|
||||
<th class="foswikiTableCol2 foswikiLastCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=2;table=3;up=0#sorted_table" title="Sort by this column" rel="nofollow">Comment</a> </th>
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=0;table=3;up=0#sorted_table" rel="nofollow" title="Sort by this column">Name</a> </th>
|
||||
<th class="foswikiTableCol1" style="text-align:center"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=1;table=3;up=0#sorted_table" rel="nofollow" title="Sort by this column">Internal Type</a> </th>
|
||||
<th class="foswikiTableCol2 foswikiLastCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=2;table=3;up=0#sorted_table" rel="nofollow" title="Sort by this column">Comment</a> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Name </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> detector name, <em>e.g.</em> Left-NPP </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Histo Number </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>Int_t</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>Int_t</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> histogram number. This number corresponds to the histogram number in the <code>histos/DecayAnaModule</code> sub-tree. </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Histo Length </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>Int_t</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>Int_t</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> length of the histogram </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> Time Zero Bin </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1"> <code>Double_t</code> </td>
|
||||
<td class="foswikiTableCol1" style="text-align:center"> <code>Double_t</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol"> The type is <code>Double_t</code> since for the high-field spectrometer at PSI an <code>Int_t</code> representation would be not good enough. </td>
|
||||
</tr>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
@ -773,7 +773,7 @@ The numbering of the detectors has to correspond the its histogram, <em>e.g.</em
|
||||
</tr>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol foswikiLast"> Last Good Bin </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1 foswikiLast"> <code>Int_t</code> </td>
|
||||
<td class="foswikiTableCol1 foswikiLast" style="text-align:center"> <code>Int_t</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol foswikiLast"> </td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
@ -782,18 +782,18 @@ The numbering of the detectors has to correspond the its histogram, <em>e.g.</em
|
||||
<h1 id="A_7_61SampleEnvironmentInfo_61_Required"> 7 <code>SampleEnvironmentInfo</code> Required </h1>
|
||||
Here only a single entry is required, namely
|
||||
<p></p>
|
||||
<table rules="none" border="1" class="foswikiTable">
|
||||
<table border="1" class="foswikiTable" rules="none">
|
||||
<thead>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=0;table=4;up=0#sorted_table">Name</a> </th>
|
||||
<th style="text-align:center" class="foswikiTableCol1"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=1;table=4;up=0#sorted_table">Internal Type</a> </th>
|
||||
<th class="foswikiTableCol2 foswikiLastCol"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=2;table=4;up=0#sorted_table">Comment</a> </th>
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=0;table=4;up=0#sorted_table" rel="nofollow" title="Sort by this column">Name</a> </th>
|
||||
<th class="foswikiTableCol1" style="text-align:center"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=1;table=4;up=0#sorted_table" rel="nofollow" title="Sort by this column">Internal Type</a> </th>
|
||||
<th class="foswikiTableCol2 foswikiLastCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=2;table=4;up=0#sorted_table" rel="nofollow" title="Sort by this column">Comment</a> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol foswikiLast"> Cryo </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1 foswikiLast"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1 foswikiLast" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol foswikiLast"> name of the used cryostat, <em>e.g.</em> Konti-2 </td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
@ -803,12 +803,12 @@ Here only a single entry is required, namely
|
||||
<p></p>
|
||||
Here only a single entry is required, namely
|
||||
<p></p>
|
||||
<table class="foswikiTable" border="1" rules="none">
|
||||
<table border="1" class="foswikiTable" rules="none">
|
||||
<thead>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=0;table=5;up=0#sorted_table">Name</a> </th>
|
||||
<th style="text-align:center" class="foswikiTableCol1"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=1;table=5;up=0#sorted_table">Internal Type</a> </th>
|
||||
<th class="foswikiTableCol2 foswikiLastCol"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=2;table=5;up=0#sorted_table">Comment</a> </th>
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=0;table=5;up=0#sorted_table" rel="nofollow" title="Sort by this column">Name</a> </th>
|
||||
<th class="foswikiTableCol1" style="text-align:center"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=1;table=5;up=0#sorted_table" rel="nofollow" title="Sort by this column">Internal Type</a> </th>
|
||||
<th class="foswikiTableCol2 foswikiLastCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=2;table=5;up=0#sorted_table" rel="nofollow" title="Sort by this column">Comment</a> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -820,7 +820,7 @@ Here only a single entry is required, namely
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol foswikiLast"> </td>
|
||||
<td class="foswikiTableCol1 foswikiLast"> </td>
|
||||
<td style="text-align:right" class="foswikiTableCol2 foswikiLastCol foswikiLast"> In case of ZF measurements, there might be an entry like <code>ZF</code>. </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol foswikiLast" style="text-align:right"> In case of ZF measurements, there might be an entry like <code>ZF</code>. </td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
<p></p>
|
||||
@ -829,18 +829,18 @@ Here only a single entry is required, namely
|
||||
<p></p>
|
||||
Here only a single entry is required, namely
|
||||
<p></p>
|
||||
<table rules="none" class="foswikiTable" border="1">
|
||||
<table border="1" class="foswikiTable" rules="none">
|
||||
<thead>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=0;table=6;up=0#sorted_table">Name</a> </th>
|
||||
<th style="text-align:center" class="foswikiTableCol1"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=1;table=6;up=0#sorted_table" rel="nofollow" title="Sort by this column">Internal Type</a> </th>
|
||||
<th class="foswikiTableCol2 foswikiLastCol"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=2;table=6;up=0#sorted_table">Comment</a> </th>
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=0;table=6;up=0#sorted_table" rel="nofollow" title="Sort by this column">Name</a> </th>
|
||||
<th class="foswikiTableCol1" style="text-align:center"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=1;table=6;up=0#sorted_table" rel="nofollow" title="Sort by this column">Internal Type</a> </th>
|
||||
<th class="foswikiTableCol2 foswikiLastCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=2;table=6;up=0#sorted_table" rel="nofollow" title="Sort by this column">Comment</a> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="foswikiTableEven foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<td class="foswikiTableCol0 foswikiFirstCol foswikiLast"> Name </td>
|
||||
<td style="text-align:center" class="foswikiTableCol1 foswikiLast"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol1 foswikiLast" style="text-align:center"> <code>TString</code> </td>
|
||||
<td class="foswikiTableCol2 foswikiLastCol foswikiLast"> name of the beamline, <em>e.g.</em> <code>piM3.2</code>. </td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
@ -1073,15 +1073,15 @@ Result in the <code>RunHeader/SampleEnvironmentInfo</code>:
|
||||
<p></p>
|
||||
<br class="imageClear" clear="all"/><div class="foswikiAttachments">
|
||||
<div class="twistyPlugin foswikiMakeVisible"><span id="topicattachmentslist1show" style="display:none" class="twistyRememberSetting twistyTrigger foswikiUnvisited twistyInited"><a class="patternTwistyButton" href="#"><img src="../pub/System/DocumentGraphics/toggleopen.png" border="0" alt="" /><span class="foswikiLinkLabel foswikiUnvisited">Attachments <span class='foswikiSmall foswikiGrayText'>2</span></span></a></span><span id="topicattachmentslist1hide" style="display:none" class="twistyRememberSetting twistyTrigger foswikiUnvisited twistyInited"><a class="patternTwistyButton" href="#"><img src="../pub/System/DocumentGraphics/toggleclose.png" border="0" alt="" /><span class="foswikiLinkLabel foswikiUnvisited">Attachments <span class='foswikiSmall foswikiGrayText'>2</span></span></a></span></div><div class="twistyPlugin"><div id="topicattachmentslist1toggle" style="" class="twistyRememberSetting twistyContent twistyInited">
|
||||
<table border="1" class="foswikiTable" rules="none" summary="Topic attachments" id="tableMusrRoot7"><caption>Topic attachments</caption>
|
||||
<table border="1" class="foswikiTable" id="tableMusrRoot7" rules="none" summary="Topic attachments"><caption>Topic attachments</caption>
|
||||
<thead>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=0;table=7;up=0#sorted_table">I</a> </th>
|
||||
<th class="foswikiTableCol1"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=1;table=7;up=0#sorted_table">Attachment</a> </th>
|
||||
<th class="foswikiTableCol2"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=2;table=7;up=0#sorted_table">Action</a> </th>
|
||||
<th class="foswikiTableCol3"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=3;table=7;up=0#sorted_table">Size</a> </th>
|
||||
<th class="foswikiTableCol4"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=4;table=7;up=0#sorted_table" title="Sort by this column" rel="nofollow">Date</a> </th>
|
||||
<th class="foswikiTableCol5"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=5;table=7;up=0#sorted_table">Who</a> </th>
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=0;table=7;up=0#sorted_table" rel="nofollow" title="Sort by this column">I</a> </th>
|
||||
<th class="foswikiTableCol1"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=1;table=7;up=0#sorted_table" rel="nofollow" title="Sort by this column">Attachment</a> </th>
|
||||
<th class="foswikiTableCol2"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=2;table=7;up=0#sorted_table" rel="nofollow" title="Sort by this column">Action</a> </th>
|
||||
<th class="foswikiTableCol3"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=3;table=7;up=0#sorted_table" rel="nofollow" title="Sort by this column">Size</a> </th>
|
||||
<th class="foswikiTableCol4"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=4;table=7;up=0#sorted_table" rel="nofollow" title="Sort by this column">Date</a> </th>
|
||||
<th class="foswikiTableCol5"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=5;table=7;up=0#sorted_table" rel="nofollow" title="Sort by this column">Who</a> </th>
|
||||
<th class="foswikiTableCol6 foswikiLastCol"> <a href="https://intranet.psi.ch/MUSR/MusrRoot?cover=print;sortcol=6;table=7;up=0#sorted_table" rel="nofollow" title="Sort by this column">Comment</a> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -1090,7 +1090,7 @@ Result in the <code>RunHeader/SampleEnvironmentInfo</code>:
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> <span class='foswikiIcon'><img src='../pub/System/DocumentGraphics/png.png' width='16' height='16' alt='MusrRootValidationScheme.png' /></span><span class="foswikiHidden">png</span> </td>
|
||||
<td class="foswikiTableCol1"> <a href="../pub/MUSR/MusrRoot/MusrRootValidationScheme.png">MusrRootValidationScheme.png</a> </td>
|
||||
<td class="foswikiTableCol2"> <a href="https://intranet.psi.ch/wiki/bin/attach/MUSR/MusrRoot?filename=MusrRootValidationScheme.png;revInfo=1" title="change, update, previous revisions, move, delete..." rel="nofollow">manage</a> </td>
|
||||
<td style="text-align:right" class="foswikiTableCol3"> 96 K </td>
|
||||
<td class="foswikiTableCol3" style="text-align:right"> 96 K </td>
|
||||
<td class="foswikiTableCol4"> <span class="foswikiNoBreak">29 Mar 2012 - 11:15</span> </td>
|
||||
<td class="foswikiTableCol5"> <a href="https://intranet.psi.ch/Main/UnknownUser">UnknownUser</a> </td>
|
||||
<td class="foswikiTableCol6 foswikiLastCol"> </td>
|
||||
@ -1099,7 +1099,7 @@ Result in the <code>RunHeader/SampleEnvironmentInfo</code>:
|
||||
<td class="foswikiTableCol0 foswikiFirstCol foswikiLast"> <span class='foswikiIcon'><img src='../pub/System/DocumentGraphics/png.png' width='16' height='16' alt='RunInfo.png' /></span><span class="foswikiHidden">png</span> </td>
|
||||
<td class="foswikiTableCol1 foswikiLast"> <a href="../pub/MUSR/MusrRoot/RunInfo.png">RunInfo.png</a> </td>
|
||||
<td class="foswikiTableCol2 foswikiLast"> <a href="https://intranet.psi.ch/wiki/bin/attach/MUSR/MusrRoot?filename=RunInfo.png;revInfo=1" title="change, update, previous revisions, move, delete..." rel="nofollow">manage</a> </td>
|
||||
<td style="text-align:right" class="foswikiTableCol3 foswikiLast"> 53 K </td>
|
||||
<td class="foswikiTableCol3 foswikiLast" style="text-align:right"> 53 K </td>
|
||||
<td class="foswikiTableCol4 foswikiLast"> <span class="foswikiNoBreak">27 Mar 2012 - 16:09</span> </td>
|
||||
<td class="foswikiTableCol5 foswikiLast"> <a href="https://intranet.psi.ch/Main/UnknownUser">UnknownUser</a> </td>
|
||||
<td class="foswikiTableCol6 foswikiLastCol foswikiLast"> </td>
|
||||
@ -1111,7 +1111,7 @@ Topic revision: <span class='patternRevInfo'>29 Mar 2012, suter_a</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:andre.lichtsteiner@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.MusrRoot'>Send feedback</a></div></div></div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:thomas.buecklers@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.MusrRoot'>Send feedback</a></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1125,6 +1125,5 @@ Topic revision: <span class='patternRevInfo'>29 Mar 2012, suter_a</span></div>
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrRoot?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:11 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/MusrRoot?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:45 GMT -->
|
||||
</html>
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en">
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/QuickStart?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:19 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/QuickStart?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:50 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="../pub/System/HeadlinesPlugin/style.css" type="text/css" media="all" />
|
||||
<title> MUSR :: QuickStart</title>
|
||||
@ -14,14 +14,14 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<link rel="icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/QuickStart?t=1453475520" type="application/x-wiki" title="edit QuickStart" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/QuickStart?t=1528465296" type="application/x-wiki" title="edit QuickStart" />
|
||||
<meta name="TEXT_NUM_TOPICS" content="Number of topics:" />
|
||||
<meta name="TEXT_MODIFY_SEARCH" content="Modify search" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRsshtml.html" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRss" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<style type="text/css" media="all">
|
||||
@import url('../pub/System/PatternSkinTheme/layout.css');
|
||||
@import url('../pub/System/PatternSkinTheme2009/style.css');
|
||||
@ -101,15 +101,15 @@
|
||||
|
||||
<!--<![endif]-->
|
||||
<!--JQUERYPLUGIN-->
|
||||
<!--JQUERYPLUGIN::MIGRATE-->
|
||||
<!--JQUERYPLUGIN::LIVEQUERY-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI-->
|
||||
<!--JQUERYPLUGIN::MIGRATE-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--PatternSkin/pattern-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JQUERYPLUGIN::COMMENT--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
</head>
|
||||
<body class="foswikiNoJs patternViewPage patternPrintPage">
|
||||
<span id="PageTop"></span><div class="foswikiPage"><div id="patternScreen">
|
||||
@ -271,7 +271,7 @@ Topic revision: <span class='patternRevInfo'>10 Jul 2011, wojek</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:andre.lichtsteiner@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.QuickStart'>Send feedback</a></div></div></div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:thomas.buecklers@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.QuickStart'>Send feedback</a></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -285,6 +285,5 @@ Topic revision: <span class='patternRevInfo'>10 Jul 2011, wojek</span></div>
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/QuickStart?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:20 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/QuickStart?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:50 GMT -->
|
||||
</html>
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en">
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:16 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:47 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="../pub/System/HeadlinesPlugin/style.css" type="text/css" media="all" />
|
||||
<title> MUSR :: TutorialSingleHisto</title>
|
||||
@ -14,12 +14,11 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<link rel="icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/TutorialSingleHisto?t=1453475520" type="application/x-wiki" title="edit TutorialSingleHisto" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/TutorialSingleHisto?t=1528465296" type="application/x-wiki" title="edit TutorialSingleHisto" />
|
||||
<meta name="TEXT_NUM_TOPICS" content="Number of topics:" />
|
||||
<meta name="TEXT_MODIFY_SEARCH" content="Modify search" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRsshtml.html" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<style class='head TABLEPLUGIN_default' type="text/css" media="all">
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRss" />
|
||||
<base /><!--[if IE]></base><![endif]--><style class='head TABLEPLUGIN_default' type="text/css" media="all">
|
||||
body .foswikiTable {border-width:1px}
|
||||
body .foswikiTable .tableSortIcon img {padding-left:.3em; vertical-align:text-bottom}
|
||||
body .foswikiTable td {border-style:solid none; vertical-align:top}
|
||||
@ -33,6 +32,12 @@ body .foswikiTable tr.foswikiTableRowdataBg0 td.foswikiSortedCol {background-col
|
||||
body .foswikiTable tr.foswikiTableRowdataBg1 td {background-color:#f7f7f6}
|
||||
body .foswikiTable tr.foswikiTableRowdataBg1 td.foswikiSortedCol {background-color:#f0f0ee}
|
||||
</style><!--TABLEPLUGIN_default-->
|
||||
<link class='head JQUERYPLUGIN::TWISTY' rel='stylesheet' href='../pub/System/TwistyPlugin/twisty327a.css?version=1.6.0' type='text/css' media='all' /><!--JQUERYPLUGIN::TWISTY: requires= missing ids: JavascriptFiles/foswikiPref-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<link class='head IMAGEPLUGIN' rel="stylesheet" href="../pub/System/ImagePlugin/style.css" type="text/css" media="all" /><!--IMAGEPLUGIN-->
|
||||
<link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<style class='head TABLEPLUGIN_specific' type="text/css" media="all">
|
||||
body .foswikiTable#tableTutorialSingleHisto1 td {vertical-align:middle; vertical-align:top}
|
||||
body .foswikiTable#tableTutorialSingleHisto1 td.foswikiTableCol0 {text-align:left}
|
||||
@ -50,12 +55,7 @@ body .foswikiTable#tableTutorialSingleHisto1 th a:hover {color:#0066cc; backgrou
|
||||
body .foswikiTable#tableTutorialSingleHisto1 th.foswikiSortedCol {background-color:#eeeeee}
|
||||
body .foswikiTable#tableTutorialSingleHisto1 tr.foswikiTableRowdataBg0 td {background-color:#ffffff}
|
||||
body .foswikiTable#tableTutorialSingleHisto1 tr.foswikiTableRowdataBg0 td.foswikiSortedCol {background-color:#f5f5f5}
|
||||
</style><!--TABLEPLUGIN_specific-->
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<link class='head JQUERYPLUGIN::TWISTY' rel='stylesheet' href='../pub/System/TwistyPlugin/twisty327a.css?version=1.6.0' type='text/css' media='all' /><!--JQUERYPLUGIN::TWISTY: requires= missing ids: JavascriptFiles/foswikiPref-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head IMAGEPLUGIN' rel="stylesheet" href="../pub/System/ImagePlugin/style.css" type="text/css" media="all" /><!--IMAGEPLUGIN-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
</style><!--TABLEPLUGIN_specific--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<style type="text/css" media="all">
|
||||
@import url('../pub/System/PatternSkinTheme/layout.css');
|
||||
@import url('../pub/System/PatternSkinTheme2009/style.css');
|
||||
@ -138,13 +138,13 @@ body .foswikiTable#tableTutorialSingleHisto1 tr.foswikiTableRowdataBg0 td.foswik
|
||||
<!--JQUERYPLUGIN::MIGRATE-->
|
||||
<!--JQUERYPLUGIN::LIVEQUERY-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern-->
|
||||
<!--JQUERYPLUGIN::TWISTY-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JQUERYPLUGIN::COMMENT--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
</head>
|
||||
<body class="foswikiNoJs patternViewPage patternPrintPage">
|
||||
<span id="PageTop"></span><div class="foswikiPage"><div id="patternScreen">
|
||||
@ -270,15 +270,15 @@ STATISTIC --- 2011-07-09 10:58:44
|
||||
</li></ul>
|
||||
<p></p>
|
||||
<h1 id="A_2_Determine_t0_and_the_data_range_using_61musrt0_61"> 2 Determine <i>t</i><sub>0</sub> and the data range using <code>musrt0</code> </h1>
|
||||
Before the given model can be fitted to the data, the data ranges and time zeros of the different RUN blocks have to be set correctly. This can be achieved using <code><a href="MusrFit.html#MusrT0">musrt0</a></code>. Starting this program by selecting the <img alt="musrt0.png" src="../pub/MUSR/MusrGui/musrt0.png" /> button in <code>musredit</code> or calling from a terminal <pre>musrt0 3110_tutorial.msr</pre> opens an interactive window plotting the data of the first RUN block:<br />
|
||||
Before the given model can be fitted to the data, the data ranges and time zeros of the different RUN blocks have to be set correctly. This can be achieved using <code><a href="MusrFit.html#MusrT0">musrt0</a></code>. Starting this program by selecting the <img alt="musrt0.png" src="../pub/MUSR/MusrGui/musrt0.html" /> button in <code>musredit</code> or calling from a terminal <pre>musrt0 3110_tutorial.msr</pre> opens an interactive window plotting the data of the first RUN block:<br />
|
||||
<img class='imagePlain imagePlain_center ' src='../pub/MUSR/TutorialSingleHisto/musrt0-1.png' alt='musrt0-1' title='musrt0-1.png' width='708' height='529' style='' /><br />
|
||||
The green line (at bin 1) represents time zero, the blue lines the start (at bin 1) and end (at bin 8000) of the data range and the optional red lines give the limits of the background range (if the background shall not be determined by the fit). All lines can be either dragged to reasonable locations or set by pressing the corresponding keyboard shortcuts. In the example the time zero can be set by pressing <strong>T</strong> (which moves the green line to the bin containing the maximum number of counts), the start of the data range should be set to about five bins later by zooming into the graph around bin 250 and pressing <strong>d</strong> when the cursor is found at a suitable location:<br />
|
||||
<img class='imagePlain imagePlain_center ' src='../pub/MUSR/TutorialSingleHisto/igp_dabb07604d494aa45c41710849314460_musrt0-2.png' alt='musrt0-2' title='musrt0-2.png' width='688' height='529' style='' /><br />
|
||||
<img class='imagePlain imagePlain_center ' src='../pub/MUSR/TutorialSingleHisto/igp_9c0f9b31d4414f37be0d3d171836fe63_musrt0-2.png' alt='musrt0-2' title='musrt0-2.png' width='688' height='529' style='' /><br />
|
||||
After all lines have been adjusted for the first histogram, one can go on to the second by pressing <strong>q</strong>. This procedure is repeated until all ranges have been set correctly. When finished with the last histogram the new <i>t</i><sub>0</sub> and data-range values will be written to the <code>msr</code> file.
|
||||
A full description of <code>musrt0</code> can be found <a href="MusrFit.html#MusrT0">here</a>.
|
||||
<p></p>
|
||||
<h1 id="A_3_Fit_the_model_to_the_data_using_61musrfit_61"> 3 Fit the model to the data using <code>musrfit</code> </h1>
|
||||
Now that the basics of the <code>msr</code> file have been introduced and the necessary adjustments have been done one can proceed with fitting the specified model to the data. This is done by selecting the <img src="../pub/MUSR/MusrGui/musrfit.png" alt="musrfit.png" /> button in <code>musredit</code> or calling from a terminal <pre>musrfit 3110_tutorial.msr</pre>
|
||||
Now that the basics of the <code>msr</code> file have been introduced and the necessary adjustments have been done one can proceed with fitting the specified model to the data. This is done by selecting the <img alt="musrfit.png" src="../pub/MUSR/MusrGui/musrfit.html" /> button in <code>musredit</code> or calling from a terminal <pre>musrfit 3110_tutorial.msr</pre>
|
||||
<p></p>
|
||||
After the fitting procedure has finished the <code>msr</code> file is updated and contains the newly determined values of the fit parameters.
|
||||
<p></p>
|
||||
@ -298,7 +298,7 @@ Assuming the successive runs <strong>3111</strong> through <strong>3114</strong>
|
||||
From the terminal this would be done as follows:<pre>
|
||||
msr2data 3110 3114 _tutorial fit-3110 -o tutorial-T-dependence.dat data
|
||||
</pre>
|
||||
To achieve the same in <code>musredit</code> one selects <img alt="musrmsr2data.png" src="../pub/MUSR/MusrGui/musrmsr2data.png" /> and fills the form accordingly:<br />
|
||||
To achieve the same in <code>musredit</code> one selects <img alt="musrmsr2data.png" src="../pub/MUSR/MusrGui/musrmsr2data.html" /> and fills the form accordingly:<br />
|
||||
<img class='imagePlain imagePlain_center ' src='../pub/MUSR/TutorialSingleHisto/msr2data.png' alt='msr2data' title='msr2data.png' width='612' height='605' style='' />
|
||||
<p></p>
|
||||
<h1 id="A_6_Further_reading"> 6 Further reading </h1>
|
||||
@ -312,15 +312,15 @@ This page only summarizes the very basic features and options of the programs co
|
||||
<p></p>
|
||||
<p></p>
|
||||
<br class="imageClear" clear="all"/><div class="foswikiAttachments">
|
||||
<div class="twistyPlugin foswikiMakeVisible"><span id="topicattachmentslist1show" style="display:none" class="twistyRememberSetting twistyTrigger foswikiUnvisited twistyInited"><a href="#" class="patternTwistyButton"><img src="../pub/System/DocumentGraphics/toggleopen.png" border="0" alt="" /><span class="foswikiLinkLabel foswikiUnvisited">Attachments <span class='foswikiSmall foswikiGrayText'>6</span></span></a></span><span id="topicattachmentslist1hide" style="display:none" class="twistyRememberSetting twistyTrigger foswikiUnvisited twistyInited"><a class="patternTwistyButton" href="#"><img src="../pub/System/DocumentGraphics/toggleclose.png" border="0" alt="" /><span class="foswikiLinkLabel foswikiUnvisited">Attachments <span class='foswikiSmall foswikiGrayText'>6</span></span></a></span></div><div class="twistyPlugin"><div id="topicattachmentslist1toggle" style="" class="twistyRememberSetting twistyContent twistyInited">
|
||||
<table id="tableTutorialSingleHisto1" rules="none" summary="Topic attachments" class="foswikiTable" border="1"><caption>Topic attachments</caption>
|
||||
<div class="twistyPlugin foswikiMakeVisible"><span id="topicattachmentslist1show" style="display:none" class="twistyRememberSetting twistyTrigger foswikiUnvisited twistyInited"><a class="patternTwistyButton" href="#"><img src="../pub/System/DocumentGraphics/toggleopen.png" border="0" alt="" /><span class="foswikiLinkLabel foswikiUnvisited">Attachments <span class='foswikiSmall foswikiGrayText'>6</span></span></a></span><span id="topicattachmentslist1hide" style="display:none" class="twistyRememberSetting twistyTrigger foswikiUnvisited twistyInited"><a class="patternTwistyButton" href="#"><img src="../pub/System/DocumentGraphics/toggleclose.png" border="0" alt="" /><span class="foswikiLinkLabel foswikiUnvisited">Attachments <span class='foswikiSmall foswikiGrayText'>6</span></span></a></span></div><div class="twistyPlugin"><div id="topicattachmentslist1toggle" style="" class="twistyRememberSetting twistyContent twistyInited">
|
||||
<table border="1" class="foswikiTable" id="tableTutorialSingleHisto1" rules="none" summary="Topic attachments"><caption>Topic attachments</caption>
|
||||
<thead>
|
||||
<tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
|
||||
<th class="foswikiTableCol0 foswikiFirstCol"> <a href="https://intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print;sortcol=0;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">I</a> </th>
|
||||
<th class="foswikiTableCol1"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print;sortcol=1;table=1;up=0#sorted_table">Attachment</a> </th>
|
||||
<th class="foswikiTableCol2"> <a rel="nofollow" title="Sort by this column" href="https://intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print;sortcol=2;table=1;up=0#sorted_table">Action</a> </th>
|
||||
<th class="foswikiTableCol3"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print;sortcol=3;table=1;up=0#sorted_table">Size</a> </th>
|
||||
<th class="foswikiTableCol4"> <a title="Sort by this column" rel="nofollow" href="https://intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print;sortcol=4;table=1;up=0#sorted_table">Date</a> </th>
|
||||
<th class="foswikiTableCol1"> <a href="https://intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print;sortcol=1;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Attachment</a> </th>
|
||||
<th class="foswikiTableCol2"> <a href="https://intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print;sortcol=2;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Action</a> </th>
|
||||
<th class="foswikiTableCol3"> <a href="https://intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print;sortcol=3;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Size</a> </th>
|
||||
<th class="foswikiTableCol4"> <a href="https://intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print;sortcol=4;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Date</a> </th>
|
||||
<th class="foswikiTableCol5"> <a href="https://intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print;sortcol=5;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Who</a> </th>
|
||||
<th class="foswikiTableCol6 foswikiLastCol"> <a href="https://intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print;sortcol=6;table=1;up=0#sorted_table" rel="nofollow" title="Sort by this column">Comment</a> </th>
|
||||
</tr>
|
||||
@ -339,7 +339,7 @@ This page only summarizes the very basic features and options of the programs co
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> <span class='foswikiIcon'><img src='../pub/System/DocumentGraphics/png.png' width='16' height='16' alt='musrt0-1.png' /></span><span class="foswikiHidden">png</span> </td>
|
||||
<td class="foswikiTableCol1"> <a href="../pub/MUSR/TutorialSingleHisto/musrt0-1.png">musrt0-1.png</a> </td>
|
||||
<td class="foswikiTableCol2"> <a href="https://intranet.psi.ch/wiki/bin/attach/MUSR/TutorialSingleHisto?filename=musrt0-1.png;revInfo=1" title="change, update, previous revisions, move, delete..." rel="nofollow">manage</a> </td>
|
||||
<td style="text-align:right" class="foswikiTableCol3"> 19 K </td>
|
||||
<td class="foswikiTableCol3" style="text-align:right"> 19 K </td>
|
||||
<td class="foswikiTableCol4"> <span class="foswikiNoBreak">20 Jul 2011 - 13:38</span> </td>
|
||||
<td class="foswikiTableCol5"> <a href="https://intranet.psi.ch/Main/UnknownUser">UnknownUser</a> </td>
|
||||
<td class="foswikiTableCol6 foswikiLastCol"> </td>
|
||||
@ -348,7 +348,7 @@ This page only summarizes the very basic features and options of the programs co
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> <span class='foswikiIcon'><img src='../pub/System/DocumentGraphics/png.png' width='16' height='16' alt='musrt0-2.png' /></span><span class="foswikiHidden">png</span> </td>
|
||||
<td class="foswikiTableCol1"> <a href="../pub/MUSR/TutorialSingleHisto/musrt0-2.png">musrt0-2.png</a> </td>
|
||||
<td class="foswikiTableCol2"> <a href="https://intranet.psi.ch/wiki/bin/attach/MUSR/TutorialSingleHisto?filename=musrt0-2.png;revInfo=1" title="change, update, previous revisions, move, delete..." rel="nofollow">manage</a> </td>
|
||||
<td style="text-align:right" class="foswikiTableCol3"> 19 K </td>
|
||||
<td class="foswikiTableCol3" style="text-align:right"> 19 K </td>
|
||||
<td class="foswikiTableCol4"> <span class="foswikiNoBreak">09 Jul 2011 - 15:17</span> </td>
|
||||
<td class="foswikiTableCol5"> <a href="https://intranet.psi.ch/Main/UnknownUser">UnknownUser</a> </td>
|
||||
<td class="foswikiTableCol6 foswikiLastCol"> </td>
|
||||
@ -357,7 +357,7 @@ This page only summarizes the very basic features and options of the programs co
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> <span class='foswikiIcon'><img src='../pub/System/DocumentGraphics/png.png' width='16' height='16' alt='musrview-1.png' /></span><span class="foswikiHidden">png</span> </td>
|
||||
<td class="foswikiTableCol1"> <a href="../pub/MUSR/TutorialSingleHisto/musrview-1.png">musrview-1.png</a> </td>
|
||||
<td class="foswikiTableCol2"> <a href="https://intranet.psi.ch/wiki/bin/attach/MUSR/TutorialSingleHisto?filename=musrview-1.png;revInfo=1" title="change, update, previous revisions, move, delete..." rel="nofollow">manage</a> </td>
|
||||
<td style="text-align:right" class="foswikiTableCol3"> 45 K </td>
|
||||
<td class="foswikiTableCol3" style="text-align:right"> 45 K </td>
|
||||
<td class="foswikiTableCol4"> <span class="foswikiNoBreak">09 Jul 2011 - 15:48</span> </td>
|
||||
<td class="foswikiTableCol5"> <a href="https://intranet.psi.ch/Main/UnknownUser">UnknownUser</a> </td>
|
||||
<td class="foswikiTableCol6 foswikiLastCol"> </td>
|
||||
@ -366,7 +366,7 @@ This page only summarizes the very basic features and options of the programs co
|
||||
<td class="foswikiTableCol0 foswikiFirstCol"> <span class='foswikiIcon'><img src='../pub/System/DocumentGraphics/png.png' width='16' height='16' alt='musrview-2.png' /></span><span class="foswikiHidden">png</span> </td>
|
||||
<td class="foswikiTableCol1"> <a href="../pub/MUSR/TutorialSingleHisto/musrview-2.png">musrview-2.png</a> </td>
|
||||
<td class="foswikiTableCol2"> <a href="https://intranet.psi.ch/wiki/bin/attach/MUSR/TutorialSingleHisto?filename=musrview-2.png;revInfo=1" title="change, update, previous revisions, move, delete..." rel="nofollow">manage</a> </td>
|
||||
<td style="text-align:right" class="foswikiTableCol3"> 36 K </td>
|
||||
<td class="foswikiTableCol3" style="text-align:right"> 36 K </td>
|
||||
<td class="foswikiTableCol4"> <span class="foswikiNoBreak">09 Jul 2011 - 15:48</span> </td>
|
||||
<td class="foswikiTableCol5"> <a href="https://intranet.psi.ch/Main/UnknownUser">UnknownUser</a> </td>
|
||||
<td class="foswikiTableCol6 foswikiLastCol"> </td>
|
||||
@ -387,7 +387,7 @@ Topic revision: <span class='patternRevInfo'>02 Sep 2011, wojek</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:andre.lichtsteiner@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.TutorialSingleHisto'>Send feedback</a></div></div></div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:thomas.buecklers@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.TutorialSingleHisto'>Send feedback</a></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -401,6 +401,5 @@ Topic revision: <span class='patternRevInfo'>02 Sep 2011, wojek</span></div>
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:19 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/TutorialSingleHisto?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:41:50 GMT -->
|
||||
</html>
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en">
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/WebHome?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:54 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/WebHome?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:42:27 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="../pub/System/HeadlinesPlugin/style.css" type="text/css" media="all" />
|
||||
<title> MUSR :: MUSR</title>
|
||||
@ -14,14 +14,14 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<link rel="icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="../pub/Main/WebPreferences/favicon.ico" type="image/x-icon" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/WebHome?t=1453475525" type="application/x-wiki" title="edit WebHome" />
|
||||
<link rel="alternate" href="https://intranet.psi.ch/wiki/bin/edit/MUSR/WebHome?t=1528465299" type="application/x-wiki" title="edit WebHome" />
|
||||
<meta name="TEXT_NUM_TOPICS" content="Number of topics:" />
|
||||
<meta name="TEXT_MODIFY_SEARCH" content="Modify search" />
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRsshtml.html" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="WebRss" />
|
||||
<base /><!--[if IE]></base><![endif]--><link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT-->
|
||||
<link class='head CLASSIFICATIONPLUGIN::CSS' rel="stylesheet" href="../pub/System/ClassificationPlugin/styles.css" media="all" /><!--CLASSIFICATIONPLUGIN::CSS-->
|
||||
<link class='head SMILIESPLUGIN' rel='stylesheet' href='../pub/System/SmiliesPlugin/smilies.css' type='text/css' media='all' /><!--SMILIESPLUGIN-->
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<link class='head JQUERYPLUGIN::COMMENT' rel='stylesheet' href='../pub/System/CommentPlugin/commentf5b6.css?version=3.0' type='text/css' media='all' /><!--JQUERYPLUGIN::COMMENT--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS--><link rel='stylesheet' href='../pub/System/SkinTemplates/base.css' media='all' type='text/css' />
|
||||
<style type="text/css" media="all">
|
||||
@import url('../pub/System/PatternSkinTheme/layout.css');
|
||||
@import url('../pub/System/PatternSkinTheme2009/style.css');
|
||||
@ -102,14 +102,14 @@
|
||||
<!--<![endif]-->
|
||||
<!--JQUERYPLUGIN-->
|
||||
<!--JQUERYPLUGIN::MIGRATE-->
|
||||
<!--JQUERYPLUGIN::LIVEQUERY-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES-->
|
||||
<!--JQUERYPLUGIN::LIVEQUERY-->
|
||||
<!--JavascriptFiles/foswikiString-->
|
||||
<!--JavascriptFiles/foswikiPref-->
|
||||
<!--JavascriptFiles/foswikiForm-->
|
||||
<!--PatternSkin/pattern-->
|
||||
<!--JQUERYPLUGIN::COMMENT--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
<!--JQUERYPLUGIN::COMMENT-->
|
||||
<!--JQUERYPLUGIN::FOSWIKI::PREFERENCES--><link class='head FOOTNOTEPLUGIN_LINKCSS' rel="stylesheet" href="../pub/System/FootNotePlugin/styles.css" type="text/css" media="all" /><!--FOOTNOTEPLUGIN_LINKCSS-->
|
||||
</head>
|
||||
<body class="foswikiNoJs patternViewPage patternPrintPage">
|
||||
<span id="PageTop"></span><div class="foswikiPage"><div id="patternScreen">
|
||||
@ -122,12 +122,13 @@
|
||||
<div class="patternContent"><div class="foswikiTopic"> <h1 id="Welcome_to_the_MUSR_web"> Welcome to the MUSR web </h1>
|
||||
<p></p>
|
||||
<h2 id="Documentation_of_the_SR_data_analysis_suite_61musrfit_61"> Documentation of the μSR data analysis suite <code>musrfit</code> </h2> <ul>
|
||||
<li> <a href="CiteMusrFit.html">How to cite <code>musrfit</code>? <img class='smily' src='../pub/Main/SmiliesPluginPSI_/yes.gif' alt='yes' title='yes' /> </a>
|
||||
<li> <a href="CiteMusrFit.html">How to cite <code>musrfit</code>? <img class='smily' src='../pub/Main/SmiliesPluginPSI/yes.gif' alt='yes' title='yes' /> </a>
|
||||
</li> <li> <a href="TutorialSingleHisto.html">Single-histogram-fit tutorial for <code>musrfit</code> introducing the basic features of the programs and <code>msr</code> files</a>
|
||||
</li> <li> <a href="MusrFit.html">User manual of the μSR data analysis software <code>musrfit</code> </a>
|
||||
</li> <li> <a href="MusrFitSetup.html">Setting up <code>musrfit</code> on Different Platforms</a>
|
||||
</li> <li> <a href="MusrFitSetupDKS.html">Setting up <code>musrfit</code> / <code>DKS</code>: high speed fitting with GPU's</a>
|
||||
</li> <li> <a href="QuickStart.html">Quick start page for <code>WKM</code> users</a>
|
||||
</li> <li> <a href="MusrGui.html">Documentation of <code>musrgui</code>/<code>musredit</code>—editors interfacing <code>musrfit</code> </a>
|
||||
</li> <li> <a href="MusrGui.html">Documentation of <code>musrgui</code>/<code>musredit</code>—editors interfacing <code>musrfit</code></a>
|
||||
</li> <li> <a href="Msr2Data.html">Documentation of <code>msr2data</code>—a program for automatically processing multiple musrfit <code>msr</code> files</a>
|
||||
</li> <li> <a href="MusrFit.html#Any2Many"><code>any2many</code>—a universal μSR-file-format converter</a>
|
||||
</li> <li> <a href="MusrRoot.html"><code>MusrRoot</code>: an extensible open file format for μSR</a>
|
||||
@ -138,16 +139,16 @@
|
||||
</li> <li> <a href="MusrFitAcknowledgements.html">Acknowledgements</a>
|
||||
</li></ul>
|
||||
<p></p>
|
||||
-- <a href="http://www.psi.ch/low-energy-muons/people">AS</a> & (<a href="http://www.fsf.org/register_form?referrer=8369">BMW</a>) - last update January 19, 2016</div>
|
||||
-- <a href="http://www.psi.ch/low-energy-muons/people">AS</a> & (<a href="http://www.fsf.org/register_form?referrer=8369">BMW</a>) - last update June 8, 2018</div>
|
||||
<p></p>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="patternInfo">This topic: MUSR<span class='foswikiSeparator'> > </span>WebHome <br />
|
||||
Topic revision: <span class='patternRevInfo'>19 Jan 2016, <a href="https://intranet.psi.ch/Main/AndreasSuter">AndreasSuter</a></span></div>
|
||||
Topic revision: <span class='patternRevInfo'>08 Jun 2018, <a href="https://intranet.psi.ch/Main/AndreasSuter">AndreasSuter</a></span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:andre.lichtsteiner@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.WebHome'>Send feedback</a></div></div></div>
|
||||
</div><div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar"><span class="foswikiRight"> <a href="http://foswiki.org/"><img src="../pub/System/ProjectLogos/foswiki-badge.png" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding PSI Wiki? <a href='mailto:thomas.buecklers@psi.ch?subject=PSI Wiki %20Feedback%20on%20MUSR.WebHome'>Send feedback</a></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -161,6 +162,5 @@ Topic revision: <span class='patternRevInfo'>19 Jan 2016, <a href="https://intr
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/WebHome?cover=print by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 22 Jan 2016 15:12:55 GMT -->
|
||||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
|
||||
<!-- Mirrored from intranet.psi.ch/MUSR/WebHome?cover=print by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 08 Jun 2018 13:42:28 GMT -->
|
||||
</html>
|
After Width: | Height: | Size: 38 KiB |
60
doc/html/user/pub/MUSR/MusrFit/Makefile.html
Normal file
@ -0,0 +1,60 @@
|
||||
#---------------------------------------------------
|
||||
# get compilation flags from root-config
|
||||
|
||||
ROOTCFLAGS = $(shell $(ROOTSYS)/bin/root-config --cflags)
|
||||
|
||||
#---------------------------------------------------
|
||||
|
||||
OS = LINUX
|
||||
CXX = g++
|
||||
CXXFLAGS = -O3 -Wall -Wno-trigraphs -fPIC
|
||||
LOCALINCLUDE = .
|
||||
ROOTINCLUDE = $(ROOTSYS)/include
|
||||
INCLUDES = -I$(LOCALINCLUDE) -I$(ROOTINCLUDE)
|
||||
LD = g++
|
||||
LDFLAGS =
|
||||
SOFLAGS = -O -shared
|
||||
|
||||
# the output from the root-config script:
|
||||
CXXFLAGS += $(ROOTCFLAGS)
|
||||
LDFLAGS +=
|
||||
|
||||
# some definitions: headers (used to generate *Dict* stuff), sources, objects,...
|
||||
OBJS =
|
||||
OBJS += TMyFunction.o TMyLibraryDict.o
|
||||
|
||||
SHLIB = libTMyLibrary.so
|
||||
|
||||
# make the shared lib:
|
||||
#
|
||||
all: $(SHLIB)
|
||||
|
||||
$(SHLIB): $(OBJS)
|
||||
@echo "---> Building shared library $(SHLIB) ..."
|
||||
/bin/rm -f $(SHLIB)
|
||||
$(LD) $(OBJS) $(SOFLAGS) -o $(SHLIB)
|
||||
@echo "done"
|
||||
|
||||
# clean up: remove all object file (and core files)
|
||||
# semicolon needed to tell make there is no source
|
||||
# for this target!
|
||||
#
|
||||
clean:; @rm -f $(OBJS) *Dict* core*
|
||||
@echo "---> removing $(OBJS)"
|
||||
|
||||
#
|
||||
$(OBJS): %.o: %.cpp
|
||||
$(CXX) $(INCLUDES) $(CXXFLAGS) -c $<
|
||||
|
||||
# Generate the ROOT CINT dictionary
|
||||
|
||||
TMyLibraryDict.cpp: TMyFunction.h TMyLibraryLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcint -f $@ -c -p -I$(ROOTINCLUDE) $^
|
||||
|
||||
install: all
|
||||
@echo "Installing shared lib: libTApproximation.so"
|
||||
ifeq ($(OS),LINUX)
|
||||
cp -pv $(SHLIB) $(ROOTSYS)/lib
|
||||
cp -pv $(LOCALINCLUDE)/*.h $(ROOTSYS)/include
|
||||
endif
|
After Width: | Height: | Size: 736 B |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 725 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 501 B |
After Width: | Height: | Size: 652 B |
After Width: | Height: | Size: 483 B |
After Width: | Height: | Size: 730 B |
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 9.9 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/msr2data-plain.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/musrFT-plain.png
Normal file
After Width: | Height: | Size: 497 B |
BIN
doc/html/user/pub/MUSR/MusrGui/musrStep-32x32.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/musrStep_0_0.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/musrStep_1_0.png
Normal file
After Width: | Height: | Size: 87 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/musrWiz-32x32.png
Normal file
After Width: | Height: | Size: 710 B |
BIN
doc/html/user/pub/MUSR/MusrGui/musrWiz-Create-1_0.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/musrWiz-FitInfo-1_0.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/musrWiz-FitParameters-1_0.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/musrWiz-Functions-1_0.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/musrWiz-Functions-2_0.png
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/musrWiz-Introduction_0.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/musrWiz-Maps-1_0.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/musrWiz-Theory-1_0.png
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/musrchisq-plain.png
Normal file
After Width: | Height: | Size: 473 B |
BIN
doc/html/user/pub/MUSR/MusrGui/musrdump-plain.png
Normal file
After Width: | Height: | Size: 730 B |
BIN
doc/html/user/pub/MUSR/MusrGui/musredit-main_0.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/musrfit-plain.png
Normal file
After Width: | Height: | Size: 871 B |
2
doc/html/user/pub/MUSR/MusrGui/musrfit.html
Normal file
@ -0,0 +1,2 @@
|
||||
Ihr Aufruf ist nicht korrekt. <br>
|
||||
Hier geht es zum <a href="https://intranet.psi.ch/">PSI Intranet</a>.
|
2
doc/html/user/pub/MUSR/MusrGui/musrmsr2data.html
Normal file
@ -0,0 +1,2 @@
|
||||
Ihr Aufruf ist nicht korrekt. <br>
|
||||
Hier geht es zum <a href="https://intranet.psi.ch/">PSI Intranet</a>.
|
BIN
doc/html/user/pub/MUSR/MusrGui/musrprefs-plain.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
doc/html/user/pub/MUSR/MusrGui/musrswap-plain.png
Normal file
After Width: | Height: | Size: 933 B |
BIN
doc/html/user/pub/MUSR/MusrGui/musrt0-plain.png
Normal file
After Width: | Height: | Size: 553 B |
2
doc/html/user/pub/MUSR/MusrGui/musrt0.html
Normal file
@ -0,0 +1,2 @@
|
||||
Ihr Aufruf ist nicht korrekt. <br>
|
||||
Hier geht es zum <a href="https://intranet.psi.ch/">PSI Intranet</a>.
|
BIN
doc/html/user/pub/MUSR/MusrGui/musrview-plain.png
Normal file
After Width: | Height: | Size: 574 B |
BIN
doc/html/user/pub/MUSR/MusrRoot/MusrRootValidationScheme.png
Normal file
After Width: | Height: | Size: 96 KiB |
BIN
doc/html/user/pub/MUSR/MusrRoot/RunInfo.png
Normal file
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 58 KiB |
BIN
doc/html/user/pub/Main/SmiliesPluginPSI_/eek.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
doc/html/user/pub/Main/SmiliesPluginPSI_/no.gif
Normal file
After Width: | Height: | Size: 468 B |
BIN
doc/html/user/pub/Main/SmiliesPluginPSI_/skull.gif
Normal file
After Width: | Height: | Size: 1006 B |
BIN
doc/html/user/pub/Main/SmiliesPluginPSI_/skull.png
Normal file
After Width: | Height: | Size: 602 B |
BIN
doc/html/user/pub/Main/SmiliesPluginPSI_/wink.gif
Normal file
After Width: | Height: | Size: 135 B |
BIN
doc/html/user/pub/Main/SmiliesPluginPSI_/yes.gif
Normal file
After Width: | Height: | Size: 262 B |
BIN
doc/html/user/pub/System/DocumentGraphics/updated.png
Normal file
After Width: | Height: | Size: 891 B |
@ -23,7 +23,7 @@ PROJECT_NAME = musrfit
|
||||
# This could be handy for archiving the generated documentation or
|
||||
# if some version control system is used.
|
||||
|
||||
PROJECT_NUMBER = 0.14.0
|
||||
PROJECT_NUMBER = 1.1.0
|
||||
|
||||
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
|
||||
# base path where the generated documentation will be put.
|
||||
@ -462,8 +462,9 @@ WARN_LOGFILE =
|
||||
INPUT = musrfit.dox \
|
||||
../src/include/PFitterFcn.h \
|
||||
../src/include/PFitter.h \
|
||||
../src/include/PFourier.h \
|
||||
../src/include/PFourierCanvas.h \
|
||||
../src/include/PFourierCanvasLinkDef.h \
|
||||
../src/include/PFourier.h \
|
||||
../src/include/PFunctionGrammar.h \
|
||||
../src/include/PFunction.h \
|
||||
../src/include/PFunctionHandler.h \
|
||||
@ -476,12 +477,14 @@ INPUT = musrfit.dox \
|
||||
../src/include/PMusrT0LinkDef.h \
|
||||
../src/include/PPrepFourier.h \
|
||||
../src/include/PRunAsymmetry.h \
|
||||
../src/include/PRunAsymmetryRRF.h \
|
||||
../src/include/PRunBase.h \
|
||||
../src/include/PRunDataHandler.h \
|
||||
../src/include/PRunListCollection.h \
|
||||
../src/include/PRunMuMinus.h \
|
||||
../src/include/PRunNonMusr.h \
|
||||
../src/include/PRunSingleHisto.h \
|
||||
../src/include/PRunSingleHistoRRF.h \
|
||||
../src/include/PStartupHandler.h \
|
||||
../src/include/PStartupHandlerLinkDef.h \
|
||||
../src/include/PTheory.h \
|
||||
@ -490,8 +493,8 @@ INPUT = musrfit.dox \
|
||||
../src/include/PUserFcn.h \
|
||||
../src/classes/PFitter.cpp \
|
||||
../src/classes/PFitterFcn.cpp \
|
||||
../src/classes/PFourier.cpp \
|
||||
../src/classes/PFourierCanvas.cpp \
|
||||
../src/classes/PFourier.cpp \
|
||||
../src/classes/PFunction.cpp \
|
||||
../src/classes/PFunctionHandler.cpp \
|
||||
../src/classes/PMsr2Data.cpp \
|
||||
@ -501,12 +504,14 @@ INPUT = musrfit.dox \
|
||||
../src/classes/PMusrT0.cpp \
|
||||
../src/classes/PPrepFourier.cpp \
|
||||
../src/classes/PRunAsymmetry.cpp \
|
||||
../src/classes/PRunAsymmetryRRF.cpp \
|
||||
../src/classes/PRunBase.cpp \
|
||||
../src/classes/PRunDataHandler.cpp \
|
||||
../src/classes/PRunListCollection.cpp \
|
||||
../src/classes/PRunMuMinus.cpp \
|
||||
../src/classes/PRunNonMusr.cpp \
|
||||
../src/classes/PRunSingleHisto.cpp \
|
||||
../src/classes/PRunSingleHistoRRF.cpp \
|
||||
../src/classes/PStartupHandler.cpp \
|
||||
../src/classes/PTheory.cpp \
|
||||
../src/classes/PUserFcnBase.cpp \
|
||||
|
59
doc/templates/asymDefault.msr
vendored
@ -1,59 +0,0 @@
|
||||
TITLE
|
||||
###############################################################
|
||||
FITPARAMETER
|
||||
# Nr. Name Value Step Pos_Error Boundaries
|
||||
1 alpha 0.989765 1.0 none 0 none
|
||||
2 asy 0.26 0.1 none 0 0.33
|
||||
3 phase 8.5 1.0 none
|
||||
4 field 100.0 0.1 none 0 none
|
||||
5 rate 0.36 0.02 none 0 100
|
||||
|
||||
###############################################################
|
||||
THEORY
|
||||
asymmetry 2
|
||||
TFieldCos 3 fun1 (phase frequency)
|
||||
simplExpo 5
|
||||
|
||||
###############################################################
|
||||
FUNCTIONS
|
||||
fun1 = par4 * gamma_mu
|
||||
|
||||
###############################################################
|
||||
RUN lem07_his_0147 MUE4 PSI ROOT-NPP (name beamline institute data-file-format)
|
||||
fittype 2 (asymmetry fit)
|
||||
alpha 1
|
||||
map 0 0 0 0 0 0 0 0 0 0
|
||||
forward 1
|
||||
backward 3
|
||||
background 65000 66500 65000 66500
|
||||
data 3413 63000 3413 63000
|
||||
t0 3413 3413
|
||||
fit 0.00 8.00 (fw bw)
|
||||
packing 75
|
||||
|
||||
###############################################################
|
||||
COMMANDS
|
||||
SET BATCH
|
||||
MINIMIZE
|
||||
MINOS
|
||||
SAVE
|
||||
END RETURN
|
||||
|
||||
###############################################################
|
||||
FOURIER
|
||||
units Gauss # fourier in field units
|
||||
fourier_power 12
|
||||
apodization NONE # NONE, WEAK, MEDIUM, STRONG
|
||||
plot power
|
||||
phase 8.5
|
||||
#range_for_phase_correction 50.0 70.0
|
||||
range 0.0 200.0
|
||||
|
||||
###############################################################
|
||||
PLOT 2 (asymmetry plot)
|
||||
runs 1
|
||||
range 0.00 8.00 -0.30 0.30
|
||||
|
||||
###############################################################
|
||||
STATISTIC --- 2008-04-04 07:44:31
|
||||
chisq = 569.50931, NDF = 542, chisq/NDF = 1.05075518
|
60
doc/templates/singleHistoDefault.msr
vendored
@ -1,60 +0,0 @@
|
||||
TITLE
|
||||
###############################################################
|
||||
FITPARAMETER
|
||||
# Nr. Name Value Step Pos_Error Boundaries
|
||||
1 Asy 0.26 0.01 none 0 0.33
|
||||
2 Rate 0.36 0.01 none
|
||||
3 Field 100.0 1.0 none 0 200
|
||||
4 N0_L 150.0 0.01 none
|
||||
5 Bkg_L 4.9 0.01 none
|
||||
6 Phase_L 7.0 1.5 none -50 50
|
||||
|
||||
###############################################################
|
||||
THEORY
|
||||
asymmetry 1
|
||||
simplExpo 2 (rate)
|
||||
TFieldCos map1 fun1 (phase frequency)
|
||||
|
||||
###############################################################
|
||||
FUNCTIONS
|
||||
fun1 = par3 * gamma_mu
|
||||
|
||||
###############################################################
|
||||
RUN lem07_his_0111 MUE4 PSI ROOT-NPP (name beamline institute data-file-format)
|
||||
fittype 0 (single histogram fit)
|
||||
norm 4
|
||||
backgr.fit 5
|
||||
lifetimecorrection
|
||||
map 6 0 0 0 0 0 0 0 0 0
|
||||
forward 1
|
||||
data 3413 65000
|
||||
t0 3413
|
||||
fit 0.20 8.2
|
||||
packing 50
|
||||
|
||||
###############################################################
|
||||
COMMANDS
|
||||
SET BATCH
|
||||
MINIMIZE
|
||||
MINOS
|
||||
SAVE
|
||||
END RETURN
|
||||
|
||||
###############################################################
|
||||
PLOT 0 (single histo plot)
|
||||
runs 1
|
||||
range 0.00 7.00 -0.30 0.30
|
||||
|
||||
###############################################################
|
||||
FOURIER
|
||||
units Gauss # fourier in field units
|
||||
fourier_power 12
|
||||
apodization NONE # NONE, WEAK, MEDIUM, STRONG
|
||||
plot power
|
||||
phase 8.5
|
||||
#range_for_phase_correction 50.0 70.0
|
||||
range 0.0 200.0
|
||||
|
||||
###############################################################
|
||||
STATISTIC --- 2008-06-09 14:09:39
|
||||
chisq = 1446.93547, NDF = 1377, chisq/NDF = 1.05078829
|
176
src/CMakeLists.txt
Normal file
@ -0,0 +1,176 @@
|
||||
#--- add further sub-directories ----------------------------------------------
|
||||
add_subdirectory(classes)
|
||||
add_subdirectory(external)
|
||||
if (Qt5Core_FOUND)
|
||||
add_subdirectory(musredit_qt5)
|
||||
elseif (Qt4_FOUND)
|
||||
add_subdirectory(musredit)
|
||||
elseif (QT_FOUND)
|
||||
add_subdirectory(musrgui)
|
||||
endif (Qt5Core_FOUND)
|
||||
|
||||
#--- define the musrfit libs --------------------------------------------------
|
||||
set(MUSRFIT_LIBS ${MUSRFIT_LIBS} mud)
|
||||
set(MUSRFIT_LIBS ${MUSRFIT_LIBS} TMusrRunHeader)
|
||||
set(MUSRFIT_LIBS ${MUSRFIT_LIBS} TLemRunHeader)
|
||||
set(MUSRFIT_LIBS ${MUSRFIT_LIBS} Class_MuSR_PSI)
|
||||
if (nexus)
|
||||
set(MUSRFIT_LIBS ${MUSRFIT_LIBS} ${NEXUS_LIBRARY})
|
||||
set(MUSRFIT_LIBS ${MUSRFIT_LIBS} PNeXus)
|
||||
endif (nexus)
|
||||
set(MUSRFIT_LIBS ${MUSRFIT_LIBS} PMusr)
|
||||
|
||||
#--- start create git-revision.h ----------------------------------------------
|
||||
configure_file(
|
||||
${CMAKE_SOURCE_DIR}/cmake/configure_musrfit_version_file.cmake.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/configure_musrfit_version_file.cmake
|
||||
@ONLY
|
||||
)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/git-revision.h
|
||||
COMMAND ${CMAKE_COMMAND} -P
|
||||
${CMAKE_CURRENT_BINARY_DIR}/configure_musrfit_version_file.cmake
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_BINARY_DIR}/configure_musrfit_version_file.cmake
|
||||
${CMAKE_SOURCE_DIR}/cmake/git-revision.h.in
|
||||
COMMENT "Configuring git-revision.h"
|
||||
VERBATIM
|
||||
)
|
||||
|
||||
add_custom_target(
|
||||
configure_musrfit_version ALL
|
||||
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/git-revision.h
|
||||
)
|
||||
#--- end create git-revision.h ------------------------------------------------
|
||||
|
||||
#--- add all executables ------------------------------------------------------
|
||||
add_executable(any2many git-revision.h any2many.cpp)
|
||||
target_compile_options(any2many BEFORE PRIVATE "-DHAVE_CONFIG_H")
|
||||
target_include_directories(any2many
|
||||
BEFORE PRIVATE
|
||||
$<BUILD_INTERFACE:${FFTW3_INCLUDE_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/src>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/include>
|
||||
)
|
||||
target_link_libraries(any2many ${ROOT_LIBRARIES} ${MUSRFIT_LIBS})
|
||||
|
||||
add_executable(dump_header git-revision.h dump_header.cpp)
|
||||
target_compile_options(dump_header BEFORE PRIVATE "-DHAVE_CONFIG_H")
|
||||
target_include_directories(dump_header
|
||||
BEFORE PRIVATE
|
||||
$<BUILD_INTERFACE:${FFTW3_INCLUDE_DIR}>
|
||||
$<BUILD_INTERFACE:${NEXUS_INCLUDE_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/src>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/include>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/external/MusrRoot>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/external/TLemRunHeader>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/external/MuSR_software/Class_MuSR_PSI/>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/external/mud/src>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/external/nexus>
|
||||
)
|
||||
target_link_libraries(dump_header ${ROOT_LIBRARIES} ${MUSRFIT_LIBS})
|
||||
|
||||
add_executable(msr2data git-revision.h msr2data.cpp)
|
||||
target_compile_options(msr2data BEFORE PRIVATE "-DHAVE_CONFIG_H")
|
||||
target_include_directories(msr2data
|
||||
BEFORE PRIVATE
|
||||
$<BUILD_INTERFACE:${FFTW3_INCLUDE_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/src>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/include>
|
||||
)
|
||||
target_link_libraries(msr2data ${ROOT_LIBRARIES} ${MUSRFIT_LIBS})
|
||||
|
||||
add_executable(msr2msr msr2msr.cpp)
|
||||
target_link_libraries(msr2msr ${ROOT_LIBRARIES})
|
||||
|
||||
add_executable(musrfit git-revision.h musrfit.cpp)
|
||||
target_compile_options(musrfit BEFORE PRIVATE "-DHAVE_CONFIG_H")
|
||||
target_include_directories(musrfit
|
||||
BEFORE PRIVATE
|
||||
$<BUILD_INTERFACE:${FFTW3_INCLUDE_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/src>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/include>
|
||||
)
|
||||
target_link_libraries(musrfit ${ROOT_LIBRARIES} ${MUSRFIT_LIBS})
|
||||
|
||||
add_executable(musrFT git-revision.h musrFT.cpp)
|
||||
target_compile_options(musrFT BEFORE PRIVATE "-DHAVE_CONFIG_H")
|
||||
target_include_directories(musrFT
|
||||
BEFORE PRIVATE
|
||||
$<BUILD_INTERFACE:${FFTW3_INCLUDE_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/src>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/include>
|
||||
)
|
||||
target_link_libraries(musrFT ${FFTW3_LIBRARY} ${ROOT_LIBRARIES} ${MUSRFIT_LIBS})
|
||||
|
||||
add_executable(musrRootValidation git-revision.h musrRootValidation.cpp)
|
||||
target_compile_options(musrRootValidation BEFORE PRIVATE "-DHAVE_CONFIG_H")
|
||||
target_include_directories(musrRootValidation
|
||||
BEFORE PRIVATE
|
||||
$<BUILD_INTERFACE:${FFTW3_INCLUDE_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/src>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/include>
|
||||
$<BUILD_INTERFACE:${LIBXML2_INCLUDE_DIR}>
|
||||
)
|
||||
target_link_libraries(musrRootValidation ${ROOT_LIBRARIES} ${MUSRFIT_LIBS} ${LIBXML2_LIBRARIES})
|
||||
|
||||
add_executable(musrt0 git-revision.h musrt0.cpp)
|
||||
target_compile_options(musrt0 BEFORE PRIVATE "-DHAVE_CONFIG_H")
|
||||
target_include_directories(musrt0
|
||||
BEFORE PRIVATE
|
||||
$<BUILD_INTERFACE:${FFTW3_INCLUDE_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/src>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/include>
|
||||
)
|
||||
target_link_libraries(musrt0 ${ROOT_LIBRARIES} ${MUSRFIT_LIBS})
|
||||
|
||||
add_executable(musrview git-revision.h musrview.cpp)
|
||||
target_compile_options(musrview BEFORE PRIVATE "-DHAVE_CONFIG_H")
|
||||
target_include_directories(musrview
|
||||
BEFORE PRIVATE
|
||||
$<BUILD_INTERFACE:${FFTW3_INCLUDE_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/src>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/include>
|
||||
)
|
||||
target_link_libraries(musrview ${FFTW3_LIBRARY} ${ROOT_LIBRARIES} ${MUSRFIT_LIBS})
|
||||
|
||||
add_executable(write_musrRoot_runHeader git-revision.h write_musrRoot_runHeader.cpp)
|
||||
target_compile_options(write_musrRoot_runHeader BEFORE PRIVATE "-DHAVE_CONFIG_H")
|
||||
target_include_directories(write_musrRoot_runHeader
|
||||
BEFORE PRIVATE
|
||||
$<BUILD_INTERFACE:${FFTW3_INCLUDE_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/src>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/include>
|
||||
$<BUILD_INTERFACE:${LIBXML2_INCLUDE_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/external/MusrRoot>
|
||||
)
|
||||
target_link_libraries(write_musrRoot_runHeader ${ROOT_LIBRARIES} ${MUSRFIT_LIBS} ${LIBXML2_LIBRARIES})
|
||||
|
||||
#--- installation info --------------------------------------------------------
|
||||
install(
|
||||
TARGETS
|
||||
any2many
|
||||
dump_header
|
||||
msr2data
|
||||
msr2msr
|
||||
musrfit
|
||||
musrFT
|
||||
musrRootValidation
|
||||
musrt0
|
||||
musrview
|
||||
write_musrRoot_runHeader
|
||||
RUNTIME DESTINATION
|
||||
bin
|
||||
)
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
BUILT_SOURCES = git-revision.h
|
||||
git-revision.h : Makefile
|
||||
echo \#define GIT_REVISION \"`git log -n 1 --pretty=format:"%ad - %h"`\" > include/git-revision.h
|
||||
sh git_revision.sh ./include git-revision.h
|
||||
|
||||
if PNEXUS_ENABLED
|
||||
PNEXUSDIRS = external/nexus
|
||||
@ -60,9 +60,6 @@ write_musrRoot_runHeader_SOURCES = write_musrRoot_runHeader.cpp
|
||||
musrRootValidation_SOURCES = musrRootValidation.cpp
|
||||
dump_header_SOURCES = dump_header.cpp
|
||||
|
||||
xmldir = $(HOME)/.musrfit
|
||||
xml_DATA = musrfit_startup.xml
|
||||
|
||||
LIBADD = $(PMUSR_LIBS) $(MUSR_ROOT_LIBS) $(LEM_LIBS) $(PSIBIN_LIBS) $(MUD_LIBS) $(PNEXUS_LIBS)
|
||||
|
||||
AM_CXXFLAGS = $(LOCAL_BIN_CXXFLAGS)
|
||||
@ -75,42 +72,3 @@ endif
|
||||
|
||||
LIBS = $(PMUSR_LIBS) $(USERFCN_LIBS) $(MUSR_ROOT_LIBS) $(LEM_LIBS) $(PSIBIN_LIBS) $(MUD_LIBS) $(PNEXUS_LIBS) \
|
||||
$(FFTW3_LIBS) $(GSL_LIBS) $(ROOT_LIBS) $(LIBXML2_LIBS)
|
||||
|
||||
install-xmlDATA: $(xml_DATA)
|
||||
test -z "$(xmldir)" || $(mkdir_p) "$(DESTDIR)$(xmldir)"
|
||||
@if test -e "$(DESTDIR)$(xmldir)/$(xml_DATA)"; then \
|
||||
DIFF="$$(diff "$(DESTDIR)$(xmldir)/$(xml_DATA)" "$(xml_DATA)" 2>&1)"; \
|
||||
if test "x$$DIFF" != "x"; then \
|
||||
echo " " && \
|
||||
echo " musrfit_startup.xml in $(xmldir)" && \
|
||||
echo " is different from the distribution's version." && \
|
||||
echo " Do you want to overwrite it? [y/N]" && \
|
||||
read OVERWRITE && \
|
||||
if test "$$OVERWRITE" = "y" || test "$$OVERWRITE" = "Y"; then \
|
||||
echo "$(INSTALL_DATA) '$(xml_DATA)' '$(DESTDIR)$(xmldir)'" && \
|
||||
$(INSTALL_DATA) '$(xml_DATA)' '$(DESTDIR)$(xmldir)'; \
|
||||
fi; \
|
||||
fi; \
|
||||
else \
|
||||
echo "$(INSTALL_DATA) '$(xml_DATA)' '$(DESTDIR)$(xmldir)'" && \
|
||||
$(INSTALL_DATA) '$(xml_DATA)' '$(DESTDIR)$(xmldir)'; \
|
||||
fi
|
||||
|
||||
uninstall-xmlDATA:
|
||||
@if test -e "$(DESTDIR)$(xmldir)/$(xml_DATA)"; then \
|
||||
DIFF="$$(diff "$(DESTDIR)$(xmldir)/$(xml_DATA)" "$(xml_DATA)" 2>&1)"; \
|
||||
if test "x$$DIFF" != "x"; then \
|
||||
echo " " && \
|
||||
echo " musrfit_startup.xml in $(xmldir)" && \
|
||||
echo " is different from the distribution's version." && \
|
||||
echo " Do you want to remove it? [y/N]" && \
|
||||
read REMOVE && \
|
||||
if test "$$REMOVE" = "y" || test "$$REMOVE" = "Y"; then \
|
||||
echo "$(RM) '$(DESTDIR)$(xmldir)/$(xml_DATA)'" && \
|
||||
$(RM) "$(DESTDIR)$(xmldir)/$(xml_DATA)"; \
|
||||
fi; \
|
||||
else \
|
||||
echo "$(RM) '$(DESTDIR)$(xmldir)/$(xml_DATA)'" && \
|
||||
$(RM) "$(DESTDIR)$(xmldir)/$(xml_DATA)"; \
|
||||
fi; \
|
||||
fi
|
||||
|
@ -198,9 +198,9 @@ int main(int argc, char *argv[])
|
||||
any2many_syntax();
|
||||
else if (strstr(argv[1], "--v")) {
|
||||
#ifdef HAVE_CONFIG_H
|
||||
cout << endl << "any2many version: " << PACKAGE_VERSION << ", git-rev: " << GIT_REVISION << endl << endl;
|
||||
cout << endl << "any2many version: " << PACKAGE_VERSION << ", git-branch: " << GIT_BRANCH << ", git-rev: " << GIT_CURRENT_SHA1 << endl << endl;
|
||||
#else
|
||||
cout << endl << "any2many git-rev: " << GIT_REVISION << endl << endl;
|
||||
cout << endl << "any2many git-branch: " << GIT_BRANCH << ", git-rev: " << GIT_CURRENT_SHA1 << endl << endl;
|
||||
#endif
|
||||
} else {
|
||||
any2many_syntax();
|
||||
|
176
src/classes/CMakeLists.txt
Normal file
@ -0,0 +1,176 @@
|
||||
#--- build the PMusr and PUserFcnBase libs ------------------------------------
|
||||
|
||||
#--- generate necessary dictionaries ------------------------------------------
|
||||
set(MUSRFIT_INC ${CMAKE_SOURCE_DIR}/src/include)
|
||||
|
||||
root_generate_dictionary(
|
||||
PFourierCanvasDict
|
||||
-I${FFTW3_INCLUDE_DIR} ${MUSRFIT_INC}/PFourierCanvas.h
|
||||
LINKDEF ${MUSRFIT_INC}/PFourierCanvasLinkDef.h
|
||||
)
|
||||
root_generate_dictionary(
|
||||
PMusrCanvasDict
|
||||
-I${FFTW3_INCLUDE_DIR} ${MUSRFIT_INC}/PMusrCanvas.h
|
||||
LINKDEF ${MUSRFIT_INC}/PMusrCanvasLinkDef.h
|
||||
)
|
||||
root_generate_dictionary(
|
||||
PMusrT0Dict
|
||||
-I${FFTW3_INCLUDE_DIR} ${MUSRFIT_INC}/PMusrT0.h
|
||||
LINKDEF ${MUSRFIT_INC}/PMusrT0LinkDef.h
|
||||
)
|
||||
root_generate_dictionary(
|
||||
PStartupHandlerDict
|
||||
-I${FFTW3_INCLUDE_DIR} ${MUSRFIT_INC}/PStartupHandler.h
|
||||
LINKDEF ${MUSRFIT_INC}/PStartupHandlerLinkDef.h
|
||||
)
|
||||
root_generate_dictionary(
|
||||
PUserFcnBaseDict
|
||||
-I${FFTW3_INCLUDE_DIR} ${MUSRFIT_INC}/PUserFcnBase.h
|
||||
LINKDEF ${MUSRFIT_INC}/PUserFcnBaseLinkDef.h
|
||||
)
|
||||
|
||||
#--- create pkg-config info ---------------------------------------------------
|
||||
set(prefix "${CMAKE_INSTALL_PREFIX}")
|
||||
set(exec_prefix "\$\{prefix\}")
|
||||
set(libdir "\$\{exec_prefix\}/lib")
|
||||
set(includedir "\$\{prefix\}/include")
|
||||
set(MUSR_VERSION "1.3.0")
|
||||
set(MUSR_LIBRARY_NAME "PMusr")
|
||||
configure_file("PMusr.pc.in" "PMusr.pc" @ONLY)
|
||||
set(USERFCN_LIBRARY_NAME "PUserFcnBase")
|
||||
configure_file("PUserFcnBase.pc.in" "PUserFcnBase.pc" @ONLY)
|
||||
|
||||
#--- lib creation -------------------------------------------------------------
|
||||
add_library(PMusr SHARED
|
||||
PFitter.cpp
|
||||
PFitterFcn.cpp
|
||||
PFourier.cpp
|
||||
PFourierCanvas.cpp
|
||||
PFourierCanvasDict.cxx
|
||||
PMusrCanvas.cpp
|
||||
PMusrCanvasDict.cxx
|
||||
PFunction.cpp
|
||||
PFunctionHandler.cpp
|
||||
PMsr2Data.cpp
|
||||
PMsrHandler.cpp
|
||||
PMusrCanvas.cpp
|
||||
PMusrCanvasDict.cxx
|
||||
PMusr.cpp
|
||||
PMusrT0.cpp
|
||||
PMusrT0Dict.cxx
|
||||
PPrepFourier.cpp
|
||||
PRunAsymmetry.cpp
|
||||
PRunAsymmetryRRF.cpp
|
||||
PRunBase.cpp
|
||||
PRunDataHandler.cpp
|
||||
PRunListCollection.cpp
|
||||
PRunMuMinus.cpp
|
||||
PRunNonMusr.cpp
|
||||
PRunSingleHisto.cpp
|
||||
PRunSingleHistoRRF.cpp
|
||||
PStartupHandler.cpp
|
||||
PStartupHandlerDict.cxx
|
||||
PTheory.cpp
|
||||
)
|
||||
#--- make sure that the include directory is found ----------------------------
|
||||
target_include_directories(
|
||||
PMusr BEFORE PRIVATE
|
||||
$<BUILD_INTERFACE:${FFTW3_INCLUDE_DIR}>
|
||||
$<BUILD_INTERFACE:${NEXUS_INCLUDE_DIR}>
|
||||
$<BUILD_INTERFACE:${MUSRFIT_INC}>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/external/MusrRoot>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/external/TLemRunHeader>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/external/MuSR_software/Class_MuSR_PSI>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/external/mud/src>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/external/nexus>
|
||||
)
|
||||
|
||||
add_library(PUserFcnBase SHARED
|
||||
PUserFcnBase.cpp
|
||||
PUserFcnBaseDict.cxx
|
||||
)
|
||||
|
||||
#--- set target properties, e.g. version --------------------------------------
|
||||
set_target_properties(PMusr
|
||||
PROPERTIES
|
||||
VERSION ${MUSR_VERSION}
|
||||
)
|
||||
set_target_properties(PUserFcnBase
|
||||
PROPERTIES
|
||||
VERSION ${MUSR_VERSION}
|
||||
)
|
||||
#--- make sure that the include directory is found ----------------------------
|
||||
target_include_directories(
|
||||
PUserFcnBase BEFORE PRIVATE $<BUILD_INTERFACE:${MUSRFIT_INC}>
|
||||
)
|
||||
|
||||
#--- add OpenMP compile options if needed -------------------------------------
|
||||
if (OpenMP_FOUND)
|
||||
target_compile_options(PMusr PUBLIC ${OpenMP_CXX_FLAGS})
|
||||
endif (OpenMP_FOUND)
|
||||
|
||||
#--- add library dependencies -------------------------------------------------
|
||||
set(DependOnLibs ${ROOT_LIBARIES})
|
||||
set(DependOnLibs ${DependOnLibs} ${FFTW3_LIBRARY})
|
||||
set(DependOnLibs ${DependOnLibs} PUserFcnBase)
|
||||
set(DependOnLibs ${DependOnLibs} mud)
|
||||
set(DependOnLibs ${DependOnLibs} TMusrRunHeader)
|
||||
set(DependOnLibs ${DependOnLibs} TLemRunHeader)
|
||||
set(DependOnLibs ${DependOnLibs} Class_MuSR_PSI)
|
||||
if (nexus)
|
||||
set(DependOnLibs ${DependOnLibs} ${LIBNEXUS_LIBRARY})
|
||||
set(DependOnLibs ${DependOnLibs} PNeXus)
|
||||
endif (nexus)
|
||||
if (OpenMP_FOUND)
|
||||
if (OpenMP_CXX_LIBRARIES)
|
||||
set(DependOnLibs ${DependOnLibs} ${OpenMP_CXX_LIBRARIES})
|
||||
else (OpenMP_CXX_LIBRARIES)
|
||||
set(DependOnLibs ${DependOnLibs} ${OpenMP_CXX_FLAGS}) # for older cmake OpenMP_CXX_LIBRARIES is not defined
|
||||
endif (OpenMP_CXX_LIBRARIES)
|
||||
endif (OpenMP_FOUND)
|
||||
|
||||
target_link_libraries(PUserFcnBase ${ROOT_LIBRARIES})
|
||||
target_link_libraries(PMusr ${DependOnLibs})
|
||||
|
||||
#--- install PUserFcnBase solib -----------------------------------------------
|
||||
install(TARGETS PUserFcnBase DESTINATION lib)
|
||||
|
||||
#--- install PMusr solib ------------------------------------------------------
|
||||
install(TARGETS PMusr DESTINATION lib)
|
||||
|
||||
#--- install root pcm's and rootmaps ------------------------------------------
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/libPFourierCanvasDict_rdict.pcm
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libPFourierCanvasDict.rootmap
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libPMusrCanvasDict_rdict.pcm
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libPMusrCanvasDict.rootmap
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libPMusrT0Dict_rdict.pcm
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libPMusrT0Dict.rootmap
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libPStartupHandlerDict_rdict.pcm
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libPStartupHandlerDict.rootmap
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libPUserFcnBaseDict_rdict.pcm
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libPUserFcnBaseDict.rootmap
|
||||
DESTINATION lib
|
||||
)
|
||||
|
||||
#--- install headers ----------------------------------------------------------
|
||||
#--- only install headers needed for classes with dictionary
|
||||
install(
|
||||
FILES ${MUSRFIT_INC}/PFourierCanvas.h
|
||||
${MUSRFIT_INC}/PFourier.h
|
||||
${MUSRFIT_INC}/PMusrCanvas.h
|
||||
${MUSRFIT_INC}/PMusr.h
|
||||
${MUSRFIT_INC}/PMusrT0.h
|
||||
${MUSRFIT_INC}/PRunListCollection.h
|
||||
${MUSRFIT_INC}/PStartupHandler.h
|
||||
${MUSRFIT_INC}/PUserFcnBase.h
|
||||
DESTINATION include
|
||||
)
|
||||
|
||||
#--- install pkg-config info --------------------------------------------------
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/PUserFcnBase.pc
|
||||
${CMAKE_CURRENT_BINARY_DIR}/PMusr.pc
|
||||
DESTINATION lib/pkgconfig
|
||||
)
|
||||
|
@ -202,27 +202,27 @@ $(EXTOBJS): ../external/MuSR_software/Class_MuSR_PSI/MuSR_td_PSI_bin.cpp
|
||||
|
||||
TLemRunHeaderDict.cxx: ../external/TLemRunHeader/TLemRunHeader.h ../external/TLemRunHeader/TLemRunHeaderLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcint -f $@ -c -p $^
|
||||
rootcling -f $@ -c -p $^
|
||||
|
||||
TLemStatsDict.cxx: ../external/TLemRunHeader/TLemStats.h ../external/TLemRunHeader/TLemStatsLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcint -f $@ -c -p $^
|
||||
rootcling -f $@ -c -p $^
|
||||
|
||||
PStartupHandlerDict.cpp: ../include/PStartupHandler.h ../include/PStartupHandlerLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcint -f $@ -c -p $^
|
||||
rootcling -f $@ -c -p $^
|
||||
|
||||
PMusrCanvasDict.cpp: ../include/PMusrCanvas.h ../include/PMusrCanvasLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcint -v -f $@ -c -p $^
|
||||
rootcling -v -f $@ -c -p $^
|
||||
|
||||
PMusrT0Dict.cpp: ../include/PMusrT0.h ../include/PMusrT0LinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcint -v -f $@ -c -p $^
|
||||
rootcling -v -f $@ -c -p $^
|
||||
|
||||
PUserFcnBaseDict.cpp: ../include/PUserFcnBase.h ../include/PUserFcnBaseLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcint -v -f $@ -c -p $^
|
||||
rootcling -v -f $@ -c -p $^
|
||||
|
||||
install: leminstall musrinstall
|
||||
|
||||
|
@ -89,7 +89,7 @@ $(OBJS): %.o: %.cpp
|
||||
|
||||
PUserFcnDict.cpp: ../include/PUserFcn.h ../include/PUserFcnLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcint -f $@ -c -p $^
|
||||
rootcling -f $@ -c -p $^
|
||||
|
||||
install: all
|
||||
@echo "Installing shared lib: libPUserFcn.so ( you must be root ;-) )"
|
||||
|
@ -84,6 +84,14 @@ dict_cpp_sources = \
|
||||
dict_cpp_sources_userFcn = \
|
||||
PUserFcnBaseDict.cpp
|
||||
|
||||
pcmdir = $(libdir)
|
||||
pcm_DATA = \
|
||||
PFourierCanvasDict_rdict.pcm \
|
||||
PMusrCanvasDict_rdict.pcm \
|
||||
PMusrT0Dict_rdict.pcm \
|
||||
PStartupHandlerDict_rdict.pcm \
|
||||
PUserFcnBaseDict_rdict.pcm
|
||||
|
||||
include_HEADERS = $(h_sources) $(h_sources_userFcn)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources) $(h_linkdef_userFcn) $(dict_h_sources_userFcn)
|
||||
|
||||
@ -92,10 +100,10 @@ AM_CXXFLAGS = $(LOCAL_LIB_CXXFLAGS)
|
||||
|
||||
BUILT_SOURCES = $(dict_cpp_sources) $(dict_h_sources) $(dict_cpp_sources_userFcn) $(dict_h_sources_userFcn)
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
||||
CLEANFILES = *Dict.cpp *Dict.h *~ core
|
||||
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
||||
|
||||
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
|
||||
lib_LTLIBRARIES = libPUserFcnBase.la libPMusr.la
|
||||
|
||||
|
@ -1138,7 +1138,12 @@ Bool_t PFitter::ExecuteHesse()
|
||||
TString str = TString::Format("Hesse: %.3f sec", (end-start)/1.0e3);
|
||||
fElapsedTime.push_back(str);
|
||||
if (!mnState.IsValid()) {
|
||||
cerr << endl << ">> PFitter::ExecuteHesse(): **WARNING** Hesse encountered some problems!";
|
||||
cerr << endl << ">> PFitter::ExecuteHesse(): **WARNING** Hesse encountered a problem! The state found is invalid.";
|
||||
cerr << endl;
|
||||
return false;
|
||||
}
|
||||
if (!mnState.HasCovariance()) {
|
||||
cerr << endl << ">> PFitter::ExecuteHesse(): **WARNING** Hesse encountered a problem! No covariance matrix available.";
|
||||
cerr << endl;
|
||||
return false;
|
||||
}
|
||||
@ -1343,6 +1348,8 @@ Bool_t PFitter::ExecuteMinos()
|
||||
// the 2nd condition is from an all together unused variable
|
||||
// the 3rd condition is a variable fixed via the FIX command
|
||||
if ((fMnUserParams.Error(i) != 0.0) && (fRunInfo->ParameterInUse(i) != 0) && (!fMnUserParams.Parameters().at(i).IsFixed())) {
|
||||
cout << ">> PFitter::ExecuteMinos(): calculate errors for " << fParams[i].fName << endl;
|
||||
|
||||
// 1-sigma MINOS errors
|
||||
ROOT::Minuit2::MinosError err = minos.Minos(i);
|
||||
|
||||
@ -1564,64 +1571,66 @@ Bool_t PFitter::ExecuteSave(Bool_t firstSave)
|
||||
}
|
||||
|
||||
// handle expected chisq if applicable
|
||||
if (fUseChi2) {
|
||||
fParams = *(fRunInfo->GetMsrParamList()); // get the update parameters back
|
||||
fParams = *(fRunInfo->GetMsrParamList()); // get the update parameters back
|
||||
|
||||
// calculate expected chisq
|
||||
std::vector<Double_t> param;
|
||||
Double_t totalExpectedChisq = 0.0;
|
||||
std::vector<Double_t> expectedChisqPerHisto;
|
||||
std::vector<UInt_t> ndfPerHisto;
|
||||
// calculate expected chisq
|
||||
std::vector<Double_t> param;
|
||||
Double_t totalExpectedChisq = 0.0;
|
||||
std::vector<Double_t> expectedChisqPerHisto;
|
||||
std::vector<UInt_t> ndfPerHisto;
|
||||
|
||||
for (UInt_t i=0; i<fParams.size(); i++)
|
||||
param.push_back(fParams[i].fValue);
|
||||
for (UInt_t i=0; i<fParams.size(); i++)
|
||||
param.push_back(fParams[i].fValue);
|
||||
|
||||
fFitterFcn->CalcExpectedChiSquare(param, totalExpectedChisq, expectedChisqPerHisto);
|
||||
// CalcExpectedChiSquare handles both, chisq and mlh
|
||||
fFitterFcn->CalcExpectedChiSquare(param, totalExpectedChisq, expectedChisqPerHisto);
|
||||
|
||||
// calculate chisq per run
|
||||
std::vector<Double_t> chisqPerHisto;
|
||||
for (UInt_t i=0; i<fRunInfo->GetMsrRunList()->size(); i++) {
|
||||
// calculate chisq per run
|
||||
std::vector<Double_t> chisqPerHisto;
|
||||
for (UInt_t i=0; i<fRunInfo->GetMsrRunList()->size(); i++) {
|
||||
if (fUseChi2)
|
||||
chisqPerHisto.push_back(fRunListCollection->GetSingleRunChisq(param, i));
|
||||
}
|
||||
|
||||
if (totalExpectedChisq != 0.0) { // i.e. applicable for single histogram fits only
|
||||
// get the ndf's of the histos
|
||||
UInt_t ndf_histo;
|
||||
for (UInt_t i=0; i<expectedChisqPerHisto.size(); i++) {
|
||||
ndf_histo = fFitterFcn->GetNoOfFittedBins(i) - fRunInfo->GetNoOfFitParameters(i);
|
||||
ndfPerHisto.push_back(ndf_histo);
|
||||
}
|
||||
|
||||
// feed the msr-file handler
|
||||
PMsrStatisticStructure *statistics = fRunInfo->GetMsrStatistic();
|
||||
if (statistics) {
|
||||
statistics->fMinPerHisto = chisqPerHisto;
|
||||
statistics->fMinExpected = totalExpectedChisq;
|
||||
statistics->fMinExpectedPerHisto = expectedChisqPerHisto;
|
||||
statistics->fNdfPerHisto = ndfPerHisto;
|
||||
}
|
||||
} else if (chisqPerHisto.size() > 1) { // in case expected chisq is not applicable like for asymmetry fits
|
||||
UInt_t ndf_histo = 0;
|
||||
for (UInt_t i=0; i<chisqPerHisto.size(); i++) {
|
||||
ndf_histo = fFitterFcn->GetNoOfFittedBins(i) - fRunInfo->GetNoOfFitParameters(i);
|
||||
ndfPerHisto.push_back(ndf_histo);
|
||||
}
|
||||
|
||||
// feed the msr-file handler
|
||||
PMsrStatisticStructure *statistics = fRunInfo->GetMsrStatistic();
|
||||
if (statistics) {
|
||||
statistics->fMinPerHisto = chisqPerHisto;
|
||||
statistics->fNdfPerHisto = ndfPerHisto;
|
||||
}
|
||||
}
|
||||
|
||||
// clean up
|
||||
param.clear();
|
||||
expectedChisqPerHisto.clear();
|
||||
ndfPerHisto.clear();
|
||||
chisqPerHisto.clear();
|
||||
else
|
||||
chisqPerHisto.push_back(fRunListCollection->GetSingleRunMaximumLikelihood(param, i));
|
||||
}
|
||||
|
||||
if (totalExpectedChisq != 0.0) { // i.e. applicable for single histogram fits only
|
||||
// get the ndf's of the histos
|
||||
UInt_t ndf_histo;
|
||||
for (UInt_t i=0; i<expectedChisqPerHisto.size(); i++) {
|
||||
ndf_histo = fFitterFcn->GetNoOfFittedBins(i) - fRunInfo->GetNoOfFitParameters(i);
|
||||
ndfPerHisto.push_back(ndf_histo);
|
||||
}
|
||||
|
||||
// feed the msr-file handler
|
||||
PMsrStatisticStructure *statistics = fRunInfo->GetMsrStatistic();
|
||||
if (statistics) {
|
||||
statistics->fMinPerHisto = chisqPerHisto;
|
||||
statistics->fMinExpected = totalExpectedChisq;
|
||||
statistics->fMinExpectedPerHisto = expectedChisqPerHisto;
|
||||
statistics->fNdfPerHisto = ndfPerHisto;
|
||||
}
|
||||
} else if (chisqPerHisto.size() > 1) { // in case expected chisq is not applicable like for asymmetry fits
|
||||
UInt_t ndf_histo = 0;
|
||||
for (UInt_t i=0; i<chisqPerHisto.size(); i++) {
|
||||
ndf_histo = fFitterFcn->GetNoOfFittedBins(i) - fRunInfo->GetNoOfFitParameters(i);
|
||||
ndfPerHisto.push_back(ndf_histo);
|
||||
}
|
||||
|
||||
// feed the msr-file handler
|
||||
PMsrStatisticStructure *statistics = fRunInfo->GetMsrStatistic();
|
||||
if (statistics) {
|
||||
statistics->fMinPerHisto = chisqPerHisto;
|
||||
statistics->fNdfPerHisto = ndfPerHisto;
|
||||
}
|
||||
}
|
||||
|
||||
// clean up
|
||||
param.clear();
|
||||
expectedChisqPerHisto.clear();
|
||||
ndfPerHisto.clear();
|
||||
chisqPerHisto.clear();
|
||||
|
||||
cout << ">> PFitter::ExecuteSave(): will write minuit2 output file ..." << endl;
|
||||
|
||||
ofstream fout;
|
||||
|