<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_input(self, nr=2, qd=1, b=0):
 """ Set inputs after initialization Parameters ------- nr: integer length of generated time-series number must be power of two qd: float discrete variance b: float noise type: 0 : White Phase Modulation (WPM) -1 : Flicker Phase Modulation (FPM) -2 : White Frequency Modulation (WFM) -3 : Flicker Frequency Modulation (FFM) -4 : Random Walk Frequency Modulation (RWFM) """

        self.nr = nr
        self.qd = qd
        self.b = b