Skip to content

Commit 8325e1a

Browse files
committed
Realized that I needed "from pythonnet import load" and "load('coreclr')" lines once I exited PowerShell and reentered. Y-axis units missing on one.
1 parent fa1d2e3 commit 8325e1a

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

inverse-solutions/r-of-rho-multi-op-prop-inversion-using-csharp-solve.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
# method Solve.
1010
#
1111
# Import the Operating System so we can access the files for the VTS library
12+
from pythonnet import load
13+
load('coreclr')
1214
import clr
1315
import os
1416
file = '../libraries/Vts.dll'

inverse-solutions/r-of-rho-multi-op-prop-inversion.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
#
1111
# Import the Operating System so we can access the files for the VTS library
12+
from pythonnet import load
13+
load('coreclr')
1214
import clr
1315
import os
1416
file = '../libraries/Vts.dll'
@@ -105,7 +107,7 @@ def residual(chromophoreConcentration, wavelengths, rho, scatterer, measuredROfR
105107
rOfRhoFit= forwardSolverForInversion.ROfRho(opsFit, rho)
106108
# plot the results using Plotly
107109
xLabel = "wavelength [nm]"
108-
yLabel = "R(wavelength)"
110+
yLabel = "R(wavelength) [mm-2]"
109111
wvs = [w for w in wavelengths]
110112
# plot measured data
111113
meas = [m for m in rOfRhoMeasured]

0 commit comments

Comments
 (0)