yt.raven.ObliqueFixedResolutionBuffer.convert_to_pixel

ObliqueFixedResolutionBuffer.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

Previous topic

yt.raven.ObliqueFixedResolutionBuffer.convert_distance_y

Next topic

yt.raven.ObliqueFixedResolutionBuffer.export_fits

This Page