yt.extensions.volume_rendering.ProjectionTransferFunction.__init__

ProjectionTransferFunction.__init__(x_bounds=(-9.9999999999999995e+59, 9.9999999999999995e+59))

A transfer function that defines a simple projection.

To generate an interpolated, off-axis projection through a dataset, this transfer function should be used. It will create a very simple table that merely sums along each ray. Note that the end product will need to be scaled by the total width through which the rays were cast, a piece of information inacessible to the transfer function.

Parameters :

x_boudns : tuple of floats, optional

If any of your values lie outside this range, they will be truncated.

Notes

When you use this transfer function, you may need to explicitly disable logging of fields.

This Page