该函数是Sections类的一个方法,用于获取一个剖面的参数。
import gempy as gp
# 初始化模型
model = gp.create_model('my_model')
# 获取第一个剖面的参数
section_args = model.grid.sections.get_section_args(section_id=0)
print(section_args)
其中,输出结果为:
{
'lenx': 758.0700774052376,
'leny': 900.2809366565675,
'lenz': 411.7748315676192,
'origin': array([ 0., 0., 749.]),
'resolution': array([60., 70., 50.]),
'shape': (13, 13, 10),
'bounding_box': array([[ 0., 0., 749.],
[758., 900., 441.]]),
'rotation': array([0., 0., 0.])
}