Return the list of available convertor.
Return a detailed description of the given convertor type.
Parameters : | type : str
|
---|---|
Returns : | descr : str
|
Resample the input array using the given converter type, with a ratio r (ie the resulting array will have a length ~ r * input’s length).
Parameters : | input: array :
r: float :
type: str :
|
---|---|
Returns : | output: array :
|
Notes
If input has rank 1, than all data are used, and are assumed to be from a mono signal. If rank is 2, the number columns will be assumed to be the number of channels.
The list of convertor types is available from the function available_convertors.
Only sinc_*-based interpolation provide good quality; linear and zero_order_hold should be avoided as much as possible, and be used only when speed is critical.