grapa.datatypes.curveTRPL.integrate
- grapa.datatypes.curveTRPL.integrate(curve, roi=None, alter=None)
Integrate: returns the integral of the curve, within ROI.
- Parameters:
curve – a Curve instance
roi – example [xmin, xmax]
alter – ‘raw’, or any Graph ‘alter’ value including (mul-)offsets.
curve – if curve is None, act on self. Construct to apply code with Curves of a different type