Menu

Helper Module for Deep Learning.

Module that provides functions to prepare the PRIME-DE dataset.

class pynet.datasets.primede.Item(input_path, output_path, metadata_path)
property input_path

Alias for field number 0

property metadata_path

Alias for field number 2

property output_path

Alias for field number 1

pynet.datasets.primede.convert_html_table(url)[source]

Web scraping: HTML tables.

pynet.datasets.primede.download_primede(datasetdir)[source]

Download the PRIME-DE dataset.

Reference: http://fcon_1000.projects.nitrc.org/indi/PRIMEdownloads.html

Parameters

datasetdir: str

the dataset destination folder.

pynet.datasets.primede.fetch_primede(datasetdir, maskdirname='brainmask')[source]

Fetch/prepare the PRIME-DE dataset for pynet.

Parameters

datasetdir: str

the dataset destination folder.

maskdirname: str

name of the folder that contains the brain masks.

Returns

item: namedtuple

a named tuple containing ‘input_path’, ‘output_path’, and ‘metadata_path’.

pynet.datasets.primede.organize_primede(datasetdir)[source]

Organize the PRIME-DE dataset.

Put all the data in the same BIDS organized folder.

Parameters

datasetdir: str

the dataset destination folder.

Follow us

© 2019, pynet developers .
Inspired by AZMIND template.