horea.christ@gmail.com Horea Christian COSgen (Contrast optimized stimulus generator) is a Python package for the optimization of stimulus sequences in stimulus evoked fMRI experiments. It is fully compatible with the stimulus sequence delivery solution COSplay. IBT-FMI/COSgen