iblrig.misc.get_session_path

iblrig.misc.get_session_path(path)[source]

Returns the session path from any filepath if the date/number pattern is found.

Parameters:

path (str | Path)

Return type:

Path | None