Beispiel #1
0
	def do_fft(self):
		if self.trace == None: return
		transform = []
		for xy in self.trace:
			fr,tr = eyemath.fft(xy[1], self.delay * self.NC * 0.001)
			transform.append([fr,tr])
		eyeplot.grace(transform, xlab=_('freq'), ylab=_('relative power'))
def xmgrace():  # Send the data to Xmgrace
    global data
    eyeplot.grace(data, _('milliSeconds'), _('Volts'))
Beispiel #3
0
 def xmgrace(self):
     if self.running == True:
         return
     eyeplot.grace([self.tv])
Beispiel #4
0
def xmgrace():		# Send the data to Xmgrace
	global history
	eyeplot.grace(history, _('Volts'), _('mA'), _('Diode IV Curve'))
Beispiel #5
0
def xmgrace():  # Send the data to Xmgrace
    global history
    eyeplot.grace(history, _('milliSeconds'), _('Volts'))
Beispiel #6
0
def xmgrace():
    global data
    if eyeplot.grace(data) == False:
        msg(_('Could not find Xmgrace or Pygrace. Install them'), 'red')
    else:
        msg(_('Traces send to Xmgrace'))
Beispiel #7
0
def xmgrace():		# Send the data to Xmgrace
	global data
	eyeplot.grace([data], _('Freq'), _('Amp & Phase'), _('Filter Char.'))