yt.geometry.coordinates.geographic_coordinates module

class yt.geometry.coordinates.geographic_coordinates.GeographicCoordinateHandler(ds, ordering=None)[source]

Bases: CoordinateHandler

property axis_id
property axis_name
convert_from_cartesian(coord)[source]
convert_from_cylindrical(coord)[source]
convert_from_spherical(coord)[source]
convert_to_cartesian(coord)[source]
convert_to_cylindrical(coord)[source]
convert_to_spherical(coord)[source]
property data_projection
property data_transform
distance(start, end)
property image_axis_name
name: str = 'geographic'
property period
pixelize(dimension, data_source, field, bounds, size, antialias=True, periodic=True, *, return_mask=False)[source]
pixelize_line(field, start_point, end_point, npoints)[source]
radial_axis = 'altitude'
sanitize_center(center, axis)[source]
sanitize_depth(depth)
sanitize_width(axis, width, depth)[source]
setup_fields(registry)[source]
property x_axis
property y_axis
class yt.geometry.coordinates.geographic_coordinates.InternalGeographicCoordinateHandler(ds, ordering=None)[source]

Bases: GeographicCoordinateHandler

property axis_id
property axis_name
convert_from_cartesian(coord)
convert_from_cylindrical(coord)
convert_from_spherical(coord)
convert_to_cartesian(coord)
convert_to_cylindrical(coord)
convert_to_spherical(coord)
property data_projection
property data_transform
distance(start, end)
property image_axis_name
name: str = 'internal_geographic'
property period
pixelize(dimension, data_source, field, bounds, size, antialias=True, periodic=True, *, return_mask=False)
pixelize_line(field, start_point, end_point, npoints)
radial_axis = 'depth'
sanitize_center(center, axis)[source]
sanitize_depth(depth)
sanitize_width(axis, width, depth)[source]
setup_fields(registry)
property x_axis
property y_axis