Module Expr Str Import alias identifier ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assert CompareLt NameLoad NameLoad Assert CompareGtE NameLoad Num Return Call AttributeLoad NameLoad attr NameLoad TupleLoad BinOpDiv NameLoad BinOpDiv NameLoad Num BinOpDiv NameLoad BinOpDiv NameLoad Num Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num body Expr Str Assign NameStore Call NameLoad NameLoad If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num body Return NameLoad Assign TupleStore NameStore NameStore NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Assert CompareEq AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Assert CompareEq AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpDiv Num Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A Waveform filtering routines. N/A numpy np scipy signal utils._types _as_array bandpass_filter N/A N/A rate low high order N/A None None None None N/A N/A Butterworth bandpass filter. N/A N/A low high N/A N/A order 1 N/A N/A N/A signal butter order N/A N/A low N/A rate 2.0 N/A high N/A rate 2.0 pass N/A apply_filter N/A N/A x filter axis N/A None 0 N/A N/A Apply a filter to an array. N/A x N/A _as_array x N/A N/A N/A N/A x shape N/A axis 0 N/A N/A x N/A N/A b a filter N/A N/A N/A signal filtfilt b a x axis axis N/A Filter N/A object N/A N/A Multichannel bandpass filter.

    The filter is applied on every column of a 2D array.

    Example
    -------

    ```python
    fil = Filter(rate=20000., low=5000., high=15000., order=4)
    traces_f = fil(traces)
    ```

     __init__ N/A N/A self rate low high order N/A None None None None N/A N/A N/A self _filter N/A bandpass_filter rate rate low low high high order order N/A __call__ N/A N/A self data N/A N/A N/A N/A apply_filter data filter N/A self _filter N/A N/A Whitening N/A object N/A N/A Compute a whitening matrix and apply it to data.

    Contributed by Pierre Yger.

     fit N/A N/A self x fudge N/A 1e-18 N/A N/A Compute the whitening matrix.

        Parameters
        ----------

        x : array
            An `(n_samples, n_channels)` array.

         N/A N/A N/A x ndim 2 N/A N/A ns nc N/A x shape N/A x_cov N/A N/A np cov x rowvar 0 N/A N/A N/A x_cov shape N/A nc nc N/A N/A d v N/A N/A N/A np linalg eigh x_cov N/A d N/A N/A np diag N/A 1.0 N/A N/A np sqrt N/A d fudge N/A w N/A N/A np dot N/A N/A np dot v d N/A v T N/A N/A self _matrix w N/A w N/A transform N/A N/A self x N/A N/A N/A Whiten some data.

        Parameters
        ----------

        x : array
            An `(n_samples, n_channels)` array.

         N/A N/A N/A np dot x N/A self _matrix N/A N/A