validate_filepath_as_bids#

petpal.utils.bids_utils.validate_filepath_as_bids(filepath: str) bool#

Validate whether a given filepath conforms to the Brain Imaging Data Structure (BIDS) standard.

Parameters:

filepath (str) – The path to the file to be validated.

Returns:

bool – True if the file conforms to the BIDS standard, False otherwise.