yt.fields.vector_operations module

This is where we define a handful of vector operations for fields.

yt.fields.vector_operations.create_averaged_field(registry, basename, field_units, ftype='gas', slice_info=None, validators=None, weight='cell_mass')[source]
yt.fields.vector_operations.create_magnitude_field(registry, basename, field_units, ftype='gas', slice_info=None, validators=None, particle_type=False)[source]
yt.fields.vector_operations.create_squared_field(registry, basename, field_units, ftype='gas', slice_info=None, validators=None, particle_type=False)[source]
yt.fields.vector_operations.create_vector_fields(registry, basename, field_units, ftype='gas', slice_info=None)[source]