yt.geometry.coordinates.spec_cube_coordinates module

class yt.geometry.coordinates.spec_cube_coordinates.SpectralCubeCoordinateHandler(ds, ordering=None)[source]

Bases: CartesianCoordinateHandler

property axis_id
property axis_name
convert_from_cartesian(coord)
convert_from_cylindrical(coord)[source]
convert_from_spherical(coord)
convert_to_cartesian(coord)
convert_to_cylindrical(coord)[source]
convert_to_spherical(coord)
property data_projection
property data_transform
distance(start, end)
property image_axis_name
name: str = 'spectral_cube'
property period
pixelize(dimension, data_source, field, bounds, size, antialias=True, periodic=True, *, return_mask=False)

Method for pixelizing datasets in preparation for two-dimensional image plots. Relies on several sampling routines written in cython

pixelize_line(field, start_point, end_point, npoints)

Method for sampling datasets along a line in preparation for one-dimensional line plots. For UnstructuredMesh, relies on a sampling routine written in cython

sanitize_center(center, axis)
sanitize_depth(depth)
sanitize_width(axis, width, depth)
setup_fields(registry)[source]
property x_axis
property y_axis