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'))
def xmgrace(self): if self.running == True: return eyeplot.grace([self.tv])
def xmgrace(): # Send the data to Xmgrace global history eyeplot.grace(history, _('Volts'), _('mA'), _('Diode IV Curve'))
def xmgrace(): # Send the data to Xmgrace global history eyeplot.grace(history, _('milliSeconds'), _('Volts'))
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'))
def xmgrace(): # Send the data to Xmgrace global data eyeplot.grace([data], _('Freq'), _('Amp & Phase'), _('Filter Char.'))