xcp_d.workflows
xcp_d.interfaces
xcp_d.utils
Extract a given entity from a BIDS filename via string manipulation.
filename (str) – Path to the BIDS file.
str
entity (str) – The entity to extract from the filename.
entity_value – The BOLD file’s entity value associated with the requested entity.
str or None