bidspath_from_layout¶
- bidspath_from_layout(layout: BIDSLayout, **kwargs) BIDSPath[source][source]¶
Searches a
BIDSLayoutfor a file and returns aBIDSPathto it.- Parameters:
layout (
BIDSLayout) – TheBIDSLayoutto search.**kwargs (
dict) – The parameters passed toBIDSLayout.get()
- Returns:
BIDS_path – The BIDSPath to the file.
- Return type:
BIDSPath