datadings.sets.MIT1003_write module

usage: MIT1003_write.py [-h] [-o PATH] [-y] [-s] [–shuffle {yes,no}] INDIR

Create MIT1003 data set files.

This tool will look for the following files in the input directory and download them if necessary:

  • ALLSTIMULI.zip

  • DATA.zip

Important

Samples have the following keys:

  • "key"

  • "image"

  • "experiments"

Each experiment has the following keys:

  • "locations"

  • "map"

Positional arguments

INDIR Directory that contains dataset source files.

options:
-h, --help

show this help message and exit

-o PATH, --outdir PATH

Output directory. Defaults to indir.

-y, --no-confirm

Don’t require user interaction.

-s, --skip-verification

Skip verification of source files.

–shuffle {yes,no} Write samples in random order. (default: yes)

datadings.sets.MIT1003_write.main()[source]
datadings.sets.MIT1003_write.write_image(imagezip, datazip, mat_files, stimuluspath, writer)[source]
datadings.sets.MIT1003_write.write_sets(files, outdir, args)[source]