yt.visualization.fixed_resolution.CylindricalFixedResolutionBuffer.convert_to_pixel

CylindricalFixedResolutionBuffer.convert_to_pixel(coords)

This function converts coordinates in code-space to pixel-space.

Parameters:

coords : sequence of array_like

This is (x_coord, y_coord). Because of the way the math is done, these can both be arrays.

Returns:

output : sequence of array_like

This returns px_coord, py_coord