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

radiusfloat

Radius of the sphere

cell_centers(n_cells, dim) numpy.ndarray or discretize.base.BaseMesh

A mesh or its gridded cell center locations

Returns:
tuple of int

Indices of the cells whose center lie within the specified sphere

Galleries and Tutorials using SimPEG.utils.model_builder.get_indices_sphere#

2.5D Forward Simulation of a DCIP Line

2.5D Forward Simulation of a DCIP Line

DC/IP Forward Simulation in 3D

DC/IP Forward Simulation in 3D

2.5D DC Resistivity and IP Least-Squares Inversion

2.5D DC Resistivity and IP Least-Squares Inversion

3D Least-Squares Inversion of DC and IP Data

3D Least-Squares Inversion of DC and IP Data

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

Least-Squares Inversion of Gravity Anomaly Data

Least-Squares Inversion of Gravity Anomaly Data

Sparse Norm Inversion of Gravity Anomaly Data

Sparse Norm Inversion of Gravity Anomaly Data

Tensor Meshes

Tensor Meshes

Tree Meshes

Tree Meshes

DC Resistivity Forward Simulation in 2.5D

DC Resistivity Forward Simulation in 2.5D

DC Resistivity Forward Simulation in 3D

DC Resistivity Forward Simulation in 3D

2.5D DC Resistivity Least-Squares Inversion

2.5D DC Resistivity Least-Squares Inversion

2.5D DC Resistivity Inversion with Sparse Norms

2.5D DC Resistivity Inversion with Sparse Norms

3D Least-Squares Inversion of DC Resistivity Data

3D Least-Squares Inversion of DC Resistivity Data

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