sekupy.io.bids module

sekupy.io.bids.add_bids_attributes(event_key, events, length, tr, onset_offset=0, extra_duration=0)[source]
sekupy.io.bids.get_bids_kwargs(kwargs)[source]
sekupy.io.bids.load_bids_attributes(path, subj, **kwargs)[source]

[summary]

Parameters:
  • path ([type]) – [description]

  • subj ([type]) – [description]

  • **kwargs (dictionary) – run_lenghts, tr, layout, onset_offset, extra_duration

Returns:

[description]

Return type:

[type]

Raises:

Exception – [description]

sekupy.io.bids.load_bids_dataset(path, subj, task, **kwargs)[source]

Load a 2d dataset.

Parameters:
  • path (string) – specification of filepath to load

  • subj (string) – the id of the subject to load

  • task (string) – the experiment name

  • kwargs (keyword arguments) – Keyword arguments to format-specific load

Returns:

ds – Instance of sekupy.dataset.base.Dataset

Return type:

Dataset

sekupy.io.bids.load_bids_mask(path, subject=None, task=None, **kwargs)[source]