photon_mosaic.rules.suite2p_run#
Functions
|
This function runs Suite2P on a given TIFF file and saves the results in the specified paths. |
- photon_mosaic.rules.suite2p_run.run_suite2p(tiff_file, stat_path, bin_path, dataset_folder, user_ops_dict=None)[source]#
This function runs Suite2P on a given TIFF file and saves the results in the specified paths. It also handles any exceptions that may occur during the process and logs them in an error file.
- Parameters:
tiff_file (str) – The path to the TIFF file to be processed.
stat_path (str) – The path where the Suite2P statistics will be saved.
bin_path (str) – The path where the Suite2P binary data will be saved.
dataset_folder (str) – The path to the folder containing the dataset.
user_ops_dict (dict, optional) – A dictionary containing user-provided options to override the default Suite2P options. The default is None.