yt.lagos.FieldInfoContainer

class yt.lagos.FieldInfoContainer

This is a generic field container. It contains a list of potential derived fields, all of which know how to act on a data object and return a value. This object handles converting units as well as validating the availability of a given field.

Methods

add_field(name, **kwargs[, function]) Add a new field, along with supplemental metadata, to the list of available fields.
has_key(key)
keys() Return all the field names this object knows about.

Previous topic

yt.lagos.EnzoFieldContainer.keys

Next topic

yt.lagos.FieldInfoContainer.add_field

This Page