clinicaio.session.Session#

class clinicaio.session.Session#
parent_subject: clinicaio.subject.Subject#
id: clinicaio.types.SessionId | None#
info: SessionInfo#

Non-empty only if enabled when reading the dataset with BIDSDataset.populate_from_dir().

Methods#

images_by_data_type(→ Iterable[clinicaio.image.Image])

Retrieves all this session's images that match the given data type.

all_images(→ Iterable[clinicaio.image.Image])

Returns all the images that are part of this session

images_count(→ int)

write_image(→ clinicaio.image.Image)

Adds to the session the image created with the given properties, and creates

populate_image_scans_info_from_df(→ None)

Populates the images information from the given dataframe.