create_table_from_textfiles |
|
yt.convenience.all_pfs(**kwargs[, ...]) |
This function searchs a directory and its sub-directories, up to a depth of max_depth, for parameter files. |
yt.convenience.load(*args, **kwargs) |
This function attempts to determine the base data type of a filename or |
yt.convenience.max_spheres(width, unit, **kwargs) |
This calls all_pfs() and then for each parameter file |
yt.funcs.deprecate(func) |
This decorator issues a deprecation warning. |
yt.funcs.ensure_list(obj) |
This function ensures that obj is a list. |
yt.funcs.get_pbar(title, maxval) |
This returns a progressbar of the most appropriate type, given a title |
yt.funcs.humanize_time(secs) |
Takes secs and returns a nicely formatted string |
yt.funcs.insert_ipython([num_up]) |
Placed inside a function, this will insert an IPython interpreter at that |
yt.funcs.iterable(obj) |
Grabbed from Python Cookbook / matploblib.cbook. Returns true/false for |
yt.funcs.just_one(obj) |
|
yt.funcs.only_on_root(func, *args, **kwargs) |
This function accepts a func, a set of args and kwargs and then only on the root processor calls the function. |
yt.funcs.paste_traceback(exc_type, exc, tb) |
This is a traceback handler that knows how to paste to the pastebin. |
yt.funcs.pdb_run(func) |
This decorator inserts a pdb session on top of the call-stack into a function. |
yt.funcs.print_tb(func) |
This function is used as a decorate on a function to have the calling stack printed whenever that function is entered. |
yt.funcs.rootonly(func) |
This is a decorator that, when used, will only call the function on the root processor and then broadcast the results of the function to all other processors. |
yt.funcs.time_execution(func) |
Decorator for seeing how long a given function takes, depending on whether or not the global ‘yt.timefunctions’ config parameter is set. |
yt.lagos.identify_contours(data_source, ...) |
|
yt.lagos.parallel_blocking_call(func) |
This decorator blocks on entry and exit of a function. |
yt.lagos.parallel_passthrough(func) |
If we are not run in parallel, this function passes the input back as output; otherwise, the function gets called. |
yt.lagos.parallel_root_only(func) |
This decorator blocks and calls the function on the root processor, |
yt.lagos.parallel_simple_proxy(func) |
This is a decorator that broadcasts the result of computation on a single processor to all other processors. |
yt.lagos.parallel_splitter(f1, f2) |
This function returns either the function f1 or f2 depending on whether or not we’re the root processor. |
yt.raven.PlotInterface.get_projection(pf, ...) |
Get a single projection plot, with standard field, axis and center |
yt.raven.PlotInterface.get_slice(pf, *args, ...) |
Get a single slice plot, with standard field, axis and center |
yt.raven.get_multi_plot(nx, ny[, colorbar, ...]) |
Construct a multiple axes plot object, with or without a colorbar, into which multiple plots may be inserted. |