yt.lagos.FieldInfoContainer.add_field

FieldInfoContainer.add_field(name, function=None, **kwargs)

Add a new field, along with supplemental metadata, to the list of available fields. This respects a number of arguments, all of which are passed on to the constructor for DerivedField.

Previous topic

yt.lagos.FieldInfoContainer

Next topic

yt.lagos.FieldInfoContainer.has_key

This Page