modify_orientations是Gempy核心模块Project中的方法之一。该方法用于修改地层学中的方向数据,并更新Gempy中所有关于该方向数据的信息。
modify_orientations方法使用以下参数:
orientations: 修改后的方向数据,格式为pandas DataFrame类型。update_surfaces: bool类型,表示是否更新与之相关的地层信息表面。参数orientations是一个pandas DataFrame类型数据,其中应至少包含以下列:
'id': 方向索引号;'X', 'Y', 'Z': 三维坐标,以此来表示方向矢量;'azimuth': 方位角度数,描述方向矢量指向正北方向的角度。update_surfaces参数是一个bool类型变量,表示是否需要更新相关的地层信息表面。当该参数为True时,Gempy将重新计算所有的表面坐标。
modify_orientations方法不返回值。
geo_model.modify_orientations(orientations = new_orientations, update_surfaces = True)