@@ -27,14 +27,14 @@ subpackges, as shown below.
2727* .. py:class: : BaseFunction
2828
2929 + .. py:class: : BaselineFunction
30-
30+
3131 - .. py:class: : FromSequence
3232 - .. py:class: : NanoSpherical
3333 - .. py:class: : Polynomial
3434 - *etc. *
35-
35+
3636 + .. py:class: : PeakFunction
37-
37+
3838 - .. py:class: : Gaussian
3939 - .. py:class: : GaussianOverR
4040 - *etc. *
@@ -57,7 +57,7 @@ for examples.
5757.. py :method :: estimate_parameters(r, y)
5858
5959 Return a Numpy array of parameters estimated from the data.
60-
60+
6161 :param r: Grid on which the data are defined.
6262 :param y: The data.
6363 :type r: `Sequence `
@@ -69,9 +69,9 @@ for examples.
6969
7070
7171.. py :method :: _jacobian_raw(pars, r, free)
72-
72+
7373 Return Jacobian for parameters evaluated over `r `.
74-
74+
7575 :param pars: The parameters of the baseline.
7676 :param r: Scalar or grid on which to calculate the Jacobian.
7777 :param free: Boolean values indicating if corresponding parameter is free (True) or fixed (False).
@@ -84,7 +84,7 @@ for examples.
8484.. py :method :: _transform_derivativesraw(pars, in_format, out_format)
8585
8686 Return the gradient matrix of `pars ` represented in format 'out_format'.
87-
87+
8888 :param pars: The parameters of the baseline.
8989 :param in_format: The format of `pars `.
9090 :param out_format: The desired format of `pars `.
@@ -97,7 +97,7 @@ for examples.
9797.. py :method :: _transform_parametersraw(pars, in_format, out_format)
9898
9999 Return parameters transformed into format 'out_format'.
100-
100+
101101 :param pars: The parameters of the baseline.
102102 :param in_format: The format of `pars `.
103103 :param out_format: The desired format of `pars `.
@@ -106,11 +106,11 @@ for examples.
106106 :type out_format: `str `
107107 :returns: The transformed parameters.
108108 :rtype: `numpy.ndarray `
109-
109+
110110.. py :method :: _valueraw(pars, r)
111111
112112 Return value of baseline with given parameters at r.
113-
113+
114114 :param pars: The parameters of the baseline.
115115 :param r: Scalar or grid on which to calculate the baseline.
116116 :type pars: `Sequence(float) `
@@ -130,12 +130,12 @@ following differences:
1301301) The ``estimate_parameters `` method is required.
1311312) The "position" key must be defined in the ``parameterdict `` class member.
1321323) Peak functions must implement the additional method ``scale_at ``.
133-
133+
134134.. py :method :: scale_at(pars, r, scale)
135135
136136 Return peak parameters such that the value at ``r `` is scaled by ``scale ``
137137 while the position of the peak's maxima remains unchanged.
138-
138+
139139 :param pars: The parameters of the peak.
140140 :param r: Position where the peak will be rescaled.
141141 :param scale: A scale factor > 0.
0 commit comments