simpeg.utils.model_builder.get_indices_sphere#
- simpeg.utils.model_builder.get_indices_sphere(center, radius, cell_centers)[source]#
Get indices for cells whose centers lie inside a sphere
- Parameters:
- center(
dim
)numpy.ndarray
Location of the center of the sphere
- radius
float
Radius of the sphere
- cell_centers(
n_cells
,dim
)numpy.ndarray
ordiscretize.base.BaseMesh
A mesh or its gridded cell center locations
- center(
- Returns:
Galleries and Tutorials using simpeg.utils.model_builder.get_indices_sphere
#

Forward Simulation of Gravity Anomaly Data on a Tensor Mesh
Forward Simulation of Gravity Anomaly Data on a Tensor Mesh

Forward Simulation of Gradiometry Data on a Tree Mesh
Forward Simulation of Gradiometry Data on a Tree Mesh

2.5D DC Resistivity and IP Least-Squares Inversion
2.5D DC Resistivity and IP Least-Squares Inversion

Forward Simulation of Total Magnetic Intensity Data
Forward Simulation of Total Magnetic Intensity Data

Forward Simulation of Gradiometry Data for Magnetic Vector Models
Forward Simulation of Gradiometry Data for Magnetic Vector Models

Sparse Norm Inversion for Total Magnetic Intensity Data on a Tensor Mesh
Sparse Norm Inversion for Total Magnetic Intensity Data on a Tensor Mesh