Gravar-mail: An algorithm for automated detection, localization and measurement of local calcium signals from camera-based imaging