yt.convenience module

Some convenience functions, objects, and iterators

yt.convenience.load(*args, **kwargs)[source]

This function attempts to determine the base data type of a filename or other set of arguments by calling yt.data_objects.static_output.Dataset._is_valid() until it finds a match, at which point it returns an instance of the appropriate yt.data_objects.static_output.Dataset subclass.

yt.convenience.simulation(parameter_filename, simulation_type, find_outputs=False)[source]

Loads a simulation time series object of the specified simulation type.