Skip to content

Instantly share code, notes, and snippets.

def sosfiltfilt(sos, x, axis=-1, padtype='odd', padlen=None):
"""
A forward-backward filter.
This function applies a linear filter twice, once forward
and once backwards. The combined filter has linear phase.
Before applying the filter, the function can pad the data along the
given axis in one of three ways: odd, even or constant. The odd
and even extensions have the corresponding symmetry about the end point
{
"metadata": {
"name": "",
"signature": "sha256:2f2babf2baa2a851b1fc8528925f8891de8b4ab83e4595a80eaf01e72b109cf6"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"metadata": {
"name": "",
"signature": "sha256:c596216b04bd143488776336f6d91b9cb79ca469a9a11701e4dc9003bc6562f0"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
---------------------------------------------------------------------------
CoercionFailed Traceback (most recent call last)
<ipython-input-77-7cc3096d2b2c> in <module>()
3 x = Symbol('x')
4 phi2 = 1e3/fm**3+1/fm**2
----> 5 sym.integrate(1e3/x**3+1/x**2,x)
/Users/jfosorio/anaconda/lib/python2.7/site-packages/sympy/utilities/decorator.pyc in threaded_func(expr, *args, **kwargs)
28 func(expr.rhs, *args, **kwargs))
{
"metadata": {
"name": "Phase noise specification"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{