The demo is hosted on our laztech Github page for Jupyter Notebook version. We also provide the Julia script for terminal user to run on the terminal environment.
*The simulation data used on the demo can be found here: *
- Julia. VGT currently support Julia 0.6.
- (Optional) Jupyter Notebook. After you download Julia, you could install Jupyter Notebook easily.
- Julia Packages:
HDF5, PyCall, PyPlot
. This little script might be helpful:
# Package Install
# In your Julia terminal, type:
Pkg.add("HDF5");
Pkg.add("PyCall");
Pkg.add("PyPlot");
# You might also want to install Jupyter Notebook for the
Pkg.add("IJulia")
To open Jupyter Notebook in your computer, simply type in your terminal:
jupyter-notebook
and navigate to the folder where you installed.
- Download the VGT-demo folder to your local machine.
- Open
demo-VGT.jl
if you're using Julia terminal ordemo-VGT.ipynb
if you're using Jupyter Notebook. - If you're using terminal, make sure you have the data cube in the same folder and change the corresponding data name in the code:
# Line 6~8 in demo-VGT.jl
### Choose your cube here ###
dataname= "run-0-ppv.h5"; # <----- Put your cube name here
#---------------------------#