AMRCuttingPlane is an oblique plane through the data, defined by a normal vector and a coordinate. It attempts to guess an ‘up’ vector, which cannot be overridden, and then it pixelizes the appropriate data onto the plane without interpolation.
Methods
clear_cache() | Clears out all cache, freeing memory. |
clear_data() | Clears out all data from the AMRData instance, freeing memory. |
convert(datatype) | This will attempt to convert a given unit to cgs from code units. |
get_data([fields]) | Iterates over the list of fields and generates/reads them all. |
get_field_parameter(name[, default]) | This is typically only used by derived field functions, but |
has_field_parameter(name) | Checks if a field parameter is set. |
has_key(key) | Checks if a data field already exists. |
interpolate_discretize(*args, **kwargs) | |
keys() | |
save_object(name[, filename]) | Save an object. |
select_grid_indices(level) | |
select_grids(level) | Return all grids on a given level. |
set_field_parameter(name, val) | Here we set up dictionaries that get passed up and down and ultimately |
write_out(filename[, fields, format]) |
The Cutting Plane slices at an oblique angle, where we use the normal vector and the center to define the viewing plane. The ‘up’ direction is guessed at automatically.
Methods
clear_cache() | Clears out all cache, freeing memory. |
clear_data() | Clears out all data from the AMRData instance, freeing memory. |
convert(datatype) | This will attempt to convert a given unit to cgs from code units. |
get_data([fields]) | Iterates over the list of fields and generates/reads them all. |
get_field_parameter(name[, default]) | This is typically only used by derived field functions, but |
has_field_parameter(name) | Checks if a field parameter is set. |
has_key(key) | Checks if a data field already exists. |
interpolate_discretize(*args, **kwargs) | |
keys() | |
save_object(name[, filename]) | Save an object. |
select_grid_indices(level) | |
select_grids(level) | Return all grids on a given level. |
set_field_parameter(name, val) | Here we set up dictionaries that get passed up and down and ultimately |
write_out(filename[, fields, format]) |