4
4
Frequently Asked Questions
5
5
==========================
6
6
7
- A list of common questions.
7
+ A list of common questions and responses.
8
+
8
9
9
10
What's the best way to ask for help or submit a bug report?
10
11
===========================================================
11
12
12
13
See :ref: `support_chapter `.
13
14
14
15
15
- Why did my script break when upgrading from lmfit 0.8.3 to 0.9.0 ?
16
- =================================================================
16
+ How should I cite LMFIT ?
17
+ ========================
17
18
18
- See :ref: ` whatsnew_090_label `.
19
+ To cite LMFIT, see https://doi.org/10.5281/zenodo.598352
19
20
21
+ Each release will have its own DOI, including:
20
22
21
- I get import errors from IPython
22
- ================================
23
+ Version 1.3.3 https://zenodo.org/records/12785036
24
+ Version 1.3.2 https://zenodo.org/records/12785036
23
25
24
- If you see something like::
25
-
26
- from IPython.html.widgets import Dropdown
27
-
28
- ImportError: No module named 'widgets'
29
-
30
- then you need to install the ``ipywidgets `` package, try: ``pip install ipywidgets ``.
31
26
32
27
33
28
How can I fit multi-dimensional data?
34
- =====================================
29
+ =========================================
35
30
36
31
The fitting routines accept data arrays that are one-dimensional and double
37
32
precision. So you need to convert the data and model (or the value
@@ -45,7 +40,7 @@ do this is to use :numpydoc:`ndarray.flatten`, for example::
45
40
46
41
47
42
How can I fit multiple data sets?
48
- =================================
43
+ ==================================
49
44
50
45
As above, the fitting routines accept data arrays that are one-dimensional
51
46
and double precision. So you need to convert the sets of data and models
@@ -89,18 +84,9 @@ is that you also get access to the plot routines from the ModelResult
89
84
class, which are also complex-aware.
90
85
91
86
92
- How should I cite LMFIT?
93
- ========================
94
-
95
- For LMFIT 1.3.2, use https://doi.org/10.5281/zenodo.12785036.
96
-
97
- For other versions, see https://zenodo.org/records/12785036
98
-
99
-
100
-
101
87
102
88
I get errors from NaN in my fit. What can I do?
103
- ================================================
89
+ ===================================================
104
90
105
91
The solvers used by lmfit use NaN (see
106
92
https://en.wikipedia.org/wiki/NaN) values as signals that the calculation
@@ -217,7 +203,7 @@ used as discrete values. This is discussed below in :ref:`faq_discrete_params`.
217
203
.. _faq_params_no_uncertainties :
218
204
219
205
Why are uncertainties in Parameters sometimes not determined?
220
- =============================================================
206
+ ================================================================
221
207
222
208
In order for Parameter uncertainties to be estimated, each variable
223
209
Parameter must actually change the fit, and cannot be stuck at an initial
@@ -327,3 +313,21 @@ look like this and give better fit results:
327
313
The natural width of the error function is about 2 ``x `` units, but you can
328
314
adjust this, shortening it with ``erf((x-x0)*2) `` to give a sharper
329
315
transition for example.
316
+
317
+
318
+ Why did my script break when upgrading from lmfit 0.8.3 to 0.9.0?
319
+ =================================================================
320
+
321
+ See :ref: `whatsnew_090_label `.
322
+
323
+
324
+ I get import errors from IPython
325
+ ================================
326
+
327
+ If you see something like::
328
+
329
+ from IPython.html.widgets import Dropdown
330
+
331
+ ImportError: No module named 'widgets'
332
+
333
+ then you need to install the ``ipywidgets `` package, try: ``pip install ipywidgets ``.
0 commit comments