Skip to content

Commit e5239ea

Browse files
committed
a few doc updates
1 parent a5e3e1f commit e5239ea

File tree

2 files changed

+54
-46
lines changed

2 files changed

+54
-46
lines changed

doc/faq.rst

+30-26
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,29 @@
44
Frequently Asked Questions
55
==========================
66

7-
A list of common questions.
7+
A list of common questions and responses.
8+
89

910
What's the best way to ask for help or submit a bug report?
1011
===========================================================
1112

1213
See :ref:`support_chapter`.
1314

1415

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+
========================
1718

18-
See :ref:`whatsnew_090_label`.
19+
To cite LMFIT, see https://doi.org/10.5281/zenodo.598352
1920

21+
Each release will have its own DOI, including:
2022

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
2325

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``.
3126

3227

3328
How can I fit multi-dimensional data?
34-
=====================================
29+
=========================================
3530

3631
The fitting routines accept data arrays that are one-dimensional and double
3732
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::
4540

4641

4742
How can I fit multiple data sets?
48-
=================================
43+
==================================
4944

5045
As above, the fitting routines accept data arrays that are one-dimensional
5146
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
8984
class, which are also complex-aware.
9085

9186

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-
10187

10288
I get errors from NaN in my fit. What can I do?
103-
================================================
89+
===================================================
10490

10591
The solvers used by lmfit use NaN (see
10692
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`.
217203
.. _faq_params_no_uncertainties:
218204

219205
Why are uncertainties in Parameters sometimes not determined?
220-
=============================================================
206+
================================================================
221207

222208
In order for Parameter uncertainties to be estimated, each variable
223209
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:
327313
The natural width of the error function is about 2 ``x`` units, but you can
328314
adjust this, shortening it with ``erf((x-x0)*2)`` to give a sharper
329315
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``.

doc/support.rst

+24-20
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,30 @@ Getting Help
55
============
66

77
.. _mailing list: https://groups.google.com/group/lmfit-py
8+
.. _github discussion: https://github.com/orgs/lmfit/discussions
89
.. _github issues: https://github.com/lmfit/lmfit-py/issues
910

10-
If you have questions, comments, or suggestions for LMFIT, please use the
11-
`mailing list`_. This provides an on-line conversation that is both
12-
archived well and can be searched easily with standard web searches. If you
13-
find a bug in the code or documentation, use `GitHub Issues`_ to submit a
14-
report. If you have an idea for how to solve the problem and are familiar
15-
with Python and GitHub, submitting a GitHub Pull Request would be greatly
16-
appreciated.
11+
If you have questions, comments, or suggestions for LMFIT, please use
12+
the `mailing list`_ or `github discussion`_. These provide on-line
13+
conversation that are archived and can be searched easily with
14+
standard web searches.
15+
16+
If you do find a bug in the code or documentation, use `GitHub
17+
Issues`_ to submit a report. But if you have not submitted a bug
18+
report for LMFIT before, or if you are not sure that you have found a
19+
bug in LMFIT, please start a conversation on the `mailing list`_ or
20+
`github discussion`_. A problem you are having may or may not be due
21+
to a bug in LMFIT. If it is due to a bug, creating an Issue from the
22+
conversation is easy. If it is not a bug, the problem will be
23+
discussed and then the Issue will be closed. Starting the
24+
conversation on the mailing list or Discussions page with "How do I do
25+
this?" or "Why didn't this work the way I expected?" instead of "This
26+
did not work as I expected, so your code must be broken" is generally
27+
preferred, and will better help others with similar questions.
1728

18-
If you are unsure whether to use the mailing list or the Issue tracker,
19-
please start a conversation on the `mailing list`_. That is, the problem
20-
you're having may or may not be due to a bug. If it is due to a bug,
21-
creating an Issue from the conversation is easy. If it is not a bug, the
22-
problem will be discussed and then the Issue will be closed. While one
23-
*can* search through closed Issues on GitHub, these are not so easily
24-
searched, and the conversation is not easily useful to others later.
25-
Starting the conversation on the mailing list with "How do I do this?" or
26-
"Why didn't this work?" instead of "This should work and doesn't" is
27-
generally preferred, and will better help others with similar questions.
28-
Of course, there is not always an obvious way to decide if something is a
29-
Question or an Issue, and we will try our best to engage in all
30-
discussions.
29+
If you do submit a bug report, we expect that you understand how bug
30+
reporting works, and will provide the information needed to understand
31+
and reproduce that bug, such as a minimal verifiable example. If you
32+
have an idea for how to solve the problem and are familiar with Python
33+
and GitHub, submitting a GitHub Pull Request would be greatly
34+
appreciated.

0 commit comments

Comments
 (0)