Hamza Salhi commited on
Commit
9d96327
1 Parent(s): 8f563da

Update exercises/capping_ex.py

Browse files

removed the full path for the images

Files changed (1) hide show
  1. exercises/capping_ex.py +30 -30
exercises/capping_ex.py CHANGED
@@ -8,7 +8,7 @@ def capping_ex():
8
 
9
  st.write("The grade restriction module introduced some of the tools that can help you identify whether high grade restraining is required. This exercise uses real data and shows how the high grade restraining workflow is iterative, and that your decision to domain, cap, or otherwise restrict outlier samples should be informed by a group of tools. Lastly, it is important to note that you may elect to revisit your high grade restraining workflow after validating your estimate visually and statistically since the impact of high grade samples on the final resource estimate can be significant.")
10
 
11
- # st.image("..//pdac2021_res_est_course_link2//images//wireframe_header.jpg", use_column_width=True)
12
 
13
  st.header("Exercise 1 - Gold Deposit - Question 1")
14
 
@@ -24,28 +24,28 @@ def capping_ex():
24
  col1, col2, col3 = st.beta_columns((1,1.5,1))
25
  with col1:
26
  st.subheader("Decile Analysis")
27
- st.image("..//pdac2021_res_est_course_link2//images//HG_LG_Decile.jpg", use_column_width=True)
28
  with col2:
29
  st.subheader("Histogram")
30
  st.write("")
31
  st.write("")
32
  st.write("")
33
  st.write("")
34
- st.image("..//pdac2021_res_est_course_link2//images//HG_LG_HISTO.jpg", use_column_width=True)
35
  with col3:
36
  st.subheader("Probability Plot")
37
  st.write("")
38
  st.write("")
39
  st.write("")
40
- st.image("..//pdac2021_res_est_course_link2//images//HG_LG_PP.jpg", use_column_width=True)
41
 
42
  cola1, cola2 = st.beta_columns((1,1.6))
43
  with cola1:
44
  st.subheader("Plan View - Looking Down")
45
- st.image("..//pdac2021_res_est_course_link2//images//HG_LG_PlanCaps.jpg", use_column_width=True)
46
  with cola2:
47
  st.subheader("Oblique View - Looking Along Strike")
48
- st.image("..//pdac2021_res_est_course_link2//images//HG_LG_ObliqueCaps.jpg", use_column_width=True)
49
 
50
 
51
  st.header("Exercise 1 - Gold Deposit - Question 2")
@@ -61,28 +61,28 @@ def capping_ex():
61
  colb1, colb2, colb3 = st.beta_columns((1,1.5,1))
62
  with colb1:
63
  st.subheader("Decile Analysis")
64
- st.image("..//pdac2021_res_est_course_link2//images//LG_Decile.jpg", use_column_width=True)
65
  with colb2:
66
  st.subheader("Histogram")
67
  st.write("")
68
  st.write("")
69
  st.write("")
70
  st.write("")
71
- st.image("..//pdac2021_res_est_course_link2//images//LG_HISTO.jpg", use_column_width=True)
72
  with colb3:
73
  st.subheader("Probability Plot")
74
  st.write("")
75
  st.write("")
76
  st.write("")
77
- st.image("..//pdac2021_res_est_course_link2//images//LG_PP.jpg", use_column_width=True)
78
 
79
  colc1, colc2 = st.beta_columns((1,1.6))
80
  with colc1:
81
  st.subheader("Plan View - Looking Down")
82
- st.image("..//pdac2021_res_est_course_link2//images//LG_PlanCaps.jpg", use_column_width=True)
83
  with colc2:
84
  st.subheader("Oblique View - Looking Along Strike")
85
- st.image("..//pdac2021_res_est_course_link2//images//LG_ObliqueCaps.jpg", use_column_width=True)
86
 
87
 
88
 
@@ -100,28 +100,28 @@ def capping_ex():
100
  cold1, cold2, cold3 = st.beta_columns((1,1.5,1))
101
  with cold1:
102
  st.subheader("Decile Analysis")
103
- st.image("..//pdac2021_res_est_course_link2//images//HG_Decile.jpg", use_column_width=True)
104
  with cold2:
105
  st.subheader("Histogram")
106
  st.write("")
107
  st.write("")
108
  st.write("")
109
  st.write("")
110
- st.image("..//pdac2021_res_est_course_link2//images//HG_HISTO.jpg", use_column_width=True)
111
  with cold3:
112
  st.subheader("Probability Plot")
113
  st.write("")
114
  st.write("")
115
  st.write("")
116
- st.image("..//pdac2021_res_est_course_link2//images//HG_PP.jpg", use_column_width=True)
117
 
118
  cole1, cole2 = st.beta_columns((1,1.6))
119
  with cole1:
120
  st.subheader("Plan View - Looking Down")
121
- st.image("..//pdac2021_res_est_course_link2//images//HG_PlanCaps.jpg", use_column_width=True)
122
  with cole2:
123
  st.subheader("Oblique View - Looking Along Strike")
124
- st.image("..//pdac2021_res_est_course_link2//images//HG_ObliqueCaps.jpg", use_column_width=True)
125
 
126
 
127
  st.header("Exercise 1 - Gold Deposit - Question 4")
@@ -137,28 +137,28 @@ def capping_ex():
137
  colf1, colf2, colf3 = st.beta_columns((1,1.5,1))
138
  with colf1:
139
  st.subheader("Decile Analysis")
140
- st.image("..//pdac2021_res_est_course_link2//images//HG_2_7_Decile.jpg", use_column_width=True)
141
  with colf2:
142
  st.subheader("Histogram")
143
  st.write("")
144
  st.write("")
145
  st.write("")
146
  st.write("")
147
- st.image("..//pdac2021_res_est_course_link2//images//HG_2_7_HISTO.jpg", use_column_width=True)
148
  with colf3:
149
  st.subheader("Probability Plot")
150
  st.write("")
151
  st.write("")
152
  st.write("")
153
- st.image("..//pdac2021_res_est_course_link2//images//HG_2_7_PP.jpg", use_column_width=True)
154
 
155
  colg1, colg2 = st.beta_columns((1,1.6))
156
  with colg1:
157
  st.subheader("Plan View - Looking Down")
158
- st.image("..//pdac2021_res_est_course_link2//images//HG_2_7_PlanCaps.jpg", use_column_width=True)
159
  with colg2:
160
  st.subheader("Oblique View - Looking Along Strike")
161
- st.image("..//pdac2021_res_est_course_link2//images//HG_2_7_ObliqueCaps.jpg", use_column_width=True)
162
 
163
 
164
 
@@ -175,43 +175,43 @@ def capping_ex():
175
  colh1, colh2, colh3 = st.beta_columns((1,1.5,1))
176
  with colh1:
177
  st.subheader("Decile Analysis")
178
- st.image("..//pdac2021_res_est_course_link2//images//HG1_Decile.jpg", use_column_width=True)
179
  with colh2:
180
  st.subheader("Histogram")
181
  st.write("")
182
  st.write("")
183
  st.write("")
184
  st.write("")
185
- st.image("..//pdac2021_res_est_course_link2//images//HG1_HISTO.jpg", use_column_width=True)
186
  with colh3:
187
  st.subheader("Probability Plot")
188
  st.write("")
189
  st.write("")
190
  st.write("")
191
- st.image("..//pdac2021_res_est_course_link2//images//HG1_PP.jpg", use_column_width=True)
192
 
193
  coli1, coli2 = st.beta_columns((1,1.6))
194
  with coli1:
195
  st.subheader("Plan View - Looking Down")
196
- st.image("..//pdac2021_res_est_course_link2//images//HG1_PlanCaps.jpg", use_column_width=True)
197
  with coli2:
198
  st.subheader("Oblique View - Looking Along Strike")
199
- st.image("..//pdac2021_res_est_course_link2//images//HG1_ObliqueCaps.jpg", use_column_width=True)
200
 
201
 
202
 
203
- st.image("..//pdac2021_res_est_course_link2//images//wireframe_header.jpg", use_column_width=True)
204
 
205
  st.write("As you might have gathered from the plan and oblique views, the gold deposit dataset from Question 1 contains a high grade and low grade population, where the high grade veins are contained within a lower grade alteration halo. The second exercise is a continuation from the first and requires you to match the domains shown in the images below with the statistics presented in each of the questions from the first exercise. If you had some incorrect responses in the first exercise, consult the information and images below prior to beginning Exercise 2.")
206
 
