@@ -44,35 +44,35 @@ Now build VTS. If you don't have `matlab` don't worry, it seemed to work fine w
4444
4545 pip install pythonnet
4646
47- Because ` pythonnet ` under macOS or linux defaults to ` mono ` , two more things need to added to ` ~/.bash_profile `
47+ Because ` pythonnet ` under macOS ( or linux) defaults to ` mono ` , two more things need to added to ` ~/.bash_profile `
4848
4949 export PYTHONNET_RUNTIME=coreclr
5050 export PYTHONNET_PYDLL=/usr/local/bin/python3
5151
52- Update the path for python to that for your system (try ` which python3 ` if you don't know )
52+ Obviously use the path for python on your system (` which python3 ` will tell you )
5353
54- Start a ` JupyterLab ` notebook and verify that things are installed correctly by running
54+ Next start a ` JupyterLab ` notebook to verify that things are installed correctly
5555
5656 import clr
5757
5858 clr.AddReference("System")
5959 from System import Console
6060 Console.WriteLine("Hello from .NET 6!")
6161
62- Once this works the next step will be to test importing from ` Vts.dll `
62+ The final test is importing from ` Vts.dll `
6363
6464 import clr
65- git_dir = "/path/to/git/repository/"
66- dll_path = git_dir + "vts/src/Vts/publish/local/Vts.dll"
67- clr.AddReference(dll_path)
65+ clr.AddReference("/path/to/vts/src/Vts/publish/local/Vts.dll")
6866 from Vts import *
6967
68+ where, of course, "/path/to" above has been adapted to your system
69+
7070### Step 4: Run programs
7171
72- To run ` VTS ` programs in ` python ` include the following the header (where, of course, "/path/to" has been updated for your system
72+ To run ` VTS ` programs in ` python ` include the following the header
7373
7474 import clr
75- clr.AddReference("/path/to/vts/src/Vts/publish/local/Vts.dll")
75+ clr.AddReference("/path/to/vts/src/Vts/publish/local/Vts.dll")
7676
7777 from Vts import *
7878 from Vts.Common import *
@@ -87,6 +87,4 @@ To run `VTS` programs in `python` include the following the header (where, of co
8787 from Vts.MonteCarlo.Factories import *
8888 from Vts.MonteCarlo.PhotonData import *
8989 from Vts.MonteCarlo.PostProcessing import *
90- from System import Array, Double
91-
92-
90+ from System import Array, Double
0 commit comments