This repository contains research and project code for the EPINR susceptibility distortion correction method.
The EPINR paper may be found at https://openreview.net/forum?id=xrISwrfA0Y
See the environment/ directory for instructions on creating the runtime container/environment.
This repository has the following top-level directory layout:
./ ## Project root
├── README.md
├── notebooks/ ## Notebooks for training, testing, and results analysis
├── scripts/ ## Scripts for data preprocessing, testing models, and other utilities
├── environment/ ## Detailed specs for container creation.
├── mrinr/ ## Python package containing data loading/processing, metrics, etc.
├── results/ ## Experiment results directory; contents not tracked by git
└── tests/ ## Unit test scripts run by `pytest`The provided .gitmessage commit template can be configured for this repository with:
git config --local commit.template .gitmessageThis repository relies on pre-commit to run basic cleanup
and linting utilities before a commit can be made. Hooks are defined in the
.pre-commit-config.yaml file. To set up pre-commit hooks:
pre-commit install
# (Optional) run against all files
pre-commit run --all-filesThe nbstripout application is set up as
a git repository filter that strips jupyter/ipython notebooks (*.ipynb files) of output
and metadata. Install nbstripout with:
# If you have already cloned this repository, nbstripout is already in the .gitattributes.
# Otherwise, this will add the necessary lines:
nbstripout --install --attributes .gitattributesYou may selectively keep cell outputs in jupyter itself by tagging a cell with the
keep_output tag. See https://github.com/kynan/nbstripout#keeping-some-output for
details.