datahipy.handlers.participants module
Manage BIDS participants using BIDS Manager.
- class datahipy.handlers.participants.ParticipantHandler(dataset_path=None, input_path=None)[source]
Bases:
object
Class to represent the handler of a dataset’s participant with utility functions.
- static create_data2import(ds_obj=None, input_data=None)[source]
Create a data2import object.
This object will be used to import data in the BIDS dataset.
Parameters
- ds_objBIDS Manager BidsDataset object
The BIDS Manager object representing a BIDS dataset.
- input_datadict
The input_data dictionary containing the data to import in the BIDS dataset.
Returns
- data2importBIDS Manager Data2Import object
The BIDS Manager object representing the data to import in the BIDS dataset.
- static dump_output_file(output_data=None, output_file=None)[source]
Dump output_data dict in a JSON file.