Wait for Binder to finish building the environment (can take 5-10 minutes), then click on the Jupyter notebook (Fourier-reconstruction_in_MRI.ipynb
).
Warning: After 10 minutes of inactivity, binder will stop working and you will have to launch it again.
1) You will need to install miniconda in order to set-up your python environment.
git clone https://github.com/neuropoly/simulation-fourier-reconstruction.git
cd simulation-fourier-reconstruction
- For Windows user, you might need to install git prior to clone the repository.
- If git clone is not working, you can download the zipped version of the repository and unzip it locally on your computer.
3) Once miniconda is installed and the repository is cloned, run the following commands in order to create your virtual environment and start the jupyter notebook:
Then, run the following to create a virtual environment and start the notebook:
conda env create -f environment.yml # Only do it once in order to create the environment (might take a few minutes)
# Start the jupyter notebooks:
conda activate env-fourier # Do it everytime you wish to run the notebook
jupyter notebook
- Make sure that your prompt is currently on the
simulation-fourier-reconstruction
folder when you call theenvironment.yml
file. - For Windows user, you might need to type these commands in
Anaconda Prompt
ifcmd
does not recognizeconda
.