yt.geometry.coordinates.geographic_coordinates module

Definitions for geographic coordinate systems

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

Bases: yt.geometry.coordinates.coordinate_handler.CoordinateHandler

axis_id
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]
distance(start, end)
image_axis_name
name = 'geographic'
period
pixelize(dimension, data_source, field, bounds, size, antialias=True, periodic=True)[source]
pixelize_line(field, start_point, end_point, npoints)
radial_axis = 'altitude'
sanitize_center(center, axis)[source]
sanitize_depth(depth)
sanitize_width(axis, width, depth)[source]
setup_fields(registry)[source]
x_axis
y_axis
class yt.geometry.coordinates.geographic_coordinates.InternalGeographicCoordinateHandler(ds, ordering=None)[source]

Bases: yt.geometry.coordinates.geographic_coordinates.GeographicCoordinateHandler

axis_id
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)
distance(start, end)
image_axis_name
name = 'internal_geographic'
period
pixelize(dimension, data_source, field, bounds, size, antialias=True, periodic=True)
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)
x_axis
y_axis