bids.variables.merge_collections¶
-
merge_collections
(collections, force_dense=False, sampling_rate='auto')[source]¶ Merge two or more collections at the same level of analysis.
- Parameters
collections (list) – List of Collections to merge.
sampling_rate (int or str) – Sampling rate to use if it becomes necessary to resample DenseRunVariables. Either an integer or ‘auto’ (see merge_variables docstring for further explanation).
- Returns
Result type depends on the type of the input collections.
- Return type