bionet.utils.trig_poly.scale_down_coeffs

bionet.utils.trig_poly.scale_down_coeffs(am)

Scale down Dirichlet coefficients.

Parameters:

am : numpy.ndarray

Array of Dirichlet coefficients of a real trigonometric polynomial. Must be of odd length.

Returns:

am_new : numpy.ndarray

Array of scaled coefficients; the highest frequency coefficients are scaled down the most.