schnitzer-lab / EXTRACT-public

EXTRACT is a tractable and robust automated cell extraction tool for calcium imaging, which extracts the activities of cells as time series from both one-photon and two-photon calcium imaging movies.
MIT License
62 stars 16 forks source link

using empty array as 'auto' option for downsample_time_by and downsample_space_by #14

Closed cechava closed 2 years ago

cechava commented 2 years ago

In saving configuration parameters to an HDF5 file (such as NWB file), each parameter must take a data type. downsample_time_by and downsample_space_by can take on string (e.g. 'auto') or numeric values. In order to save these parameters to file and later reuse them, it would be ideal if the same operations that were triggered by the 'auto' string input, would also be triggered by an empty array.