Logo Search packages:      
Sourcecode: jokosher version File versions  Download package

def EventViewer::EventViewer::pixyFromVol (   self,
  vol 
)

Converts volume (0.0-1.0) to a Y pixel position in the waveform

Definition at line 681 of file EventViewer.py.

00681                                 :
            """Converts volume (0.0-1.0) to a Y pixel position in the waveform"""
            return round((1.0 - vol) * self.allocation.height)
      
      #_____________________________________________________________________
      
      def volFromPixy(self,pixy):


Generated by  Doxygen 1.6.0   Back to index