photon_mosaic.sample_data.suite2p_sample_data#

Functions

download_suite2p_google_drive([num_files])

Download the "official" suite2p sample TIFFs and return them as one lazy imaging.

photon_mosaic.sample_data.suite2p_sample_data.download_suite2p_google_drive(num_files=5)[source]#

Download the “official” suite2p sample TIFFs and return them as one lazy imaging.

The files are consecutive pieces of one single-plane recording, sampled at 30 Hz: at most 50 files of 200 frames each. They are cached in ~/.photon-mosaic/sample_data/suite2p.

Parameters:

num_files (int) – Number of files to download.

Returns:

One imaging of 200 * num_files frames over all the files, as one continuous movie, that reads only the frames asked for.

Return type:

BaseImaging