Semiautomated analysis of an optical ATP indicator in neurons