parq_blockmodel.utils.orientation_utils.generate_block_model_with_3d_ellipse

parq_blockmodel.utils.orientation_utils.generate_block_model_with_3d_ellipse(x_range, y_range, z_range, spacing, ellipse_center, semi_major_axis, semi_minor_axis, semi_minor_axis_z, orientation_angle, grade_min=50, grade_max=70)[source]

Generate a regular block model with a 3D elliptical distribution of ‘fe’ grades.

Parameters:
  • x_range (Tuple[float, float]) – Range of x coordinates.

  • y_range (Tuple[float, float]) – Range of y coordinates.

  • z_range (Tuple[float, float]) – Range of z coordinates.

  • spacing (float) – Spacing between blocks.

  • ellipse_center (Tuple[float, float, float]) – Center of the ellipse (x, y, z).

  • semi_major_axis (float) – Semi-major axis of the ellipse in the x-y plane.

  • semi_minor_axis (float) – Semi-minor axis of the ellipse in the x-y plane.

  • semi_minor_axis_z (float) – Semi-minor axis of the ellipse in the z direction.

  • orientation_angle (float) – Orientation angle of the ellipse in degrees.

  • grade_min (float) – Minimum ‘fe’ grade.

  • grade_max (float) – Maximum ‘fe’ grade.

Returns:

DataFrame containing the block model with ‘x’, ‘y’, ‘z’, and ‘fe’ columns.

Return type:

pd.DataFrame