Menu

Helper Module for Deep Learning.

Module that provides functions to prepare registration dataset.

class pynet.datasets.toy.Item(t1w_path, t2w_path, flair_path, template_path)
property flair_path

Alias for field number 2

property t1w_path

Alias for field number 0

property t2w_path

Alias for field number 1

property template_path

Alias for field number 3

pynet.datasets.toy.fetch_toy(datasetdir)[source]

Fetch a toy dataset composed of Nifti images.

Parameters

datasetdir: str

the dataset destination folder.

Returns

item: namedtuple

a named tuple containing ‘t1w_path’, ‘t2w_path’, ‘flair_path’, and ‘template_path’.

Follow us

© 2019, pynet developers .
Inspired by AZMIND template.