airbornegeo.split_into_segments#
- split_into_segments(data, threshold, column_name, min_points_per_segment=0)[source]#
Split dataframe into segments where there is a gap in the supplied values greater than the threshold. Data are sorted by column βunixtimeβ. The values are chosen with column_name, and could be quantities such as time in seconds, cumulative distances, or aircraft bearings.
- Parameters:
- Returns:
A series with new new segments identified with integers
- Return type: