Pymagor: a Python based calcium imaging data analysis tool.