get_session_settings#

get_session_settings(project: str, subject: str, date: Any, task: str = 'TwoAFC', summary: DataFrame | None = None, root: str | Path | None = None, fetch: bool = True) → Dict[str, Any] | None[source]#

The settings of one session (subject, date of its start), looked for in:

  1. the sessions summaries (summary, or those of the project in the data folder: io.loading.load_project_logs),

  2. its .json file in <root>/<project>/sessions/<subject>/,

  3. the cluster (if fetch): the .json file is copied to that folder.

Returns None if they are not found.