yt.data_objects.selection_data_containers.
YTSphereBase
(center, radius, ds=None, field_parameters=None, data_source=None)[source]¶A sphere of points defined by a center and a radius.
Parameters: | center : array_like
radius : float
|
---|
Examples
>>> import yt
>>> ds = yt.load("RedshiftOutput0005")
>>> c = [0.5,0.5,0.5]
>>> sphere = ds.sphere(c, (1., "kpc"))
Attributes
Methods