|
@@ -151,7 +151,7 @@ def writeSegmentation(db,r,setup):
|
|
|
# print(v[i,:])
|
|
|
numpy.savetxt(os.path.join(locDir,fileName),v)
|
|
|
|
|
|
-def plotSegmentation(db,fb,r,setup):
|
|
|
+def plotSegmentation(db,fb,r,setup,vmax=1000):
|
|
|
copyFields=['PatientId','visitName']
|
|
|
qFilter=[{'variable':x,'value':r[x],'oper':'eq'} for x in copyFields]
|
|
|
nim=getData.getPatientNIM(fb,r,setup)
|
|
@@ -181,7 +181,6 @@ def plotSegmentation(db,fb,r,setup):
|
|
|
w1=20
|
|
|
cut2=20
|
|
|
w2=20
|
|
|
- vmax=1000
|
|
|
vmin=0
|
|
|
nd=3
|
|
|
fig,ax=matplotlib.pyplot.subplots(3,2*nd+1,figsize=(20,12))
|