diff --git a/ChangeLog b/ChangeLog
index 6691d39f..4ace7dca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,11 @@ or
https://bitbucket.org/muonspin/musrfit/commits/all
+Release of V1.6.1, 2020/05/25
+=============================
+
+For asymmetry fits: allow alpha, beta in the RUN block to be functions.
+
Release of V1.6.0, 2020/05/16
=============================
diff --git a/doc/html/.buildinfo b/doc/html/.buildinfo
index 7ac2c58d..b66b59df 100644
--- a/doc/html/.buildinfo
+++ b/doc/html/.buildinfo
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
-config: 90c2680fff90669033f1bce5f6912272
+config: 2fd2e79340d6214c8fde0515f4f3fbe3
tags: 645f666f9bcd5a90fca523b33c5a78b7
diff --git a/doc/html/_sources/user-manual.rst.txt b/doc/html/_sources/user-manual.rst.txt
index 3e8e23bc..b20c63dd 100644
--- a/doc/html/_sources/user-manual.rst.txt
+++ b/doc/html/_sources/user-manual.rst.txt
@@ -775,7 +775,7 @@ The FUNCTIONS Block
+++++++++++++++++++
Here some auxiliary functions can be defined. These functions can currently *only* operate on the defined parameters. They can be used in the
-:ref:`THEORY block
previous |
- musrfit 1.6.0 documentation »
+ musrfit 1.6.1 documentation »
diff --git a/doc/html/musredit.html b/doc/html/musredit.html
index fd061639..d758284d 100644
--- a/doc/html/musredit.html
+++ b/doc/html/musredit.html
@@ -4,7 +4,7 @@
- musredit: the GUI Based Interface to musrfit — musrfit 1.6.0 documentation
+ musredit: the GUI Based Interface to musrfit — musrfit 1.6.1 documentation
@@ -30,7 +30,7 @@
previous |
- musrfit 1.6.0 documentation »
+ musrfit 1.6.1 documentation »
@@ -531,12 +531,12 @@ the corresponding fit parameter value, except the phases where the step will be
previous |
- musrfit 1.6.0 documentation »
+ musrfit 1.6.1 documentation »
diff --git a/doc/html/search.html b/doc/html/search.html
index 846c73bf..cf46794f 100644
--- a/doc/html/search.html
+++ b/doc/html/search.html
@@ -4,7 +4,7 @@
- Search — musrfit 1.6.0 documentation
+ Search — musrfit 1.6.1 documentation
@@ -27,7 +27,7 @@
index
- musrfit 1.6.0 documentation »
+ musrfit 1.6.1 documentation »
@@ -75,12 +75,12 @@
index
- musrfit 1.6.0 documentation »
+ musrfit 1.6.1 documentation »
diff --git a/doc/html/setup-dks.html b/doc/html/setup-dks.html
index 39cb8163..c8edb33f 100644
--- a/doc/html/setup-dks.html
+++ b/doc/html/setup-dks.html
@@ -4,7 +4,7 @@ i
- Setting up musrfit / DKS: High Speed Fitting with GPU’s — musrfit 1.6.0 documentation
+ Setting up musrfit / DKS: High Speed Fitting with GPU’s — musrfit 1.6.1 documentation
@@ -30,7 +30,7 @@ i
previous |
- musrfit 1.6.0 documentation »
+ musrfit 1.6.1 documentation »
@@ -309,12 +309,12 @@ The only thing you need
previous |
- musrfit 1.6.0 documentation »
+ musrfit 1.6.1 documentation »
diff --git a/doc/html/setup-standard.html b/doc/html/setup-standard.html
index e8662bb3..9528f27c 100644
--- a/doc/html/setup-standard.html
+++ b/doc/html/setup-standard.html
@@ -4,7 +4,7 @@
- Setting up musrfit on Different Platforms — musrfit 1.6.0 documentation
+ Setting up musrfit on Different Platforms — musrfit 1.6.1 documentation
@@ -30,7 +30,7 @@
previous |
- musrfit 1.6.0 documentation »
+ musrfit 1.6.1 documentation »
@@ -1293,12 +1293,12 @@ $ musrview test-histo-ROOT-NPP.msr
previous |
- musrfit 1.6.0 documentation »
+ musrfit 1.6.1 documentation »
diff --git a/doc/html/tutorial.html b/doc/html/tutorial.html
index 63d8541e..e1f7e635 100644
--- a/doc/html/tutorial.html
+++ b/doc/html/tutorial.html
@@ -4,7 +4,7 @@
- Tutorial for musrfit — musrfit 1.6.0 documentation
+ Tutorial for musrfit — musrfit 1.6.1 documentation
@@ -30,7 +30,7 @@
previous |
- musrfit 1.6.0 documentation »
+ musrfit 1.6.1 documentation »
@@ -431,12 +431,12 @@ For a complete description please refer to the manuals of
previous |
- musrfit 1.6.0 documentation »
+ musrfit 1.6.1 documentation »
diff --git a/doc/html/user-libs.html b/doc/html/user-libs.html
index 9ebee3f9..0c50a76a 100644
--- a/doc/html/user-libs.html
+++ b/doc/html/user-libs.html
@@ -4,7 +4,7 @@
- Documentation of user libs (user functions) — musrfit 1.6.0 documentation
+ Documentation of user libs (user functions) — musrfit 1.6.1 documentation
@@ -30,7 +30,7 @@
previous |
- musrfit 1.6.0 documentation »
+ musrfit 1.6.1 documentation »
@@ -647,12 +647,12 @@ K(m)&=\int_0^{\pi/2}\frac{\mathrm d\varphi}{\sqrt{1-m^2\sin^2{\varphi}}},\en
previous |
- musrfit 1.6.0 documentation »
+ musrfit 1.6.1 documentation »
diff --git a/doc/html/user-manual.html b/doc/html/user-manual.html
index 26a1661a..607b5033 100644
--- a/doc/html/user-manual.html
+++ b/doc/html/user-manual.html
@@ -4,7 +4,7 @@
- User manual — musrfit 1.6.0 documentation
+ User manual — musrfit 1.6.1 documentation
@@ -30,7 +30,7 @@
previous |
- musrfit 1.6.0 documentation »
+ musrfit 1.6.1 documentation »
@@ -897,7 +897,7 @@ instead of specifying the parameters directly.
The FUNCTIONS Block¶
Here some auxiliary functions can be defined. These functions can currently only operate on the defined parameters. They can be used in the
-THEORY block and for one specific case in the RUN block. Supported is the use of basic arithmetic:
+THEORY block and for three specific cases in the RUN block (norm, alpha, and beta). Supported is the use of basic arithmetic:
- \(+\)
Addition
@@ -1169,15 +1169,19 @@ a short digression is needed.
-- alpha, beta (fit type 2, 3, 5)
These parameters are used to correct the asymmetry for different detector efficiencies, solid angles and initial asymmetries. They are defined as \(\alpha = N_{0,b}/N_{0,f}\) and \(\beta = A_{0,b}/A_{0,f}\). If the parameters are not specified in the RUN block, for each one the value of 1 is assumed (for fittype 5, alpha is estimated from the ratio of \(\sum_i \left( N_{\mathrm{bp}}(i)+N_{\mathrm{bm}}(i) \right)\) and \(\sum_i \left( N_{\mathrm{fp}}(i)+N_{\mathrm{fm}}(i) \right)\)). Example for alpha with fit parameter number 1:
+- alpha, beta (fit type 2, 3, 5)
These parameters are used to correct the asymmetry for different detector efficiencies, solid angles and initial asymmetries. They are defined as \(\alpha = N_{0,b}/N_{0,f}\) and \(\beta = A_{0,b}/A_{0,f}\). If the parameters are not specified in the RUN block, for each one the value of 1 is assumed (for fittype 5, alpha is estimated from the ratio of \(\sum_i \left( N_{\mathrm{bp}}(i)+N_{\mathrm{bm}}(i) \right)\) and \(\sum_i \left( N_{\mathrm{fp}}(i)+N_{\mathrm{fm}}(i) \right)\)). Both, alpha as well as beta can be expressed through a function. Example for alpha with fit parameter number 1:
alpha 1
+Example for an alpha
defined via function number 1:
+alpha fun1
+
+
- norm (fit type 0)
Number of the fit parameter that represents the normalization constant \(N_0\) of the histogram; the value of this parameter is given either per nanosecond or per bin (see below).
-It is possible to substitute the parameter number by a function here (and only here in a RUN block), for instance to relate \(N_0\)’s of different histograms through an \(\alpha\)
+It is possible to substitute the parameter number by a function, for instance to relate \(N_0\)’s of different histograms through an \(\alpha\)
parameter. Example for a norm
defined by fit parameter number 12:
norm 12
@@ -2429,12 +2433,12 @@ In case this cannot be ensured, the parallelization can be disabled by –di
-
previous |
-
+