Skip to content
Snippets Groups Projects

Update README.md

Merged encinass1u requested to merge Student into main
1 file
+ 5
7
Compare changes
  • Side-by-side
  • Inline
@@ -11,10 +11,10 @@ from bio2mslib.inout.inout import WriteData as WD
import os
#Selection of desire treated surface, Gts
First_Pickle= True
First_Pickle= False
square_grid=False
highs_grid=False
diagonal=True
diagonal=False
if First_Pickle== True:
#L is the matrix dimension
@@ -44,12 +44,10 @@ if First_Pickle== True:
if (i == j):
Gts[i,j]=0.5
else:
with open('G_surface_empty.pkl', 'rb') as csv_file:
with open('Gts_Sample.cvs', 'rb') as csv_file:
Gts = pickle.load(csv_file)
#If complete surface SMAT wants to be open type 'Gts_Surface_T.cvs'
with open('G_surface_empty.pkl', 'wb') as csv_file:
pickle.dump(Gts,csv_file)
im = plt.imshow(Gts, cmap="copper_r")
im = plt.imshow(Gts, cmap="bone")
plt.show()
Loading