:type  input: Complex
        :rtype: Sfix

def main(self, input):
        """
        :type  input: Complex
        :rtype: Sfix
        """
        demod = self.demod.main(input)
        match = self.match.main(demod)

        return match