yt.data_objects.derived_quantities.MinLocation

class yt.data_objects.derived_quantities.MinLocation(data_source)[source]

Calculates the minimum value plus the index, x, y, and z position of the minimum.

Parameters:

field : field

The field over which the extrema are to be calculated.

Examples

>>> ds = load("IsolatedGalaxy/galaxy0030/galaxy0030")
>>> ad = ds.all_data()
>>> print ad.quantities.min_location(("gas", "density"))

Attributes

Methods