yt.utilities.answer_testing.answer_tests module

Title: answer_tests.py Purpose: Contains answer tests that are used by yt’s various frontends

yt.utilities.answer_testing.answer_tests.VR_image_comparison(scene)[source]
yt.utilities.answer_testing.answer_tests.axial_pixelization(ds)[source]

This test is typically used once per geometry or coordinates type. Feed it a dataset, and it checks that the results of basic pixelization don’t change.

yt.utilities.answer_testing.answer_tests.big_patch_amr(ds, field, weight, axis, ds_obj)[source]
yt.utilities.answer_testing.answer_tests.extract_connected_sets(ds_fn, data_source, field, num_levels, min_val, max_val)[source]
yt.utilities.answer_testing.answer_tests.field_values(ds, field, obj_type=None, particle_type=False)[source]
yt.utilities.answer_testing.answer_tests.generic_array(func, args=None, kwargs=None)[source]
yt.utilities.answer_testing.answer_tests.generic_image(img_fname)[source]
yt.utilities.answer_testing.answer_tests.get_field_size_and_mean(ds, field, geometric)[source]
yt.utilities.answer_testing.answer_tests.grid_hierarchy(ds)[source]
yt.utilities.answer_testing.answer_tests.grid_values(ds, field)[source]
yt.utilities.answer_testing.answer_tests.parentage_relationships(ds)[source]
yt.utilities.answer_testing.answer_tests.phase_plot_attribute(ds_fn, x_field, y_field, z_field, attr_name, attr_args, plot_type='PhasePlot', plot_kwargs=None)[source]
yt.utilities.answer_testing.answer_tests.pixelized_projection_values(ds, axis, field, weight_field=None, dobj_type=None)[source]
yt.utilities.answer_testing.answer_tests.plot_window_attribute(ds, plot_field, plot_axis, attr_name, attr_args, plot_type='SlicePlot', callback_id='', callback_runners=None)[source]
yt.utilities.answer_testing.answer_tests.projection_values(ds, axis, field, weight_field, dobj_type)[source]
yt.utilities.answer_testing.answer_tests.small_patch_amr(ds, field, weight, axis, ds_obj)[source]
yt.utilities.answer_testing.answer_tests.sph_answer(ds, ds_str_repr, ds_nparticles, field, weight, ds_obj, axis)[source]