bids.variables.kollekshuns.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, 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: A BIDSVariableCollection or BIDSRunVariableCollection, depending on the type of the input collections.