yt.lagos.ExtractedRegionBase

class yt.lagos.ExtractedRegionBase(base_region, indices, force_refresh=True, **kwargs)

ExtractedRegions are arbitrarily defined containers of data, useful for things like selection along a baryon field.

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.
cut_region(field_cuts) Return an InLineExtractedRegion, where the grid cells are cut on the
extract_connected_sets(field, num_levels, ...) This function will create a set of contour objects, defined
extract_region(indices) Return an ExtractedRegion where the points contained in it are defined
get_data([fields, in_grids, force_particle_read])
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.
join(other)
keys()
paint_grids(field, value[, default_value]) This function paints every cell in our dataset with a given value.
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.EnzoStaticOutput.keys

Next topic

yt.lagos.ExtractedRegionBase.clear_cache

This Page