yt.lagos.OrionFieldContainer.add_field

OrionFieldContainer.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.OrionFieldContainer

Next topic

yt.lagos.OrionFieldContainer.has_key

This Page