pingwyn.combine

pingwyn.combine(objs)

Compute the average from multiple pieces of data.

This function combines and averages a list of data into a single object. For example, you can combine multiple pingwyn.Curve types into the average pingwyn.Curve.

Parameters:

objs (list or tuple of pingwyn.Curve, pingwyn.Grid, pingwyn.Image or pingwyn.Profile) – The objects to combine and average. Must consist out of a single distinct data type.

Returns:

The combined data in the data type of the objects provided.

Return type:

pingwyn.Curve or pingwyn.Grid or pingwyn.Image or pingwyn.Profile

See also

pingwyn.mean