Imported from https://github.com/bionanoimaging/cellSTORM-Tensorflow