graphinglib.FitFromExponential.create_integral_curve#
- FitFromExponential.create_integral_curve(initial_value: float = 0, label: str | None = None, color: str = 'default', line_width: float | Literal['default'] = 'default', line_style: str = 'default', copy_first: bool = False) Self#
Creates a new curve which is the integral of the original curve.
- Parameters:
- initial_valuefloat, optional
The value of the integral at the first x value (initial condition). Defaults to 0.
- labelstr, optional
Label of the new curve to be displayed in the legend.
- colorstr
Color of the new curve. Default depends on the
figure_styleconfiguration.- line_widthfloat
Width of the new curve. Default depends on the
figure_styleconfiguration.- line_stylestr
Style of the new curve. Default depends on the
figure_styleconfiguration.- copy_firstbool
If
True, a copy of the curve (with all its parameters) will be returned with the integral applied. Any other parameters passed to this method will also be applied to the copied curve. IfFalse, a new curve will be created with the integral applied and the parameters passed to this method.
- Returns:
- A
Curveobject which is the integral of the original curve.
- A