pingwyn.curves_to_profiles

pingwyn.curves_to_profiles(curves)

Convert individual curves to line profiles. This function will determine which consecutive curves make up a profile.

Parameters:

curves (list or tuple of pingwyn.Curve) – A List or Tuple containing consequtive Curves that should be converted into line profiles.

Returns:

A List of matched Profiles. Can be empty if no curves match any profile (i.e. individual points).

Return type:

list of pingwyn.Profile