207
  st.write("Note: The images below are inclined views and are looking down over the along strike oblique views presented in Exercise 1. Wireframes were constructed for Domains 1 and 2 at a nominal cut-off grade of 1 g/t Au while the Domain 3 wireframes were constructed at a nominal 0.20 g/t Au cut-off grade.")
208
 
209
  st.subheader("Domains 1, 2 and 3")
210
- st.image("..//pdac2021_res_est_course_link2//images//Domains123.jpg", use_column_width=True)
211
  st.subheader("Domains 1, 2 and 3 with Capped Assays")
212
- st.image("..//pdac2021_res_est_course_link2//images//Domains123_Caps2.jpg", use_column_width=True)
213
  st.subheader("Capped Assays")
214
- st.image("..//pdac2021_res_est_course_link2//images//Domains123_Caps.jpg", use_column_width=True)
215
 
216
  st.header("Exercise 2 - Gold Deposit - Question 1")
217
 
 
8
 
9
  st.write("The grade restriction module introduced some of the tools that can help you identify whether high grade restraining is required. This exercise uses real data and shows how the high grade restraining workflow is iterative, and that your decision to domain, cap, or otherwise restrict outlier samples should be informed by a group of tools. Lastly, it is important to note that you may elect to revisit your high grade restraining workflow after validating your estimate visually and statistically since the impact of high grade samples on the final resource estimate can be significant.")
10
 
11
+ # st.image("images//wireframe_header.jpg", use_column_width=True)
12
 
13
  st.header("Exercise 1 - Gold Deposit - Question 1")
14
 
 
24
  col1, col2, col3 = st.beta_columns((1,1.5,1))
25
  with col1:
26
  st.subheader("Decile Analysis")
27
+ st.image("images//HG_LG_Decile.jpg", use_column_width=True)
28
  with col2:
29
  st.subheader("Histogram")
30
  st.write("")
31
  st.write("")
32
  st.write("")
33
  st.write("")
34
+ st.image("images//HG_LG_HISTO.jpg", use_column_width=True)
35
  with col3:
36
  st.subheader("Probability Plot")
37
  st.write("")
38
  st.write("")
39
  st.write("")
40
+ st.image("images//HG_LG_PP.jpg", use_column_width=True)
41
 
42
  cola1, cola2 = st.beta_columns((1,1.6))
43
  with cola1:
44
  st.subheader("Plan View - Looking Down")
45
+ st.image("images//HG_LG_PlanCaps.jpg", use_column_width=True)
46
  with cola2:
47
  st.subheader("Oblique View - Looking Along Strike")
48
+ st.image("images//HG_LG_ObliqueCaps.jpg", use_column_width=True)
49
 
50
 
51
  st.header("Exercise 1 - Gold Deposit - Question 2")
 
61
  colb1, colb2, colb3 = st.beta_columns((1,1.5,1))
62
  with colb1:
63
  st.subheader("Decile Analysis")
64
+ st.image("images//LG_Decile.jpg", use_column_width=True)
65
  with colb2:
66
  st.subheader("Histogram")
67
  st.write("")
68
  st.write("")
69
  st.write("")
70
  st.write("")
71
+ st.image("images//LG_HISTO.jpg", use_column_width=True)
72
  with colb3:
73
  st.subheader("Probability Plot")
74
  st.write("")
75
  st.write("")
76
  st.write("")
77
+ st.image("images//LG_PP.jpg", use_column_width=True)
78
 
79
  colc1, colc2 = st.beta_columns((1,1.6))
80
  with colc1:
81
  st.subheader("Plan View - Looking Down")
82
+ st.image("images//LG_PlanCaps.jpg", use_column_width=True)
83
  with colc2:
84
  st.subheader("Oblique View - Looking Along Strike")
85
+ st.image("images//LG_ObliqueCaps.jpg", use_column_width=True)
86
 
87
 
88
 
 
100
  cold1, cold2, cold3 = st.beta_columns((1,1.5,1))
101
  with cold1:
102
  st.subheader("Decile Analysis")
103
+ st.image("images//HG_Decile.jpg", use_column_width=True)
104
  with cold2:
105
  st.subheader("Histogram")
106
  st.write("")
107
  st.write("")
108
  st.write("")
109
  st.write("")
110
+ st.image("images//HG_HISTO.jpg", use_column_width=True)
111
  with cold3:
