parameters: (self)
return_statement: return 200 if vibration else 0
docstring: Measure average vibration.
docstring_summary: Measure average vibration.
docstring_tokens: Measure average vibration .
function: def measure_vibration(self):
  
          """
          Measure average vibration.
          """
  
          vibration = self.vibration.value()
          return 200 if vibration else 0
function_tokens: def measure_vibration ( self ) : vibration = self . vibration . value ( ) return 200 if vibration else 0