Gravar-mail: NeuroPG: open source software for optical pattern generation and data acquisition