bidsaid.audit.BIDSAuditor.check_events_availability

BIDSAuditor.check_events_availability(run_id=None)[source]

Checks the availability of events TSV files for each subject and their sessions. Specifically checks if event TSV files are available for all tasks (i.e. “rest”, “flanker”, etc).

Important

  • Checks if at least file is available for a specific subject, session (if applicable), and task.

Parameters

run_idstr, int, or None, default=None

The specific run ID to check for.

Returns

pandas.DataFrame

A Pandas DataFrame denoting file availability, where “Yes” means the file is available and “No” means that the file is not available.

Notes

Example of output table:

subject

session

nback

flanker

mtle

mtlr

princess

101

01

Yes

Yes

Yes

Yes

Yes

101

02

Yes

No

Yes

Yes

Yes

102

01

Yes

Yes

Yes

Yes

Yes

103

01

Yes

Yes

Yes

Yes

Yes