2.1.22.3.4 ocmsp_filtfilt_sos


Description

Second order(biquadratic) IIR Zero-phase digital filtering

Syntax

int ocmsp_filtfilt_sos( const double * px, double * py, UINT n, const double * pSOS, UINT nsec, double gain )

Parameters

px
[input] input data
py
[output] output data
n
[input] size of data
pSOS
[input] second-order section filter matrix, size nsec-by-6
nsec
[input] number of sections
gain
[input] overall gain of filter

Return

Return OE_NOERROR if succeed, otherwise, non-zero error code is returned (OE_NULL_POINTER, OE_INVALID_SIZE or OE_BAD_PARAM)

Examples

Remark

See Also

ocmsp_filter, ocmsp_filter_sos, ocmsp_filtfilt

Header to Included

ocmsp.h

Reference