This repository includes the following contents:
- README.md: Basic introduction
- python folder: Contains some simple Python scripts
- run_docker.bash: Docker startup script
- tutorial_*.ipynb: Basic usage and introduction
- update: Upgrade packages for grxsot and Fourier hardware
- Running Fourier Hardware with Docker
- Running Python Tutorial with Jupyter Notebook
- Updating Image
- License
This tutorial introduces the basic usage of Fourier Hardware. Please follow the instructions below to get started.
The environment is built on the base image and updated via deb packages. The base image tag is v2.2.
To download the base image file, click fourier_hardware.tar.
For video tutorials, please refer to fourier_hardware_guidance.
docker load -i fourier_hardware.tar
After downloading the image, you can start the container using the following script which is located in the root directory of the repository:
bash run_docker.bash
This script will start a docker container with the default fourier_hardware:v2.2 image.
Note: After exiting the container, it will be removed automatically. If you want to keep the container after exiting it, please modify the script accordingly.
After entering the container, navigate to the update folder in the repository and run the following command to upgrade the packages:
dpkg -i *.deb
This command will install the latest version of the packages. After the update, you can save the latest changes using docker commit
on a new terminal window to update the current image.
Example:
docker commit fourier_hardware fourier_hardware:latest
This command will create a new image with the latest changes.
The image name in the run_docker.bash script should then be updated to fourier_hardware:latest to use the latest version.
After starting the container, you can use Jupyter Notebook inside the container to view the tutorial_gr2t2.ipynb
.
This tutorial uses gr2t2 as an example to introduce the basic usage of Fourier Hardware.
jupyter notebook --allow-root
MIT © Fourier