Nat. Methods 14, 160–166 (2017); published online 12 December 2016; corrected after print 10 April 2017

In the version of this article initially published, the middle cerebral artery was incorrectly referred to as the middle carotid artery. The error has been corrected in the HTML and PDF versions of the article as of 10 April 2017.