Getting Started
User Guide
Help & reference
Dataset.
integrate
integrate the array with the trapezoidal rule.
Note
This feature is limited to simple cartesian geometry, i.e. coord must be one dimensional.
dim (str, or a sequence of str) – Coordinate(s) used for the integration.
datetime_unit –
Can be specify the unit if datetime coordinate is used. One of {‘Y’, ‘M’, ‘W’, ‘D’, ‘h’, ‘m’, ‘s’, ‘ms’, ‘us’, ‘ns’, ‘ps’, ‘fs’,
’as’}
integrated
Dataset
See also
DataArray.integrate()
numpy.trapz()
corresponding numpy function