Utility functionsΒΆ

Module util provides a set of useful helpers which are currently not attributable to the other modules

from_to

Return a list of timesteps from <tstart> to <tend> of length <tdelta>

filter_window_polar

Apply a filter of an approximated square window of half size fsize on a given polar image img.

filter_window_cartesian

Apply a filter of square window size fsize on a given cartesian image img.

find_bbox_indices

Find min/max-indices for NxMx2 array coords using bbox-values.

get_raster_origin

Return raster origin

calculate_polynomial

Calculate Polynomial

derivate

Calculates derivative of data using window of length winlen.

despeckle

Remove floating pixels in between NaNs in a multi-dimensional array.