Package hedge :: Module discretization :: Class Filter
[hide private]
[frames] | no frames]

Class Filter

source code

Instance Methods [hide private]
 
__init__(self, discr, mode_response_func)
Construct a filter.
source code
 
__call__(self, vec) source code
 
get_filter_matrix(self, el_group) source code
Method Details [hide private]

__init__(self, discr, mode_response_func)
(Constructor)

source code 

Construct a filter.

Parameters:
  • discr - The Discretization for which the filter is to be constructed.
  • mode_response_func - A function mapping (mode_tuple, local_discretization) to a float indicating the factor by which this mode is to be multiplied after filtering.