parq_blockmodel.utils.orientation_utils.generate_block_model_with_ellipse
- parq_blockmodel.utils.orientation_utils.generate_block_model_with_ellipse(x_range, y_range, z_range, spacing, ellipse_center, semi_major_axis, semi_minor_axis, orientation_angle, grade_min=50, grade_max=70)[source]
Generate a regular block model with an 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]) – Center of the ellipse (x, y).
semi_major_axis (float) – Semi-major axis of the ellipse.
semi_minor_axis (float) – Semi-minor axis of the ellipse.
orientation_angle (float) – Orientation angle of the ellipse in degrees.
grade_min (float) – Minimum of the ‘grade’ attribute.
grade_max (float) – Maximum of the ‘grade’ attribute.
- Returns:
DataFrame containing the block model with ‘x’, ‘y’, ‘z’, and ‘fe’ columns.
- Return type:
pd.DataFrame