silx.gui.plot.actions.fit¶
silx.gui.plot.actions.fit module provides actions relative to fit.
The following QAction are available:
- 
class 
FitAction(plot, parent=None)[source]¶ QAction to open a
FitWidgetand set its data to the active curve if any, or to the first curve.Parameters: - plot – 
PlotWidgetinstance on which to operate - parent – See 
QAction 
- 
getXData(copy=True)[source]¶ Returns the X data used for the fit or None if undefined.
Parameters: copy (bool) – True to get a copy of the data, False to get the internal data. Return type: Union[numpy.ndarray,None] 
- 
getYData(copy=True)[source]¶ Returns the Y data used for the fit or None if undefined.
Parameters: copy (bool) – True to get a copy of the data, False to get the internal data. Return type: Union[numpy.ndarray,None] 
- 
isFittedItemUpdatedFromActiveCurve()[source]¶ Returns True if fitted data is synchronized with plot.
Return type: bool 
- 
isXRangeUpdatedOnZoom()[source]¶ Returns the current mode of fitted data X range update.
Return type: bool 
- plot –