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

        return match
:type  input: Complex
        :rtype: Sfix