gentnerlab / pyoperant

python package for operant conditioning
BSD 3-Clause "New" or "Revised" License
13 stars 15 forks source link

Free food block #114

Closed timsainb closed 5 years ago

timsainb commented 8 years ago

Adds a 'free food block' where during a specified time in parameters json, e.g.:

"free_food_schedule": [
        [
           "15:25",
           "15:48"
        ]

    ]

food is administered a la shape block1 (with 10 seconds food, 5 seconds wait). Should not interact with behaviors which do not include free_food_schedule parameter.

neuromusic commented 8 years ago

I don't have the bandwidth to review this, so @MarvinT will probably need to.

On first glance, you should probably rebase to clean up the Merge commits.