From 58461bf01372e8baeb24bf53909307e9c7696abf Mon Sep 17 00:00:00 2001
From: Andreas Suter
Date: Mon, 25 May 2020 16:27:18 +0200
Subject: [PATCH] updated the docu and adopted the ChangLog
---
ChangeLog | 5 +++++
doc/html/.buildinfo | 2 +-
doc/html/_sources/user-manual.rst.txt | 12 +++++++++---
doc/html/_static/documentation_options.js | 2 +-
doc/html/acknowledgement.html | 8 ++++----
doc/html/any2many.html | 8 ++++----
doc/html/bugtracking.html | 8 ++++----
doc/html/cite.html | 8 ++++----
doc/html/genindex.html | 8 ++++----
doc/html/index.html | 8 ++++----
doc/html/msr2data.html | 8 ++++----
doc/html/mupp.html | 8 ++++----
doc/html/musr-root.html | 8 ++++----
doc/html/musredit.html | 8 ++++----
doc/html/search.html | 8 ++++----
doc/html/setup-dks.html | 8 ++++----
doc/html/setup-standard.html | 8 ++++----
doc/html/tutorial.html | 8 ++++----
doc/html/user-libs.html | 8 ++++----
doc/html/user-manual.html | 18 +++++++++++-------
20 files changed, 87 insertions(+), 72 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 83f6f199..074bbde2 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 ` and for one specific case in the :ref:`RUN block `. Supported is the use of basic arithmetic:
+:ref:`THEORY block ` and for three specific cases in the :ref:`RUN block ` (`norm`, `alpha`, and `beta`). Supported is the use of basic arithmetic:
:math:`+`
Addition
@@ -1064,18 +1064,24 @@ In order to describe the operations needed for fitting and plotting, quite some
.. _msr-alpha-beta:
**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 :math:`\alpha = N_{0,b}/N_{0,f}` and :math:`\beta = A_{0,b}/A_{0,f}`. If the parameters are not specified in the :ref:`RUN block `, for each one the value of 1 is assumed (for fittype 5, alpha is estimated from the ratio of :math:`\sum_i \left( N_{\mathrm{bp}}(i)+N_{\mathrm{bm}}(i) \right)` and :math:`\sum_i \left( N_{\mathrm{fp}}(i)+N_{\mathrm{fm}}(i) \right)`). Example for alpha with fit parameter number 1:
+ These parameters are used to correct the asymmetry for different detector efficiencies, solid angles and initial asymmetries. They are defined as :math:`\alpha = N_{0,b}/N_{0,f}` and :math:`\beta = A_{0,b}/A_{0,f}`. If the parameters are not specified in the :ref:`RUN block `, for each one the value of 1 is assumed (for fittype 5, alpha is estimated from the ratio of :math:`\sum_i \left( N_{\mathrm{bp}}(i)+N_{\mathrm{bm}}(i) \right)` and :math:`\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
+
.. index:: norm
.. _msr-norm:
**norm** (fit type 0)
Number of the fit parameter that represents the normalization constant :math:`N_0` of the histogram; the value of this parameter is given either per nanosecond or per bin (see :ref:`below `).
- It is possible to substitute the parameter number by a function here (and only here in a RUN block), for instance to relate :math:`N_0`\'s of different histograms through an :math:`\alpha`
+ It is possible to substitute the parameter number by a function, for instance to relate :math:`N_0`\'s of different histograms through an :math:`\alpha`
parameter. Example for a ``norm`` defined by fit parameter number 12:
::
diff --git a/doc/html/_static/documentation_options.js b/doc/html/_static/documentation_options.js
index c5d9c26f..63761070 100644
--- a/doc/html/_static/documentation_options.js
+++ b/doc/html/_static/documentation_options.js
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
- VERSION: '1.6.0',
+ VERSION: '1.6.1',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
diff --git a/doc/html/acknowledgement.html b/doc/html/acknowledgement.html
index cfb036e7..ffebb3a1 100644
--- a/doc/html/acknowledgement.html
+++ b/doc/html/acknowledgement.html
@@ -4,7 +4,7 @@
- Acknowledgements — musrfit 1.6.0 documentation
+ Acknowledgements — musrfit 1.6.1 documentation
@@ -30,7 +30,7 @@
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:
alpha1
+
Example for an alpha defined via function number 1:
+
alphafun1
+
+
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:
norm12
@@ -2429,12 +2433,12 @@ In case this cannot be ensured, the parallelization can be disabled by –di