File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 338
338
"sparse" : ("https://sparse.pydata.org/en/latest/" , None ),
339
339
"xarray-tutorial" : ("https://tutorial.xarray.dev/" , None ),
340
340
"zarr" : ("https://zarr.readthedocs.io/en/stable/" , None ),
341
+ "xarray-lmfit" : ("https://xarray-lmfit.readthedocs.io/stable" , None ),
341
342
}
342
343
343
344
# based on numpy doc/source/conf.py
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ Extend xarray capabilities
89
89
- `X-regression <https://github.com/kuchaale/X-regression >`_: Multiple linear regression from Statsmodels library coupled with Xarray library.
90
90
- `xskillscore <https://github.com/xarray-contrib/xskillscore >`_: Metrics for verifying forecasts.
91
91
- `xyzpy <https://xyzpy.readthedocs.io >`_: Easily generate high dimensional data, including parallelization.
92
+ - `xarray-lmfit <https://github.com/kmnhan/xarray-lmfit >`_: xarray extension for curve fitting using `lmfit <https://lmfit.github.io/lmfit-py/ >`_.
92
93
93
94
Visualization
94
95
~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -6410,7 +6410,7 @@ def curvefit(
6410
6410
"""
6411
6411
Curve fitting optimization for arbitrary functions.
6412
6412
6413
- Wraps `scipy.optimize.curve_fit` with ` apply_ufunc`.
6413
+ Wraps :py:func: `scipy.optimize.curve_fit` with :py:func:`~xarray. apply_ufunc`.
6414
6414
6415
6415
Parameters
6416
6416
----------
@@ -6550,6 +6550,9 @@ def curvefit(
6550
6550
--------
6551
6551
DataArray.polyfit
6552
6552
scipy.optimize.curve_fit
6553
+ xarray.DataArray.xlm.modelfit
6554
+ External method from `xarray-lmfit <https://xarray-lmfit.readthedocs.io/>`_
6555
+ with more curve fitting functionality.
6553
6556
"""
6554
6557
# For DataArray, use the original implementation by converting to a dataset first
6555
6558
return self ._to_temp_dataset ().curvefit (
Original file line number Diff line number Diff line change @@ -9566,7 +9566,7 @@ def curvefit(
9566
9566
"""
9567
9567
Curve fitting optimization for arbitrary functions.
9568
9568
9569
- Wraps `scipy.optimize.curve_fit` with ` apply_ufunc`.
9569
+ Wraps :py:func: `scipy.optimize.curve_fit` with :py:func:`~xarray. apply_ufunc`.
9570
9570
9571
9571
Parameters
9572
9572
----------
@@ -9626,6 +9626,9 @@ def curvefit(
9626
9626
--------
9627
9627
Dataset.polyfit
9628
9628
scipy.optimize.curve_fit
9629
+ xarray.Dataset.xlm.modelfit
9630
+ External method from `xarray-lmfit <https://xarray-lmfit.readthedocs.io/>`_
9631
+ with more curve fitting functionality.
9629
9632
"""
9630
9633
from xarray .computation .fit import curvefit as curvefit_impl
9631
9634
You can’t perform that action at this time.
0 commit comments