fault_mesh.utilities.smoothing

A convenience script for running many combinations of chunk_sizes and numbers_of_cores for a small sub-set of a catchment to help with the selection of an appropiate chink_size and number_of_cores before processing an entire catchment.

Functions

chaikins_corner_cutting(coords[, refinements])

Chaikin's corner cutting algorithm for smoothing a line.

Module Contents

fault_mesh.utilities.smoothing.chaikins_corner_cutting(coords, refinements=5)

Chaikin’s corner cutting algorithm for smoothing a line.