Пример #1
0
 def chirp(self,time,start,stop,decay):
     return N.sin(
         2. * N.pi * (
             norm_frequency(stop)
             + (
                 norm_frequency(start-stop)
                 * N.exp(-1. * time / norm_time(decay))
             )
         ) * time
     )
Пример #2
0
 def gaussian(self,time,decay):
     return N.exp(
         -1. * N.power(time / norm_time(decay), 2)
     )
Пример #3
0
 def envelope(self,time,decay):
     return N.exp(-1. * time / norm_time(decay))