yt.extensions.volume_rendering.ProjectionTransferFunction

class yt.extensions.volume_rendering.ProjectionTransferFunction(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.

Methods

add_field_table(table, field_id[, ...]) This accepts a table describing integration.
link_channels(table_id[, channels]) Link an image channel to a field table.

Previous topic

yt.extensions.volume_rendering.PlanckTransferFunction.link_channels

Next topic

yt.extensions.volume_rendering.ProjectionTransferFunction.add_field_table

This Page