def stop(self):
        """Stop the sensor.
        """
        # Check that everything is running
        if not self._running:
            logging.warning('Colorized PhoXi not running. Aborting stop')
            return False

        self._webcam.stop()
        self._phoxi.stop()

        return True
def stop ( self ) : if not self . _running : logging . warning ( 'Colorized PhoXi not running. Aborting stop' ) return False self . _webcam . stop ( ) self . _phoxi . stop ( ) return True
Stop the sensor.