yt.extensions.coordinate_transforms.arbitrary_regrid(...) | This function accepts a dict of points ‘x’, ‘y’ and ‘z’ and a data source from which to interpolate new points, along with a list of fields it needs to regrid onto those xyz points. |
yt.extensions.coordinate_transforms.spherical_regrid(pf, ...) | This function takes a parameter file (pf) along with the nr, ntheta and nphi points to generate out to rmax, and it grids fields onto those points and returns a dict. |
yt.extensions.disk_analysis.StackedDiskImage(pf, ...) | This class implements an AMR data object that will stack up |
For the generation of stellar SEDs. (See also Star Particle Analysis.)
yt.extensions.StarAnalysis.StarFormationRate(pf) | Calculates the star formation rate for a given population of star particles. |
yt.extensions.StarAnalysis.SpectrumBuilder(pf) | Initialize the data to build a summed flux spectrum for a |
Light cone generation and simulation analysis. (See also Light Cone Generator.)
yt.extensions.lightcone.project_light_cone |
See also Volume Rendering.
Camera(center, normal_vector, width, ...[, ...]) | A viewpoint into a volume, for volume rendering. |
ColorTransferFunction(x_bounds[, nbins]) | A complete set of transfer functions for standard color-mapping. |
HomogenizedVolume([fields, source, pf, ...]) | |
MultiVariateTransferFunction() | This object constructs a set of field tables that allow for multiple field variables to control the integration through a volme. |
PartitionedGrid | |
PerspectiveCamera(center, normal_vector, ...) | A viewpoint into a volume, for volume rendering. |
PlanckTransferFunction(T_bounds, rho_bounds) | This sets up a planck function for multivariate emission and absorption. |
ProjectionTransferFunction([x_bounds]) | A transfer function that defines a simple projection. |
StereoPairCamera(original_camera[, ...]) | |
TransferFunction(x_bounds[, nbins]) | A transfer function governs the transmission of emission and absorption through a volume. |
VolumeRendering(normal_vector, width, ...[, ...]) | |
export_rgba(image, fn[, h5, fits]) | This function accepts an image, of shape (N,M,4) corresponding to r,g,b,a, |
import_rgba(name[, h5]) | This function will read back in an HDF5 file, as saved by export_rgba, and |
plot_channel(image, name[, cmap, log, dex, ...]) | This function will plot a single channel. |
plot_rgb(image, name[, label, label_color, ...]) | This will plot the r,g,b channels of an image of shape (N,M,3) or |
These functions are all used for fast writing of images directly to disk, without calling matplotlib. This can be very useful for high-cadence outputs where colorbars are unnecessary or for volume rendering.
multi_image_composite(fn, red_channel, ...) | Write an image with different color channels corresponding to different quantities. |
write_bitmap(bitmap_array, filename[, max_val]) | Write out a bitmapped image directly to a PNG file. |
write_image(image, filename[, color_bounds, ...]) | Write out a floating point array directly to a PNG file, scaling it and |
map_to_colors(buff, cmap_name) | |
strip_colormap_data([fn, cmaps]) | |
splat_points(image, points_x, points_y[, ...]) |
We also provide a module that is very good for generating EPS figures, particularly with complicated layouts.
DualEPS([figsize]) | Initializes the DualEPS class to which we can progressively add layers |
See also The AMR Image Panner.
VariableMeshPanner(source, size, field[, ...]) | This class describes a meta-view onto a 2D data interface. You provide |
WindowedVariableMeshPanner(source, ...[, ...]) | This image panner accepts a full_size, which describes the full size of the image which it will be displaying a portion of. |
MultipleWindowVariableMeshPanner(windows) | This panner is exclusively a controller. |
ImageSaver(tile_id) | This is a sample callback for an image panner that will save to a file |
PanningCeleritasStreamer(tile_id[, cmap, ...]) | This is an in-development mechanism for supplying buffers to a |