Esempio n. 1
0
 def producesignal(self):
     Pnoise = constant.kb*self.det.temp*self.det.bw 
     Vnoise = np.sqrt(constant.impedance*Pnoise)
     signal = utils.wf_normal(0,Vnoise,len(self.time))
     envelope = utils.func_normedgauss(self.time,self.sigtime,self.siglenth)
     self.signal = envelope*self.snr*signal
Esempio n. 2
0
 def producenoise(self):
     Pnoise = constant.kb*self.det.temp*self.det.bw 
     Vnoise = np.sqrt(constant.impedance*Pnoise)
     self.noise = utils.wf_normal(0,Vnoise,len(self.time))