yt.data_objects.derived_quantities.
MaxLocation
(data_source)[source]¶Calculates the maximum value plus the index, x, y, and z position of the maximum.
Parameters: | field : field
|
---|
Examples
>>> ds = load("IsolatedGalaxy/galaxy0030/galaxy0030")
>>> ad = ds.all_data()
>>> print ad.quantities.max_location(("gas", "density"))
Attributes
Methods