to_constant_speed

sofia_redux.scan.simulation.scan_patterns.constant_speed.to_constant_speed(pattern)[source]

Convert a pattern such that the samples are equally spaced wrt speed.

Since this uses linear interpolation, please ensure there are sufficient samples to adequately represent the scanning pattern.

Parameters:
patternCoordinate2D

The scanning pattern offsets that should be resampled to a constant speed.

Returns:
patternCoordinate2D

The elevation/cross-elevation scan pattern sampled at t_interval in the units of radius.