Source code for pyoperant.behavior.lights

# -*- coding: utf-8 -*-
"""
This submodule controls the light schedule in the animal's environment.
It is documented in more detail in the main pyoperant module $pyoperant.components
"""

from pyoperant import utils, components
from pyoperant.behavior import base

[docs]class Lights(base.BaseExp): """docstring for Lights""" def __init__(self, *args, **kwargs): super(Lights, self).__init__(*args, **kwargs)
[docs] def panel_reset(self): try: self.panel.reset() except components.HopperWontDropError: pass