yt.lagos.AMR2DData

class yt.lagos.AMR2DData(axis, fields, pf=None, **kwargs)

Prepares the AMR2DData, normal to axis. If axis is 4, we are not aligned with any axis.

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(LE, RE, field, side) This returns a uniform grid of points between LE and RE,
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])

Previous topic

yt.lagos.AMR1DData

Next topic

yt.lagos.AMR2DData.clear_cache

This Page