singlecell_input_mapperevoked_PSTH_from_spike_timesscan_directory

scan_directory

singlecell_input_mapper.evoked_PSTH_from_spike_times.scan_directory(path, fnames, suffix)

Recursively scans a directory for files with a specific suffix.

Parameters:
  • path (str) – The path of the directory to scan.

  • fnames (list) – A list to store the file names.

  • suffix (str) – The suffix of the files to look for.

Returns:

None. Updates fnames in place.