112
  st.subheader("Probability Plot")
113
  st.write("")
114
  st.write("")
115
  st.write("")
116
+ st.image("images//HG_PP.jpg", use_column_width=True)
117
 
118
  cole1, cole2 = st.beta_columns((1,1.6))
119
  with cole1:
120
  st.subheader("Plan View - Looking Down")
121
+ st.image("images//HG_PlanCaps.jpg", use_column_width=True)
122
  with cole2:
123
  st.subheader("Oblique View - Looking Along Strike")
124
+ st.image("images//HG_ObliqueCaps.jpg", use_column_width=True)
125
 
126
 
127
  st.header("Exercise 1 - Gold Deposit - Question 4")
 
137
  colf1, colf2, colf3 = st.beta_columns((1,1.5,1))
138
  with colf1:
139
  st.subheader("Decile Analysis")
140
+ st.image("images//HG_2_7_Decile.jpg", use_column_width=True)
141
  with colf2:
142
  st.subheader("Histogram")
143
  st.write("")
144
  st.write("")
145
  st.write("")
146
  st.write("")
147
+ st.image("images//HG_2_7_HISTO.jpg", use_column_width=True)
148
  with colf3:
149
  st.subheader("Probability Plot")
150
  st.write("")
151
  st.write("")
152
  st.write("")
153
+ st.image("images//HG_2_7_PP.jpg", use_column_width=True)
154
 
155
  colg1, colg2 = st.beta_columns((1,1.6))
156
  with colg1:
157
  st.subheader("Plan View - Looking Down")
158
+ st.image("images//HG_2_7_PlanCaps.jpg", use_column_width=True)
159
  with colg2:
160
  st.subheader("Oblique View - Looking Along Strike")
161
+ st.image("images//HG_2_7_ObliqueCaps.jpg", use_column_width=True)
162
 
163
 
164
 
 
175
  colh1, colh2, colh3 = st.beta_columns((1,1.5,1))
176
  with colh1:
177
  st.subheader("Decile Analysis")
178
+ st.image("images//HG1_Decile.jpg", use_column_width=True)
179
  with colh2:
180
  st.subheader("Histogram")
181
  st.write("")
182
  st.write("")
183
  st.write("")
184
  st.write("")
185
+ st.image("images//HG1_HISTO.jpg", use_column_width=True)
186
  with colh3:
187
  st.subheader("Probability Plot")
188
  st.write("")
189
  st.write("")
190
  st.write("")
191
+ st.image("images//HG1_PP.jpg", use_column_width=True)
192
 
193
  coli1, coli2 = st.beta_columns((1,1.6))
194
  with coli1:
195
  st.subheader("Plan View - Looking Down")
196
+ st.image("images//HG1_PlanCaps.jpg", use_column_width=True)
197
  with coli2:
198
  st.subheader("Oblique View - Looking Along Strike")
199
+ st.image("images//HG1_ObliqueCaps.jpg", use_column_width=True)
200
 
201
 
202
 
203
+ st.image("images//wireframe_header.jpg", use_column_width=True)
204
 
205
  st.write("As you might have gathered from the plan and oblique views, the gold deposit dataset from Question 1 contains a high grade and low grade population, where the high grade veins are contained within a lower grade alteration halo. The second exercise is a continuation from the first and requires you to match the domains shown in the images below with the statistics presented in each of the questions from the first exercise. If you had some incorrect responses in the first exercise, consult the information and images below prior to beginning Exercise 2.")
206
 
207
  st.write("Note: The images below are inclined views and are looking down over the along strike oblique views presented in Exercise 1. Wireframes were constructed for Domains 1 and 2 at a nominal cut-off grade of 1 g/t Au while the Domain 3 wireframes were constructed at a nominal 0.20 g/t Au cut-off grade.")
208
 
209
  st.subheader("Domains 1, 2 and 3")
210
+ st.image("images//Domains123.jpg", use_column_width=True)
211
  st.subheader("Domains 1, 2 and 3 with Capped Assays")
212
+ st.image("images//Domains123_Caps2.jpg", use_column_width=True)
213
  st.subheader("Capped Assays")
214
+ st.image("images//Domains123_Caps.jpg", use_column_width=True)
215
 
216
  st.header("Exercise 2 - Gold Deposit - Question 1")
217