Pymagor: a Python based ROI definition tool for calcium imaging data