Skip to content

Commit fa1d2e3

Browse files
committed
Removed extraneous header calls to make more similar to header for Jupyter notebook script
1 parent 62367b5 commit fa1d2e3

3 files changed

Lines changed: 0 additions & 10 deletions

File tree

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@
66
# The optimization is performed by a python library scipy.
77
#
88
# Import the Operating System so we can access the files for the VTS library
9-
from pythonnet import load
10-
load('coreclr')
119
import clr
1210
import os
1311
file = '../libraries/Vts.dll'
1412
clr.AddReference(os.path.abspath(file))
1513
import numpy as np
1614
import plotly.graph_objects as go
17-
import plotly.express as px
1815
from Vts import *
1916
from Vts.Common import *
2017
from Vts.Extensions import *
@@ -159,7 +156,6 @@ def residual(valuesSought, wavelengths, fxs, measuredROfFx, forwardSolver):
159156
for i in range(0, len(wavelengths)):
160157
scattererFitMusp[i]=opsFit[i].Musp
161158
convMusp = [f for f in scattererFitMusp]
162-
print('convMusp[0]=',convMusp)
163159
chart2.add_trace(go.Scatter(x=wvs, y=convMusp, mode='lines', name='converged'))
164160
chart2.update_layout( title="ROfFx (inverse solution for chromophore concentrations, multiple wavelengths, multiple fx)", xaxis_title=xLabel, yaxis_title=yLabel)
165161
chart2.show(renderer="browser")

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,12 @@
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')
1412
import clr
1513
import os
1614
file = '../libraries/Vts.dll'
1715
clr.AddReference(os.path.abspath(file))
1816
import numpy as np
1917
import plotly.graph_objects as go
20-
import plotly.express as px
2118
from Vts import *
2219
from Vts.Common import *
2320
from Vts.Extensions import *

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,12 @@
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')
1412
import clr
1513
import os
1614
file = '../libraries/Vts.dll'
1715
clr.AddReference(os.path.abspath(file))
1816
import numpy as np
1917
import plotly.graph_objects as go
20-
import plotly.express as px
2118
from Vts import *
2219
from Vts.Common import *
2320
from Vts.Extensions import *

0 commit comments

Comments
 (0)