Esempio n. 1
0
 def make_hbra_plot(self):
     """
     Creates the analysis display based on the data received until the button is pressed
     """
     plotXY([[self.processor.times, self.processor.bpms]],
            labels=[False],
            showmax=[False],
            label_ndigits=[0],
            showmax_digits=[0],
            skip=[3],
            name=self.hbra_plot_title)
Esempio n. 2
0
 def make_bpm_plot(self):
     """
     Creates and/or updates the data display
     """
     plotXY([[self.processor.times, self.processor.samples],
             [self.processor.freqs, self.processor.fft]],
            labels=[False, True],
            showmax=[False, "bpm"],
            label_ndigits=[0, 0],
            showmax_digits=[0, 1],
            skip=[3, 3],
            name=self.plot_title,
            bg=self.processor.slices[0])
 def make_bpm_plot(self):
     """
     Creates and/or updates the data display
     """
     plotXY([[self.processor.fft.times, self.processor.fft.samples],
             [
                 self.processor.fft.even_times[4:-4],
                 self.processor.heart.filtered[4:-4]
             ], [self.processor.heart.freqs, self.processor.heart.fft]],
            labels=[False, False, True],
            showmax=[False, False, "bpm"],
            name=self.plot_title,
            bg=self.processor.grab_faces.slices[0])
Esempio n. 4
0
 def make_bpm_plot(self):
     """
     Creates and/or updates the data display
     """
     plotXY([[self.processor.fft.times, 
              self.processor.fft.samples],
         [self.processor.fft.even_times[4:-4], 
          self.processor.heart.filtered[4:-4]],
             [self.processor.heart.freqs, 
              self.processor.heart.fft]], 
            labels = [False, False, True],
            showmax = [False,False, "bpm"], 
            name = self.plot_title, 
            bg = self.processor.grab_faces.slices[0])
 def make_bpm_plot(self):
     """
     Creates and/or updates the data display
     """
     plotXY([[self.processor.times,
              self.processor.samples],
             [self.processor.freqs,
              self.processor.fft]],
            labels=[False, True],
            showmax=[False, "bpm"],
            label_ndigits=[0, 0],
            showmax_digits=[0, 1],
            skip=[3, 3],
            name=self.plot_title,
            bg=self.processor.slices[0])