##// END OF EJS Templates
p.367 "Digital Signal Processing with FPGA"
p.367 "Digital Signal Processing with FPGA"

File last commit:

r1:c74d16760597 default
r1:c74d16760597 default
Show More
butterfly_processor.py
14 lines | 327 B | text/x-python | PythonLexer
/ butterfly_processor.py
# compute the two scaled butterfly equations
class ButterflyProcessor(object):
"""docstring for ClassName"""
def __init__(self, arg):
super(ButterflyProcessor, self).__init__()
self.arg = arg
def butterfly(self):
Dre = ( Are + Bre ) / 2
Dim = ( Aim + Bim ) / 2
Ere = ( Are - Bre ) / 2
Eim = ( Aim - Bim ) / 2