AthenaFieldInfo.
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
.
Parameters: | name : str
function : callable
units : str
take_log : bool
validators : list
particle_type : bool
vector_field : bool
display_name : str
|
---|