prospecting
Native Layer v2 勘探模块
钻孔数据库与块段模型封装,对外只暴露 pd.DataFrame / dict / numpy。
BlockModelSession
块段模型会话,内部持有 C++ dmBlockDataNew 对象
Source code in dimine_python_sdk\lib\native\prospecting.py
297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 | |
field_definitions
property
字段定义列表
max_level
property
最大精度层级
min_size
property
最小块段尺寸
origin
property
模型原点
rotation
property
模型旋转角度
total_block_count
property
块段总数量
xyz_length
property
模型 X/Y/Z 方向总长度
iter_blocks(field_name)
遍历所有块段,逐块返回指定字段数据
Source code in dimine_python_sdk\lib\native\prospecting.py
351 352 353 354 355 356 357 358 359 360 | |
open(file_path)
classmethod
加载块段模型
Source code in dimine_python_sdk\lib\native\prospecting.py
304 305 306 307 308 309 310 | |
DrillSession
钻孔数据库会话,内部持有 C++ dmGeoDrillData 对象
Source code in dimine_python_sdk\lib\native\prospecting.py
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 | |
collar_table()
获取孔口表
Source code in dimine_python_sdk\lib\native\prospecting.py
200 201 202 203 204 205 206 207 208 | |
create_empty()
classmethod
创建空钻孔数据库
Source code in dimine_python_sdk\lib\native\prospecting.py
148 149 150 151 | |
lithology_table()
获取岩性表
Source code in dimine_python_sdk\lib\native\prospecting.py
228 229 230 231 232 233 234 235 236 | |
load(file_path)
classmethod
加载钻孔数据库
Source code in dimine_python_sdk\lib\native\prospecting.py
139 140 141 142 143 144 145 146 | |
sample_table()
获取样品表
Source code in dimine_python_sdk\lib\native\prospecting.py
242 243 244 245 246 247 248 249 250 | |
save_as_dmg(file_path)
保存为 .dmg 格式
Source code in dimine_python_sdk\lib\native\prospecting.py
256 257 258 259 260 261 | |
set_collar_table(df)
设置孔口表
Source code in dimine_python_sdk\lib\native\prospecting.py
210 211 212 | |
set_lithology_table(df)
设置岩性表
Source code in dimine_python_sdk\lib\native\prospecting.py
238 239 240 | |
set_sample_table(df)
设置样品表
Source code in dimine_python_sdk\lib\native\prospecting.py
252 253 254 | |
set_survey_table(df)
设置测斜表
Source code in dimine_python_sdk\lib\native\prospecting.py
224 225 226 | |
survey_table()
获取测斜表
Source code in dimine_python_sdk\lib\native\prospecting.py
214 215 216 217 218 219 220 221 222 | |
block_constrain_to_dmc_file(block_model_file, constraint_json, output_file)
块约束保存到约束结果 dmc 文件
Source code in dimine_python_sdk\lib\native\prospecting.py
374 375 376 377 378 379 380 381 382 383 384 | |
calculate_reserves(block_model_file, constraint_json, reserve_json)
储量计算
Source code in dimine_python_sdk\lib\native\prospecting.py
438 439 440 441 442 443 444 445 446 447 448 449 450 | |
create_block_model(params)
创建空块段模型
Source code in dimine_python_sdk\lib\native\prospecting.py
367 368 369 370 371 | |
distance_power_evaluation(block_model_file, constraint_json, evaluation_json, overwrite=True)
距离幂估值
Source code in dimine_python_sdk\lib\native\prospecting.py
398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 | |
extra_high_grade_process(param)
特高品位处理
Source code in dimine_python_sdk\lib\native\prospecting.py
287 288 289 290 | |
kriging_evaluation(block_model_file, constraint_json, evaluation_json, overwrite=True)
克里格估值
Source code in dimine_python_sdk\lib\native\prospecting.py
421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 | |
sample_length_combine(param)
样长组合
Source code in dimine_python_sdk\lib\native\prospecting.py
275 276 277 278 | |
step_combine(param)
台阶组合
Source code in dimine_python_sdk\lib\native\prospecting.py
281 282 283 284 | |