Hamza Salhi commited on
Commit
446b05f
1 Parent(s): 7a3cc4c

Update exercises/interp.py

Browse files
Files changed (1) hide show
  1. exercises/interp.py +7 -7
exercises/interp.py CHANGED
@@ -60,11 +60,11 @@ def block_modelling():
60
  " The last tip is, be consistent with your legend, make sure the samples and contours/blocks use the" +
61
  " same colour scheme.")
62
 
63
- df = pd.read_csv(".//data//sim_pts.csv")
64
  df = df[df.use==1].copy().reset_index(drop=True)
65
  # fig, ax = plot_samps(df)
66
  # st.pyplot(fig)
67
- st.image("..//pdac2021_res_est_course_link2//images//contour.jpg", use_column_width=True)
68
 
69
  #-----------------------------------------------------------------------------------------------------------------#
70
  # Variogram
@@ -76,7 +76,7 @@ def block_modelling():
76
  " the longest direction and longer than the shortest direction. Your job is to estimate the range" +
77
  " in the longest direction given your observations from the plot above.")
78
 
79
- st.image("..//pdac2021_res_est_course_link2//images//interp_var.jpg")
80
 
81
  var_options = ["Select and Answer",
82
  "Major = 75m, Semi-Major = 75m",
@@ -121,7 +121,7 @@ def block_modelling():
121
  st.markdown("The curves increasing to the right on the grade tonnage curves are the grades foe each technique at different cut-offs.")
122
  scol1, scol2 = st.beta_columns((1, 1))
123
  with scol1:
124
- st.image("..//pdac2021_res_est_course_link2//images//interp_ests_q1.jpg", use_column_width=True)
125
  with scol2:
126
  st.write("")
127
  st.write("")
@@ -133,7 +133,7 @@ def block_modelling():
133
  st.write("")
134
  st.write("")
135
  st.write("")
136
- st.image("..//pdac2021_res_est_course_link2//images//interp_gt_q1.jpg", use_column_width=True)
137
 
138
  gt_options = ["Select an Answer",
139
  "Light blue is NN, purple is OK and red is ID",
@@ -151,8 +151,8 @@ def block_modelling():
151
  st.markdown("* Identical search parameters were used")
152
  st.markdown("* The variogram has nugget of around 0.3 and most of the variability is accounted for within about 20-30m.")
153
 
154
- st.image("..//pdac2021_res_est_course_link2//images//interp_OK_q2.jpg")
155
- st.image("..//pdac2021_res_est_course_link2//images//interp_ID_q2.jpg")
156
 
157
  est_options = ["Select an Answer",
158
  "Estimate A is more variable than estimate B. Estimate A is OK and Estimate B is ID",
 
60
  " The last tip is, be consistent with your legend, make sure the samples and contours/blocks use the" +
61
  " same colour scheme.")
62
 
63
+ df = pd.read_csv("data//sim_pts.csv")
64
  df = df[df.use==1].copy().reset_index(drop=True)
65
  # fig, ax = plot_samps(df)
66
  # st.pyplot(fig)
67
+ st.image("images//contour.jpg", use_column_width=True)
68
 
69
  #-----------------------------------------------------------------------------------------------------------------#
70
  # Variogram
 
76
  " the longest direction and longer than the shortest direction. Your job is to estimate the range" +
77
  " in the longest direction given your observations from the plot above.")
78
 
79
+ st.image("images//interp_var.jpg")
80
 
81
  var_options = ["Select and Answer",
82
  "Major = 75m, Semi-Major = 75m",
 
121
  st.markdown("The curves increasing to the right on the grade tonnage curves are the grades foe each technique at different cut-offs.")
122
  scol1, scol2 = st.beta_columns((1, 1))
123
  with scol1:
124
+ st.image("images//interp_ests_q1.jpg", use_column_width=True)
125
  with scol2:
126
  st.write("")
127
  st.write("")
 
133
  st.write("")
134
  st.write("")
135
  st.write("")
136
+ st.image("images//interp_gt_q1.jpg", use_column_width=True)
137
 
138
  gt_options = ["Select an Answer",
139
  "Light blue is NN, purple is OK and red is ID",
 
151
  st.markdown("* Identical search parameters were used")
152
  st.markdown("* The variogram has nugget of around 0.3 and most of the variability is accounted for within about 20-30m.")
153
 
154
+ st.image("images//interp_OK_q2.jpg")
155
+ st.image("images//interp_ID_q2.jpg")
156
 
157
  est_options = ["Select an Answer",
158
  "Estimate A is more variable than estimate B. Estimate A is OK and Estimate B is ID",