# CLEOSim: inject optogenetics, electrodes, and closed-loop control into your Brian simulation!

**URL:** <https://brian.discourse.group/t/cleosim-inject-optogenetics-electrodes-and-closed-loop-control-into-your-brian-simulation/759>\
**Category:** Showcase\
**Created:** [2 August 2022 21:11 UTC](https://brian.discourse.group/t/cleosim-inject-optogenetics-electrodes-and-closed-loop-control-into-your-brian-simulation/759 "2022-08-02T21:11:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjohnsen](https://yyz2.discourse-cdn.com/free1/user_avatar/brian.discourse.group/kjohnsen/32/200_2.png) [@kjohnsen](https://brian.discourse.group/u/kjohnsen)\
**Post date:** [2 August 2022 21:11 UTC](https://brian.discourse.group/t/cleosim-inject-optogenetics-electrodes-and-closed-loop-control-into-your-brian-simulation/759/1 "2022-08-02T21:11:08Z")

</div>

I’m excited to finally share CLEOSim with the Brian community! CLEO refers to Closed Loop (control), Electrodes, and Optogenetics. I’ve tried to make it as pain-free as possible to add these things to an existing Brian model. The idea is to use this for

1. prototyping an experiment with Brian before trying it _in vivo_ or
2. exploring observations/manipulations of a computational model with realistic experimental constraints.

Feel free to reach out with any questions!

[CLEOSim: Closed Loop, Electrophysiology, and Optogenetics Simulator — CLEOSim documentation](https://cleosim.readthedocs.io/en/latest/index.html)

---

<div class="post-metadata">

**Author:** ![kjohnsen](https://yyz2.discourse-cdn.com/free1/user_avatar/brian.discourse.group/kjohnsen/32/200_2.png) [@kjohnsen](https://brian.discourse.group/u/kjohnsen)\
**Post date:** [1 September 2022 14:08 UTC](https://brian.discourse.group/t/cleosim-inject-optogenetics-electrodes-and-closed-loop-control-into-your-brian-simulation/759/2 "2022-09-01T14:08:36Z")

</div>

FYI, it has been rebranded to Cleo. I’m working on a publication now, and in the somewhat near future I’m planning on adding support for a many-to-many light source-opsin relationship
