SYMBOL INDEX (7158 symbols across 588 files) FILE: conftest.py function pytest_addoption (line 40) | def pytest_addoption(parser): function pytest_configure (line 83) | def pytest_configure(config): function pytest_collection_modifyitems (line 189) | def pytest_collection_modifyitems(config, items): function pytest_itemcollected (line 219) | def pytest_itemcollected(item): function _param_list (line 229) | def _param_list(request): function _get_answer_files (line 263) | def _get_answer_files(request): function hashing (line 302) | def hashing(request): function temp_dir (line 367) | def temp_dir(): function ds (line 384) | def ds(request): function field (line 402) | def field(request): function dobj (line 411) | def dobj(request): function axis (line 420) | def axis(request): function weight (line 429) | def weight(request): function ds_repr (line 438) | def ds_repr(request): function Npart (line 447) | def Npart(request): FILE: doc/extensions/config_help.py function setup (line 8) | def setup(app): class GetConfigHelp (line 19) | class GetConfigHelp(Directive): method run (line 24) | def run(self): FILE: doc/extensions/pythonscript_sphinxext.py class PythonScriptDirective (line 14) | class PythonScriptDirective(Directive): method run (line 27) | def run(self): function setup (line 71) | def setup(app): function get_image_tag (line 82) | def get_image_tag(filename, image_dir, image_rel_dir): function make_image_dir (line 89) | def make_image_dir(setup, rst_dir): function thread_safe_mkdir (line 97) | def thread_safe_mkdir(dirname): FILE: doc/extensions/yt_colormaps.py function setup (line 15) | def setup(app): class ColormapScript (line 26) | class ColormapScript(Directive): method run (line 30) | def run(self): FILE: doc/extensions/yt_cookbook.py function setup (line 15) | def setup(app): class CookbookScript (line 29) | class CookbookScript(Directive): method run (line 33) | def run(self): FILE: doc/extensions/yt_showfields.py function setup (line 7) | def setup(app): class ShowFields (line 18) | class ShowFields(Directive): method run (line 24) | def run(self): FILE: doc/helper_scripts/code_support.py class CodeSupport (line 13) | class CodeSupport: method __init__ (line 14) | def __init__(self, **kwargs): FILE: doc/helper_scripts/parse_cb_list.py function write_docstring (line 23) | def write_docstring(f, name, cls): FILE: doc/helper_scripts/parse_dq_list.py function write_docstring (line 22) | def write_docstring(f, name, func): FILE: doc/helper_scripts/parse_object_list.py function write_docstring (line 21) | def write_docstring(f, name, cls): FILE: doc/helper_scripts/run_recipes.py function prep_dirs (line 31) | def prep_dirs(): function run_recipe (line 36) | def run_recipe(payload): FILE: doc/helper_scripts/show_fields.py function _strip_ftype (line 31) | def _strip_ftype(field): function fix_units (line 133) | def fix_units(units, in_cgs=False): function print_all_fields (line 141) | def print_all_fields(fl): class FieldInfo (line 190) | class FieldInfo: method __init__ (line 193) | def __init__(self, ftype, field, ptype): FILE: doc/source/analyzing/_static/axes.c function calculate_axes (line 3) | void calculate_axes(ParticleCollection *part, FILE: doc/source/analyzing/_static/axes.h type ParticleCollection (line 1) | typedef struct structParticleCollection { FILE: doc/source/analyzing/ionization_cube.py function IonizedHydrogen (line 13) | def IonizedHydrogen(data): FILE: doc/source/conf.py function setup (line 264) | def setup(app): FILE: doc/source/cookbook/derived_field.py function thermal_energy_dens (line 12) | def thermal_energy_dens(data): FILE: doc/source/cookbook/hse_field.py function _hse (line 18) | def _hse(data): FILE: doc/source/cookbook/matplotlib-animation.py function animate (line 16) | def animate(i): FILE: doc/source/cookbook/particle_filter.py function stars_10Myr (line 11) | def stars_10Myr(pfilter, data): function stars_100Myr (line 17) | def stars_100Myr(pfilter, data): function stars_old (line 23) | def stars_old(pfilter, data): FILE: doc/source/cookbook/particle_filter_sfr.py function formed_star (line 8) | def formed_star(pfilter, data): FILE: doc/source/cookbook/power_spectrum_example.py function doit (line 28) | def doit(ds): function fft_comp (line 92) | def fft_comp(ds, irho, iu, nindex_rho, level, low, delta): FILE: doc/source/cookbook/tests/test_cookbook.py function test_recipe (line 23) | def test_recipe(): function check_recipe (line 33) | def check_recipe(cmd): FILE: setup.py class BinaryDistribution (line 93) | class BinaryDistribution(Distribution): method has_ext_modules (line 96) | def has_ext_modules(self): FILE: setupext.py function stdchannel_redirected (line 35) | def stdchannel_redirected(stdchannel, dest_filename): function check_for_openmp (line 61) | def check_for_openmp(): function check_CPP14_flag (line 159) | def check_CPP14_flag(compile_flags): function check_CPP14_flags (line 202) | def check_CPP14_flags(possible_compile_flags): function check_for_pyembree (line 214) | def check_for_pyembree(std_libs): function in_conda_env (line 245) | def in_conda_env(): function read_embree_location (line 249) | def read_embree_location(): function get_cpu_count (line 334) | def get_cpu_count(): function install_ccompiler (line 350) | def install_ccompiler(): function get_python_include_dirs (line 381) | def get_python_include_dirs(): function create_build_ext (line 413) | def create_build_ext(lib_exts, cythonize_aliases): function get_setup_options (line 495) | def get_setup_options(): FILE: tests/nose_runner.py class NoseWorker (line 15) | class NoseWorker(multiprocessing.Process): method __init__ (line 16) | def __init__(self, task_queue, result_queue): method run (line 21) | def run(self): class NoseTask (line 39) | class NoseTask: method __init__ (line 40) | def __init__(self, job): method __call__ (line 46) | def __call__(self): method __str__ (line 62) | def __str__(self): function generate_tasks_input (line 66) | def generate_tasks_input(): FILE: tests/report_failed_answers.py function generate_failed_answers_html (line 32) | def generate_failed_answers_html(failed_answers): function upload_to_curldrop (line 113) | def upload_to_curldrop(data, filename): function upload_failed_answers (line 145) | def upload_failed_answers(failed_answers): function generate_answers (line 171) | def generate_answers(answer_dir, answers): function upload_answers (line 214) | def upload_answers(answers): function extract_image_locations (line 254) | def extract_image_locations(error_string): function parse_nose_xml (line 300) | def parse_nose_xml(nose_xml): function handle_error (line 352) | def handle_error(error, testcase, missing_errors, missing_answers, faile... FILE: tests/unpin_requirements.py function unpin_requirements (line 21) | def unpin_requirements(requirements: list[str]) -> list[str]: FILE: yt/__init__.py function run_nose (line 94) | def run_nose(*args, **kwargs): FILE: yt/_maintenance/backports.py class ReprEnum (line 29) | class ReprEnum(Enum): class StrEnum (line 35) | class StrEnum(str, ReprEnum): method __new__ (line 40) | def __new__(cls, *values): method _generate_next_value_ (line 61) | def _generate_next_value_(name, start, count, last_values): # noqa B902 FILE: yt/_maintenance/deprecation.py function issue_deprecation_warning (line 6) | def issue_deprecation_warning( function future_positional_only (line 47) | def future_positional_only(positions2names: dict[int, str], /, **depr_kw... FILE: yt/_version.py class VersionTuple (line 13) | class VersionTuple(NamedTuple): function _parse_to_version_info (line 30) | def _parse_to_version_info(version_str: str) -> VersionTuple: FILE: yt/arraytypes.py function blankRecordArray (line 6) | def blankRecordArray(desc, elements): FILE: yt/config.py function _setup_postinit_configuration (line 77) | def _setup_postinit_configuration(): FILE: yt/data_objects/analyzer_objects.py class AnalysisTask (line 6) | class AnalysisTask: method __init_subclass__ (line 7) | def __init_subclass__(cls, *args, **kwargs): method __init__ (line 12) | def __init__(self, *args, **kwargs): method __repr__ (line 20) | def __repr__(self): function analysis_task (line 27) | def analysis_task(params=None): function MaximumValue (line 39) | def MaximumValue(params, data_object): function CurrentTimeYears (line 45) | def CurrentTimeYears(params, ds): class SlicePlotDataset (line 49) | class SlicePlotDataset(AnalysisTask): method __init__ (line 52) | def __init__(self, *args, **kwargs): method eval (line 58) | def eval(self, ds): class QuantityProxy (line 63) | class QuantityProxy(AnalysisTask): method __repr__ (line 67) | def __repr__(self): method __init__ (line 74) | def __init__(self, *args, **kwargs): method eval (line 78) | def eval(self, data_object): class ParameterValue (line 83) | class ParameterValue(AnalysisTask): method __init__ (line 86) | def __init__(self, parameter, cast=None): method eval (line 96) | def eval(self, ds): function create_quantity_proxy (line 100) | def create_quantity_proxy(quantity_object): FILE: yt/data_objects/construction_data_containers.py class YTStreamline (line 67) | class YTStreamline(YTSelectionContainer1D): method __init__ (line 110) | def __init__(self, positions, length=1.0, fields=None, ds=None, **kwar... method _get_list_of_grids (line 126) | def _get_list_of_grids(self): method _get_data_from_grid (line 136) | def _get_data_from_grid(self, grid, field): method _get_cut_mask (line 145) | def _get_cut_mask(self, grid): class YTProj (line 171) | class YTProj(YTSelectionContainer2D): method __init__ (line 176) | def __init__( method blocks (line 239) | def blocks(self): method field (line 243) | def field(self): method get_data (line 246) | def get_data(self, fields=None): method to_pw (line 355) | def to_pw(self, fields=None, center="center", width=None, origin="cent... method plot (line 366) | def plot(self, fields=None): method _initialize_projected_units (line 389) | def _initialize_projected_units(self, fields, chunk): class YTParticleProj (line 420) | class YTParticleProj(YTProj): method __init__ (line 427) | def __init__( method _handle_chunk (line 454) | def _handle_chunk(self, chunk, fields, tree): class YTQuadTreeProj (line 458) | class YTQuadTreeProj(YTProj): method __init__ (line 525) | def __init__( method _mrep (line 557) | def _mrep(self): method deserialize (line 560) | def deserialize(self, fields): method serialize (line 579) | def serialize(self): method _get_tree (line 584) | def _get_tree(self, nvals): method _initialize_chunk (line 599) | def _initialize_chunk(self, chunk, tree): method _handle_chunk (line 608) | def _handle_chunk(self, chunk, fields, tree): class YTCoveringGrid (line 644) | class YTCoveringGrid(YTSelectionContainer3D): method __init__ (line 687) | def __init__( method get_global_startindex (line 729) | def get_global_startindex(self): method to_xarray (line 733) | def to_xarray(self, fields=None): method icoords (line 788) | def icoords(self): method fwidth (line 798) | def fwidth(self): method fcoords (line 804) | def fcoords(self): method ires (line 816) | def ires(self): method set_field_parameter (line 821) | def set_field_parameter(self, name, val): method _sanitize_dims (line 826) | def _sanitize_dims(self, dims): method _sanitize_edge (line 835) | def _sanitize_edge(self, edge): method _reshape_vals (line 851) | def _reshape_vals(self, arr): method shape (line 857) | def shape(self): method _setup_data_source (line 860) | def _setup_data_source(self): method get_bbox (line 878) | def get_bbox(self): method get_data (line 881) | def get_data(self, fields=None): method _split_fields (line 939) | def _split_fields(self, fields_to_get): method _fill_particles (line 960) | def _fill_particles(self, part): method _check_sph_type (line 964) | def _check_sph_type(self, finfo): method _fill_sph_particles (line 998) | def _fill_sph_particles(self, fields): method _fill_fields (line 1107) | def _fill_fields(self, fields): method _generate_container_field (line 1142) | def _generate_container_field(self, field): method LeftEdge (line 1174) | def LeftEdge(self): method RightEdge (line 1178) | def RightEdge(self): method deposit (line 1181) | def deposit(self, positions, fields=None, method=None, kernel_name="cu... method write_to_gdf (line 1200) | def write_to_gdf(self, gdf_path, fields, nprocs=1, field_units=None, *... method _get_grid_bounds_size (line 1250) | def _get_grid_bounds_size(self): method to_fits_data (line 1264) | def to_fits_data(self, fields, length_unit=None): class YTArbitraryGrid (line 1288) | class YTArbitraryGrid(YTCoveringGrid): method __init__ (line 1326) | def __init__(self, left_edge, right_edge, dims, ds=None, field_paramet... method _fill_fields (line 1341) | def _fill_fields(self, fields): method _get_grid_bounds_size (line 1364) | def _get_grid_bounds_size(self): class LevelState (line 1377) | class LevelState: class YTSmoothedCoveringGrid (line 1397) | class YTSmoothedCoveringGrid(YTCoveringGrid): method __init__ (line 1429) | def __init__(self, *args, **kwargs): method _setup_data_source (line 1438) | def _setup_data_source(self, level_state=None): method _compute_minimum_level (line 1459) | def _compute_minimum_level(self): method _fill_fields (line 1492) | def _fill_fields(self, fields): method _initialize_level_state (line 1548) | def _initialize_level_state(self, fields): method _minimal_box (line 1577) | def _minimal_box(self, dds): method _update_level_state (line 1597) | def _update_level_state(self, level_state): class YTSurface (line 1627) | class YTSurface(YTSelectionContainer3D): method __init__ (line 1679) | def __init__(self, data_source, surface_field, field_value, ds=None): method _generate_container_field (line 1695) | def _generate_container_field(self, field): method get_data (line 1699) | def get_data(self, fields=None, sample_type="face", no_ghost=False): method _extract_isocontours_from_grid (line 1739) | def _extract_isocontours_from_grid( method calculate_flux (line 1763) | def calculate_flux(self, field_x, field_y, field_z, fluxing_field=None): method _calculate_flux_in_grid (line 1832) | def _calculate_flux_in_grid( method vertices (line 1871) | def vertices(self): method triangles (line 1877) | def triangles(self): method surface_area (line 1888) | def surface_area(self): method export_obj (line 1901) | def export_obj( method _color_samples_obj (line 2039) | def _color_samples_obj( method _export_obj (line 2112) | def _export_obj( method export_blender (line 2244) | def export_blender( method _export_blender (line 2370) | def _export_blender( method export_ply (line 2445) | def export_ply( method _color_samples (line 2513) | def _color_samples( method _export_ply (line 2547) | def _export_ply( method export_sketchfab (line 2657) | def export_sketchfab( method _upload_to_sketchfab (line 2781) | def _upload_to_sketchfab(self, data, files): class YTOctree (line 2810) | class YTOctree(YTSelectionContainer3D): method __init__ (line 2860) | def __init__( method _generate_tree (line 2883) | def _generate_tree(self): method tree (line 2925) | def tree(self): method sph_smoothing_style (line 2936) | def sph_smoothing_style(self): method sph_normalize (line 2941) | def sph_normalize(self): method sph_num_neighbors (line 2946) | def sph_num_neighbors(self): method _sanitize_ptypes (line 2950) | def _sanitize_ptypes(self, ptypes): method _setup_data_source (line 2965) | def _setup_data_source(self): method _sanitize_edge (line 2977) | def _sanitize_edge(self, edge, default): method get_data (line 2994) | def get_data(self, fields=None): method _gather_smooth (line 3023) | def _gather_smooth(self, fields, units, normalize): method _scatter_smooth (line 3056) | def _scatter_smooth(self, fields, units, normalize): FILE: yt/data_objects/data_containers.py function sanitize_weight_field (line 35) | def sanitize_weight_field(ds, field, weight): function _get_ipython_key_completion (line 51) | def _get_ipython_key_completion(ds): class YTDataContainer (line 60) | class YTDataContainer(abc.ABC): method __init__ (line 78) | def __init__(self, ds: Optional["Dataset"], field_parameters) -> None: method __init_subclass__ (line 121) | def __init_subclass__(cls, *args, **kwargs): method pf (line 128) | def pf(self): method index (line 132) | def index(self): method _debug (line 138) | def _debug(self): method _set_default_field_parameters (line 148) | def _set_default_field_parameters(self): method _is_default_field_parameter (line 153) | def _is_default_field_parameter(self, parameter): method apply_units (line 161) | def apply_units(self, arr, units): method _first_matching_field (line 168) | def _first_matching_field(self, field: FieldName) -> FieldKey: method _set_center (line 175) | def _set_center(self, center): method get_field_parameter (line 184) | def get_field_parameter(self, name, default=None): method set_field_parameter (line 194) | def set_field_parameter(self, name, val): method has_field_parameter (line 201) | def has_field_parameter(self, name): method clear_data (line 207) | def clear_data(self, fields: list[AnyFieldKey] | AnyFieldKey | None = ... method has_key (line 226) | def has_key(self, key): method keys (line 232) | def keys(self): method _reshape_vals (line 235) | def _reshape_vals(self, arr): method __getitem__ (line 238) | def __getitem__(self, key): method _ipython_key_completions_ (line 260) | def _ipython_key_completions_(self): method __setitem__ (line 263) | def __setitem__(self, key, val): method __delitem__ (line 269) | def __delitem__(self, key): method get_bbox (line 278) | def get_bbox(self) -> tuple[unyt_array, unyt_array]: method _generate_field (line 284) | def _generate_field(self, field): method _generate_fluid_field (line 298) | def _generate_fluid_field(self, field): method _generate_spatial_fluid (line 314) | def _generate_spatial_fluid(self, field, ngz): method _generate_particle_field (line 364) | def _generate_particle_field(self, field): method _count_particles (line 399) | def _count_particles(self, ftype): method _generate_container_field (line 414) | def _generate_container_field(self, field): method _parameter_iterate (line 417) | def _parameter_iterate(self, seq): method write_out (line 424) | def write_out(self, filename, fields=None, format="%0.16e"): method to_dataframe (line 488) | def to_dataframe(self, fields): method to_astropy_table (line 520) | def to_astropy_table(self, fields): method save_as_dataset (line 548) | def save_as_dataset(self, filename=None, fields=None): method create_firefly_object (line 660) | def create_firefly_object( method argmax (line 913) | def argmax(self, field, axis=None): method argmin (line 959) | def argmin(self, field, axis=None): method _compute_extrema (line 1005) | def _compute_extrema(self, field): method max (line 1017) | def max(self, field, axis=None): method min (line 1052) | def min(self, field, axis=None): method std (line 1087) | def std(self, field, axis=None, weight=None): method ptp (line 1124) | def ptp(self, field): method profile (line 1147) | def profile( method mean (line 1245) | def mean(self, field, axis=None, weight=None): method sum (line 1286) | def sum(self, field, axis=None): method integrate (line 1323) | def integrate(self, field, weight=None, axis=None, *, moment=1): method _hash (line 1363) | def _hash(self): method __reduce__ (line 1372) | def __reduce__(self): method clone (line 1380) | def clone(self): method __repr__ (line 1409) | def __repr__(self): method _field_parameter_state (line 1422) | def _field_parameter_state(self, field_parameters): method _field_type_state (line 1435) | def _field_type_state(self, ftype, finfo, obj=None): method _determine_fields (line 1449) | def _determine_fields(self, fields): method tiles (line 1498) | def tiles(self): method blocks (line 1505) | def blocks(self): function _get_ds_by_hash (line 1532) | def _get_ds_by_hash(hash): function _reconstruct_object (line 1545) | def _reconstruct_object(*args, **kwargs): FILE: yt/data_objects/derived_quantities.py function get_position_fields (line 15) | def get_position_fields(field, data): class DerivedQuantity (line 31) | class DerivedQuantity(ParallelAnalysisInterface): method __init__ (line 34) | def __init__(self, data_source): method __init_subclass__ (line 37) | def __init_subclass__(cls, *args, **kwargs): method count_values (line 42) | def count_values(self, *args, **kwargs): method __call__ (line 45) | def __call__(self, *args, **kwargs): method process_chunk (line 68) | def process_chunk(self, data, *args, **kwargs): method reduce_intermediate (line 71) | def reduce_intermediate(self, values): class DerivedQuantityCollection (line 75) | class DerivedQuantityCollection: method __new__ (line 76) | def __new__(cls, data_source, *args, **kwargs): method __getitem__ (line 83) | def __getitem__(self, key): method keys (line 90) | def keys(self): class WeightedAverageQuantity (line 94) | class WeightedAverageQuantity(DerivedQuantity): method count_values (line 126) | def count_values(self, fields, weight): method __call__ (line 130) | def __call__(self, fields, weight): method process_chunk (line 137) | def process_chunk(self, data, fields, weight): method reduce_intermediate (line 142) | def reduce_intermediate(self, values): class TotalQuantity (line 147) | class TotalQuantity(DerivedQuantity): method count_values (line 165) | def count_values(self, fields): method __call__ (line 169) | def __call__(self, fields): method process_chunk (line 176) | def process_chunk(self, data, fields): method reduce_intermediate (line 180) | def reduce_intermediate(self, values): class TotalMass (line 184) | class TotalMass(TotalQuantity): method __call__ (line 199) | def __call__(self): class CenterOfMass (line 213) | class CenterOfMass(DerivedQuantity): method count_values (line 244) | def count_values(self, use_gas=True, use_particles=False, particle_typ... method process_chunk (line 258) | def process_chunk( method reduce_intermediate (line 279) | def reduce_intermediate(self, values): class BulkVelocity (line 296) | class BulkVelocity(DerivedQuantity): method count_values (line 327) | def count_values(self, use_gas=True, use_particles=False, particle_typ... method process_chunk (line 337) | def process_chunk( method reduce_intermediate (line 360) | def reduce_intermediate(self, values): class WeightedStandardDeviation (line 377) | class WeightedStandardDeviation(DerivedQuantity): method count_values (line 410) | def count_values(self, fields, weight): method __call__ (line 414) | def __call__(self, fields, weight): method process_chunk (line 423) | def process_chunk(self, data, fields, weight): method reduce_intermediate (line 438) | def reduce_intermediate(self, values): class AngularMomentumVector (line 461) | class AngularMomentumVector(DerivedQuantity): method count_values (line 502) | def count_values(self, use_gas=True, use_particles=True, particle_type... method process_chunk (line 519) | def process_chunk( method reduce_intermediate (line 552) | def reduce_intermediate(self, values): class Extrema (line 565) | class Extrema(DerivedQuantity): method count_values (line 594) | def count_values(self, fields, non_zero, *, check_finite=False): method __call__ (line 597) | def __call__(self, fields, non_zero=False, *, check_finite=False): method process_chunk (line 604) | def process_chunk(self, data, fields, non_zero, *, check_finite=False): method reduce_intermediate (line 622) | def reduce_intermediate(self, values): class SampleAtMaxFieldValues (line 630) | class SampleAtMaxFieldValues(DerivedQuantity): method count_values (line 653) | def count_values(self, field, sample_fields): method __call__ (line 657) | def __call__(self, field, sample_fields): method process_chunk (line 663) | def process_chunk(self, data, field, sample_fields): method reduce_intermediate (line 674) | def reduce_intermediate(self, values): method _func (line 678) | def _func(self, arr): class MaxLocation (line 682) | class MaxLocation(SampleAtMaxFieldValues): method __call__ (line 701) | def __call__(self, field): class SampleAtMinFieldValues (line 711) | class SampleAtMinFieldValues(SampleAtMaxFieldValues): method _func (line 734) | def _func(self, arr): class MinLocation (line 738) | class MinLocation(SampleAtMinFieldValues): method __call__ (line 757) | def __call__(self, field): class SpinParameter (line 767) | class SpinParameter(DerivedQuantity): method count_values (line 805) | def count_values(self, **kwargs): method process_chunk (line 808) | def process_chunk( method reduce_intermediate (line 838) | def reduce_intermediate(self, values): FILE: yt/data_objects/field_data.py class YTFieldData (line 1) | class YTFieldData(dict): FILE: yt/data_objects/image_array.py class ImageArray (line 8) | class ImageArray(unyt_array): method __new__ (line 71) | def __new__( method __array_finalize__ (line 87) | def __array_finalize__(self, obj): method write_hdf5 (line 92) | def write_hdf5(self, filename, dataset_name=None): method add_background_color (line 127) | def add_background_color(self, background="black", inline=True): method rescale (line 191) | def rescale(self, cmax=None, amax=None, inline=True): method write_png (line 252) | def write_png( method write_image (line 321) | def write_image( method save (line 398) | def save(self, filename, png=True, hdf5=True, dataset_name=None): method _clipping_value (line 426) | def _clipping_value(self, sigma_clip, im=None): FILE: yt/data_objects/index_subobjects/grid_patch.py class AMRGridPatch (line 23) | class AMRGridPatch(YTSelectionContainer): method __init__ (line 43) | def __init__(self, id, filename=None, index=None): method get_global_startindex (line 55) | def get_global_startindex(self): method __getitem__ (line 74) | def __getitem__(self, key): method convert (line 89) | def convert(self, datatype): method shape (line 98) | def shape(self): method _reshape_vals (line 101) | def _reshape_vals(self, arr): method _generate_container_field (line 106) | def _generate_container_field(self, field): method _setup_dx (line 123) | def _setup_dx(self): method __repr__ (line 143) | def __repr__(self): method __int__ (line 147) | def __int__(self): method clear_data (line 150) | def clear_data(self): method _prepare_grid (line 159) | def _prepare_grid(self): method get_position (line 186) | def get_position(self, index): method _fill_child_mask (line 191) | def _fill_child_mask(self, child, mask, tofill, dlevel=1): method child_mask (line 208) | def child_mask(self): method child_indices (line 222) | def child_indices(self): method child_index_mask (line 226) | def child_index_mask(self): method retrieve_ghost_zones (line 239) | def retrieve_ghost_zones(self, n_zones, fields, all_levels=False, smoo... method get_vertex_centered_data (line 270) | def get_vertex_centered_data( method select_icoords (line 314) | def select_icoords(self, dobj): method select_fcoords (line 322) | def select_fcoords(self, dobj): method select_fwidth (line 332) | def select_fwidth(self, dobj): method select_ires (line 341) | def select_ires(self, dobj): method select_tcoords (line 349) | def select_tcoords(self, dobj): method smooth (line 353) | def smooth(self, *args, **kwargs): method particle_operation (line 356) | def particle_operation(self, *args, **kwargs): method deposit (line 359) | def deposit(self, positions, fields=None, method=None, kernel_name="cu... method select_blocks (line 383) | def select_blocks(self, selector): method _get_selector_mask (line 387) | def _get_selector_mask(self, selector): method select (line 401) | def select(self, selector, source, dest, offset): method count (line 416) | def count(self, selector): method count_particles (line 422) | def count_particles(self, selector, x, y, z): method select_particles (line 427) | def select_particles(self, selector, x, y, z): FILE: yt/data_objects/index_subobjects/octree_subset.py function cell_count_cache (line 25) | def cell_count_cache(func): class OctreeSubset (line 37) | class OctreeSubset(YTSelectionContainer, abc.ABC): method __init__ (line 47) | def __init__(self, base_region, domain, ds, num_zones=2, num_ghost_zon... method oct_handler (line 62) | def oct_handler(self): method __getitem__ (line 66) | def __getitem__(self, key): method nz (line 82) | def nz(self): method get_bbox (line 85) | def get_bbox(self): method _reshape_vals (line 88) | def _reshape_vals(self, arr): method mask_refinement (line 109) | def mask_refinement(self, selector): method select_blocks (line 113) | def select_blocks(self, selector): method select_tcoords (line 119) | def select_tcoords(self, dobj): method domain_ind (line 133) | def domain_ind(self): method deposit (line 136) | def deposit(self, positions, fields=None, method=None, kernel_name="cu... method mesh_sampling_particle_field (line 208) | def mesh_sampling_particle_field(self, positions, mesh_field, lvlmax=N... method smooth (line 272) | def smooth( method particle_operation (line 392) | def particle_operation( method select_icoords (line 484) | def select_icoords(self, dobj): method select_fcoords (line 490) | def select_fcoords(self, dobj): method select_fwidth (line 497) | def select_fwidth(self, dobj): method select_ires (line 504) | def select_ires(self, dobj): method select (line 509) | def select(self, selector, source, dest, offset): method count (line 515) | def count(self, selector): method count_particles (line 518) | def count_particles(self, selector, x, y, z): method select_particles (line 523) | def select_particles(self, selector, x, y, z): method get_vertex_centered_data (line 527) | def get_vertex_centered_data(self, fields): class OctreeSubsetBlockSlicePosition (line 546) | class OctreeSubsetBlockSlicePosition: method __init__ (line 547) | def __init__(self, ind, block_slice): method __getitem__ (line 554) | def __getitem__(self, key): method id (line 563) | def id(self): method Level (line 567) | def Level(self): method LeftEdge (line 571) | def LeftEdge(self): method RightEdge (line 581) | def RightEdge(self): method dds (line 591) | def dds(self): method clear_data (line 594) | def clear_data(self): method get_vertex_centered_data (line 597) | def get_vertex_centered_data(self, fields, smoothed=False, no_ghost=Fa... method _field_parameter_state (line 603) | def _field_parameter_state(self, field_parameters): class OctreeSubsetBlockSlice (line 607) | class OctreeSubsetBlockSlice: method __init__ (line 608) | def __init__(self, octree_subset, ds): method octree_subset_with_gz (line 618) | def octree_subset_with_gz(self): method get_vertex_centered_data (line 624) | def get_vertex_centered_data(self, fields, smoothed=False, no_ghost=Fa... method __iter__ (line 656) | def __iter__(self): class YTPositionArray (line 661) | class YTPositionArray(unyt_array): method morton (line 663) | def morton(self): method to_octree (line 673) | def to_octree(self, num_zones=2, dims=(1, 1, 1), n_ref=64): method validate (line 687) | def validate(self): FILE: yt/data_objects/index_subobjects/particle_container.py function _non_indexed (line 15) | def _non_indexed(name): class ParticleContainer (line 22) | class ParticleContainer(YTSelectionContainer): method __init__ (line 28) | def __init__( method __reduce__ (line 53) | def __reduce__(self): method selector (line 60) | def selector(self): method select_particles (line 63) | def select_particles(self, selector, x, y, z): method _expand_data_files (line 68) | def _expand_data_files(self): method retrieve_ghost_zones (line 78) | def retrieve_ghost_zones(self, ngz, coarse_ghosts=False): FILE: yt/data_objects/index_subobjects/stretched_grid.py class StretchedGrid (line 8) | class StretchedGrid(AMRGridPatch): method __init__ (line 9) | def __init__(self, id, cell_widths, *, filename=None, index=None): method _check_consistency (line 13) | def _check_consistency(self): method _get_selector_mask (line 19) | def _get_selector_mask(self, selector): method select_fwidth (line 33) | def select_fwidth(self, dobj): method select_fcoords (line 48) | def select_fcoords(self, dobj): FILE: yt/data_objects/index_subobjects/unstructured_mesh.py class UnstructuredMesh (line 10) | class UnstructuredMesh(YTSelectionContainer): method __init__ (line 19) | def __init__( method _check_consistency (line 39) | def _check_consistency(self): method __repr__ (line 50) | def __repr__(self): method get_global_startindex (line 53) | def get_global_startindex(self): method convert (line 61) | def convert(self, datatype): method shape (line 70) | def shape(self): method _generate_container_field (line 73) | def _generate_container_field(self, field): method select_fcoords (line 76) | def select_fcoords(self, dobj=None): method select_fwidth (line 86) | def select_fwidth(self, dobj): method select_icoords (line 89) | def select_icoords(self, dobj): method select_ires (line 92) | def select_ires(self, dobj): method select_tcoords (line 95) | def select_tcoords(self, dobj): method deposit (line 98) | def deposit(self, positions, fields=None, method=None, kernel_name="cu... method select_blocks (line 101) | def select_blocks(self, selector): method select (line 105) | def select(self, selector, source, dest, offset): method count (line 113) | def count(self, selector): method count_particles (line 119) | def count_particles(self, selector, x, y, z): method select_particles (line 124) | def select_particles(self, selector, x, y, z): method _get_selector_mask (line 128) | def _get_selector_mask(self, selector): method select_fcoords_vertex (line 140) | def select_fcoords_vertex(self, dobj=None): class SemiStructuredMesh (line 148) | class SemiStructuredMesh(UnstructuredMesh): method __repr__ (line 153) | def __repr__(self): method _generate_container_field (line 156) | def _generate_container_field(self, field): method select_fwidth (line 166) | def select_fwidth(self, dobj): method select_ires (line 175) | def select_ires(self, dobj): method select_tcoords (line 182) | def select_tcoords(self, dobj): method _get_selector_mask (line 189) | def _get_selector_mask(self, selector): method select (line 201) | def select(self, selector, source, dest, offset): FILE: yt/data_objects/level_sets/clump_handling.py function add_contour_field (line 15) | def add_contour_field(ds, contour_key): class Clump (line 36) | class Clump(TreeContainer): method __init__ (line 37) | def __init__( method leaves (line 88) | def leaves(self): method add_validator (line 98) | def add_validator(self, validator, *args, **kwargs): method add_info_item (line 108) | def add_info_item(self, info_item, *args, **kwargs): method set_default_clump_info (line 117) | def set_default_clump_info(self): method clear_clump_info (line 136) | def clear_clump_info(self): method find_children (line 146) | def find_children(self, min_val, max_val=None): method __iter__ (line 187) | def __iter__(self): method save_as_dataset (line 192) | def save_as_dataset(self, filename=None, fields=None): method pass_down (line 372) | def pass_down(self, operation): method _validate (line 387) | def _validate(self): method __reduce__ (line 402) | def __reduce__(self): method __getitem__ (line 408) | def __getitem__(self, request): function find_clumps (line 412) | def find_clumps(clump, min_val, max_val, d_clump): FILE: yt/data_objects/level_sets/clump_info_items.py function add_clump_info (line 8) | def add_clump_info(name, function): class ClumpInfoCallback (line 12) | class ClumpInfoCallback: method __init__ (line 18) | def __init__(self, name, function, args=None, kwargs=None): method __call__ (line 28) | def __call__(self, clump): function _center_of_mass (line 35) | def _center_of_mass(clump, units="code_length", **kwargs): function _total_cells (line 43) | def _total_cells(clump): function _cell_mass (line 51) | def _cell_mass(clump): function _mass_weighted_jeans_mass (line 59) | def _mass_weighted_jeans_mass(clump): function _volume_weighted_jeans_mass (line 69) | def _volume_weighted_jeans_mass(clump): function _max_grid_level (line 79) | def _max_grid_level(clump): function _min_number_density (line 87) | def _min_number_density(clump): function _max_number_density (line 95) | def _max_number_density(clump): function _distance_to_main_clump (line 103) | def _distance_to_main_clump(clump, units="pc"): FILE: yt/data_objects/level_sets/clump_tools.py function recursive_all_clumps (line 8) | def recursive_all_clumps(clump, list, level, parentnumber): function return_all_clumps (line 24) | def return_all_clumps(clump): function return_bottom_clumps (line 42) | def return_bottom_clumps(clump, dbg=0): function recursive_bottom_clumps (line 55) | def recursive_bottom_clumps(clump, clump_list, dbg=0, level=0): function clump_list_sort (line 69) | def clump_list_sort(clump_list): FILE: yt/data_objects/level_sets/clump_validators.py function add_validator (line 10) | def add_validator(name, function): class ClumpValidator (line 14) | class ClumpValidator: method __init__ (line 20) | def __init__(self, function, args=None, kwargs=None): method __call__ (line 29) | def __call__(self, clump): function _gravitationally_bound (line 33) | def _gravitationally_bound( function _min_cells (line 108) | def _min_cells(clump, n_cells): FILE: yt/data_objects/level_sets/contour_finder.py function identify_contours (line 15) | def identify_contours(data_source, field, min_val, max_val, cached_field... FILE: yt/data_objects/level_sets/tests/test_clump_finding.py function test_clump_finding (line 16) | def test_clump_finding(): function test_clump_tree_save (line 95) | def test_clump_tree_save(): function test_clump_field_parameters (line 159) | def test_clump_field_parameters(): FILE: yt/data_objects/particle_filters.py class DummyFieldInfo (line 12) | class DummyFieldInfo: class ParticleFilter (line 20) | class ParticleFilter: method __init__ (line 21) | def __init__(self, name, function, requires, filtered_type): method apply (line 28) | def apply(self, dobj): method available (line 47) | def available(self, field_list): method missing (line 53) | def missing(self, field_list): method wrap_func (line 60) | def wrap_func(self, field_name, old_fi): function add_particle_filter (line 70) | def add_particle_filter(name, function, requires=None, filtered_type="al... function particle_filter (line 127) | def particle_filter(name=None, requires=None, filtered_type="all"): FILE: yt/data_objects/particle_trajectories.py class ParticleTrajectories (line 13) | class ParticleTrajectories: method __init__ (line 59) | def __init__( method has_key (line 149) | def has_key(self, key): method keys (line 152) | def keys(self): method __getitem__ (line 155) | def __getitem__(self, key): method __setitem__ (line 165) | def __setitem__(self, key, val): method __delitem__ (line 171) | def __delitem__(self, key): method __iter__ (line 177) | def __iter__(self): method __len__ (line 191) | def __len__(self): method add_fields (line 197) | def add_fields(self, fields): method _get_data (line 214) | def _get_data(self, fields): method trajectory_from_index (line 308) | def trajectory_from_index(self, index): method write_out (line 349) | def write_out(self, filename_base): method write_out_h5 (line 384) | def write_out_h5(self, filename): FILE: yt/data_objects/profiles.py function _sanitize_min_max_units (line 27) | def _sanitize_min_max_units(amin, amax, finfo, registry): function preserve_source_parameters (line 44) | def preserve_source_parameters(func): class ProfileFieldAccumulator (line 64) | class ProfileFieldAccumulator: method __init__ (line 65) | def __init__(self, n_fields, size): class ProfileND (line 74) | class ProfileND(ParallelAnalysisInterface): method __init__ (line 77) | def __init__(self, data_source, weight_field=None): method add_fields (line 92) | def add_fields(self, fields): method set_field_unit (line 110) | def set_field_unit(self, field, new_unit): method _finalize_storage (line 130) | def _finalize_storage(self, fields, temp_storage): method _bin_chunk (line 215) | def _bin_chunk(self, chunk, fields, storage): method _filter (line 218) | def _filter(self, bin_fields): method _get_data (line 227) | def _get_data(self, chunk, fields): method __getitem__ (line 268) | def __getitem__(self, field): method items (line 291) | def items(self): method keys (line 294) | def keys(self): method __iter__ (line 297) | def __iter__(self): method _get_bins (line 300) | def _get_bins(self, mi, ma, n, take_log): method save_as_dataset (line 312) | def save_as_dataset(self, filename=None): class ProfileNDFromDataset (line 414) | class ProfileNDFromDataset(ProfileND): method __init__ (line 419) | def __init__(self, ds): class Profile1D (line 451) | class Profile1D(ProfileND): method __init__ (line 479) | def __init__( method _bin_chunk (line 508) | def _bin_chunk(self, chunk, fields, storage): method set_x_unit (line 528) | def set_x_unit(self, new_unit): method bounds (line 540) | def bounds(self): method plot (line 543) | def plot(self): method _export_prep (line 552) | def _export_prep(self, fields, only_used): method to_dataframe (line 567) | def to_dataframe(self, fields=None, only_used=False, include_std=False): method to_astropy_table (line 619) | def to_astropy_table(self, fields=None, only_used=False, include_std=F... class Profile1DFromDataset (line 679) | class Profile1DFromDataset(ProfileNDFromDataset, Profile1D): method __init (line 684) | def __init(self, ds): class Profile2D (line 688) | class Profile2D(ProfileND): method __init__ (line 731) | def __init__( method _bin_chunk (line 781) | def _bin_chunk(self, chunk, fields, storage): method set_x_unit (line 803) | def set_x_unit(self, new_unit): method set_y_unit (line 814) | def set_y_unit(self, new_unit): method bounds (line 826) | def bounds(self): method plot (line 829) | def plot(self): class Profile2DFromDataset (line 839) | class Profile2DFromDataset(ProfileNDFromDataset, Profile2D): method __init (line 844) | def __init(self, ds): class ParticleProfile (line 848) | class ParticleProfile(Profile2D): method __init__ (line 892) | def __init__( method _bin_chunk (line 941) | def _bin_chunk(self, chunk, fields, storage): class Profile3D (line 995) | class Profile3D(ProfileND): method __init__ (line 1053) | def __init__( method _bin_chunk (line 1121) | def _bin_chunk(self, chunk, fields, storage): method bounds (line 1147) | def bounds(self): method set_x_unit (line 1154) | def set_x_unit(self, new_unit): method set_y_unit (line 1165) | def set_y_unit(self, new_unit): method set_z_unit (line 1176) | def set_z_unit(self, new_unit): class Profile3DFromDataset (line 1188) | class Profile3DFromDataset(ProfileNDFromDataset, Profile3D): method __init (line 1193) | def __init(self, ds): function sanitize_field_tuple_keys (line 1197) | def sanitize_field_tuple_keys(input_dict, data_source): function create_profile (line 1207) | def create_profile( FILE: yt/data_objects/region_expression.py class RegionExpression (line 16) | class RegionExpression: method __init__ (line 17) | def __init__(self, ds): method all_data (line 21) | def all_data(self): method __getitem__ (line 24) | def __getitem__(self, item): method _ipython_key_completions_ (line 87) | def _ipython_key_completions_(self): method _spec_to_value (line 90) | def _spec_to_value(self, input): method _create_slice (line 99) | def _create_slice(self, slice_tuple): method _slice_to_edges (line 148) | def _slice_to_edges(self, ax, val): method _create_region (line 161) | def _create_region(self, bounds_tuple): method _create_point (line 178) | def _create_point(self, point_tuple): method _create_ray (line 182) | def _create_ray(self, ray_slice): method _create_ortho_ray (line 190) | def _create_ortho_ray(self, ray_tuple): FILE: yt/data_objects/selection_objects/boolean_operations.py class YTBooleanContainer (line 13) | class YTBooleanContainer(YTSelectionContainer3D): method __init__ (line 47) | def __init__( method _get_bbox (line 58) | def _get_bbox(self): class YTIntersectionContainer3D (line 67) | class YTIntersectionContainer3D(YTSelectionContainer3D): method __init__ (line 96) | def __init__(self, data_objects, ds=None, field_parameters=None, data_... method get_bbox (line 106) | def get_bbox(self): class YTDataObjectUnion (line 118) | class YTDataObjectUnion(YTSelectionContainer3D): method __init__ (line 147) | def __init__(self, data_objects, ds=None, field_parameters=None, data_... FILE: yt/data_objects/selection_objects/cut_region.py class YTCutRegion (line 18) | class YTCutRegion(YTSelectionContainer3D): method __init__ (line 46) | def __init__( method _check_filter_fields (line 87) | def _check_filter_fields(self): method chunks (line 108) | def chunks(self, fields, chunking_style, **kwargs): method get_data (line 117) | def get_data(self, fields=None): method blocks (line 130) | def blocks(self): method _cond_ind (line 147) | def _cond_ind(self): method _part_ind_KDTree (line 170) | def _part_ind_KDTree(self, ptype): method _part_ind_brute_force (line 234) | def _part_ind_brute_force(self, ptype): method _part_ind (line 251) | def _part_ind(self, ptype): method icoords (line 262) | def icoords(self): method fcoords (line 266) | def fcoords(self): method ires (line 270) | def ires(self): method fwidth (line 274) | def fwidth(self): method _get_bbox (line 277) | def _get_bbox(self): FILE: yt/data_objects/selection_objects/data_selection_objects.py class YTSelectionContainer (line 44) | class YTSelectionContainer(YTDataContainer, ParallelAnalysisInterface, a... method __init__ (line 54) | def __init__(self, ds, field_parameters, data_source=None): method selector (line 76) | def selector(self): method chunks (line 92) | def chunks(self, fields, chunking_style, **kwargs): method _identify_dependencies (line 111) | def _identify_dependencies(self, fields_to_get, spatial=False): method get_data (line 137) | def get_data(self, fields=None): method _get_bbox (line 225) | def _get_bbox(self): method get_bbox (line 232) | def get_bbox(self) -> tuple[unyt_array, unyt_array]: method _generate_fields (line 258) | def _generate_fields(self, fields_to_generate): method __or__ (line 339) | def __or__(self, other): method __invert__ (line 351) | def __invert__(self): method __xor__ (line 360) | def __xor__(self, other): method __and__ (line 371) | def __and__(self, other): method __add__ (line 382) | def __add__(self, other): method __sub__ (line 385) | def __sub__(self, other): method _field_lock (line 397) | def _field_lock(self): method _ds_hold (line 403) | def _ds_hold(self, new_ds): method _chunked_read (line 430) | def _chunked_read(self, chunk): method _activate_cache (line 450) | def _activate_cache(self): method _initialize_cache (line 463) | def _initialize_cache(self, cache): method icoords (line 469) | def icoords(self): method fcoords (line 475) | def fcoords(self): method ires (line 481) | def ires(self): method fwidth (line 487) | def fwidth(self): method fcoords_vertex (line 493) | def fcoords_vertex(self): method max_level (line 499) | def max_level(self): method max_level (line 508) | def max_level(self, value): method min_level (line 519) | def min_level(self): method min_level (line 528) | def min_level(self, value): class YTSelectionContainer0D (line 539) | class YTSelectionContainer0D(YTSelectionContainer): method __init__ (line 543) | def __init__(self, ds, field_parameters=None, data_source=None): class YTSelectionContainer1D (line 547) | class YTSelectionContainer1D(YTSelectionContainer): method __init__ (line 551) | def __init__(self, ds, field_parameters=None, data_source=None): class YTSelectionContainer2D (line 558) | class YTSelectionContainer2D(YTSelectionContainer): method __init__ (line 567) | def __init__(self, axis, ds, field_parameters=None, data_source=None): method _convert_field_name (line 573) | def _convert_field_name(self, field): method _get_pw (line 576) | def _get_pw(self, fields, center, width, origin, plot_type): method to_frb (line 603) | def to_frb(self, width, resolution, center=None, height=None, periodic... class YTSelectionContainer3D (line 699) | class YTSelectionContainer3D(YTSelectionContainer): method __init__ (line 711) | def __init__(self, center, ds, field_parameters=None, data_source=None): method cut_region (line 717) | def cut_region(self, field_cuts, field_parameters=None, locals=None): method _build_operator_cut (line 755) | def _build_operator_cut(self, operation, field, value, units=None): method _build_function_cut (line 777) | def _build_function_cut(self, function, field, units=None, **kwargs): method exclude_above (line 797) | def exclude_above(self, field, value, units=None): method include_above (line 831) | def include_above(self, field, value, units=None): method exclude_equal (line 865) | def exclude_equal(self, field, value, units=None): method include_equal (line 895) | def include_equal(self, field, value, units=None): method exclude_inside (line 925) | def exclude_inside(self, field, min_value, max_value, units=None): method include_inside (line 968) | def include_inside(self, field, min_value, max_value, units=None): method exclude_outside (line 1012) | def exclude_outside(self, field, min_value, max_value, units=None): method include_outside (line 1045) | def include_outside(self, field, min_value, max_value, units=None): method exclude_below (line 1078) | def exclude_below(self, field, value, units=None): method exclude_nan (line 1108) | def exclude_nan(self, field, units=None): method include_below (line 1135) | def include_below(self, field, value, units=None): method extract_isocontours (line 1166) | def extract_isocontours( method _extract_isocontours_from_grid (line 1261) | def _extract_isocontours_from_grid( method calculate_isocontour_flux (line 1279) | def calculate_isocontour_flux( method _calculate_flux_in_grid (line 1355) | def _calculate_flux_in_grid( method extract_connected_sets (line 1381) | def extract_connected_sets( method volume (line 1425) | def volume(self): FILE: yt/data_objects/selection_objects/disk.py class YTDisk (line 18) | class YTDisk(YTSelectionContainer3D): method __init__ (line 59) | def __init__( method _get_bbox (line 86) | def _get_bbox(self): FILE: yt/data_objects/selection_objects/object_collection.py class YTDataCollection (line 11) | class YTDataCollection(YTSelectionContainer3D): method __init__ (line 20) | def __init__( FILE: yt/data_objects/selection_objects/point.py class YTPoint (line 10) | class YTPoint(YTSelectionContainer0D): method __init__ (line 42) | def __init__(self, p, ds=None, field_parameters=None, data_source=None): FILE: yt/data_objects/selection_objects/ray.py class YTOrthoRay (line 23) | class YTOrthoRay(YTSelectionContainer1D): method __init__ (line 75) | def __init__(self, axis, coords, ds=None, field_parameters=None, data_... method coords (line 104) | def coords(self): class YTRay (line 108) | class YTRay(YTSelectionContainer1D): method __init__ (line 159) | def __init__( method _generate_container_field (line 188) | def _generate_container_field(self, field): method _generate_container_field_grid (line 195) | def _generate_container_field_grid(self, field): method _generate_container_field_sph (line 205) | def _generate_container_field_sph(self, field): FILE: yt/data_objects/selection_objects/region.py class YTRegion (line 15) | class YTRegion(YTSelectionContainer3D): method __init__ (line 37) | def __init__( method _get_bbox (line 67) | def _get_bbox(self): FILE: yt/data_objects/selection_objects/slices.py class YTSlice (line 24) | class YTSlice(YTSelectionContainer2D): method __init__ (line 69) | def __init__( method _generate_container_field (line 84) | def _generate_container_field(self, field): method _mrep (line 105) | def _mrep(self): method to_pw (line 108) | def to_pw(self, fields=None, center="center", width=None, origin="cent... method plot (line 119) | def plot(self, fields=None): class YTCuttingPlane (line 143) | class YTCuttingPlane(YTSelectionContainer2D): method __init__ (line 200) | def __init__( method normal (line 234) | def normal(self): method _generate_container_field (line 237) | def _generate_container_field(self, field): method to_pw (line 279) | def to_pw(self, fields=None, center="center", width=None, axes_unit=No... method to_frb (line 316) | def to_frb(self, width, resolution, height=None, periodic=False): FILE: yt/data_objects/selection_objects/spheroids.py class YTSphere (line 23) | class YTSphere(YTSelectionContainer3D): method __init__ (line 49) | def __init__( method _get_bbox (line 64) | def _get_bbox(self): class YTMinimalSphere (line 71) | class YTMinimalSphere(YTSelectionContainer3D): method __init__ (line 93) | def __init__(self, points, ds=None, field_parameters=None, data_source... class YTEllipsoid (line 117) | class YTEllipsoid(YTSelectionContainer3D): method __init__ (line 153) | def __init__( method _get_bbox (line 218) | def _get_bbox(self): FILE: yt/data_objects/static_output.py function _setup_ds_store (line 108) | def _setup_ds_store(ytcfg: YTConfig) -> None: function _unsupported_object (line 116) | def _unsupported_object(ds, obj_name): class MutableAttribute (line 123) | class MutableAttribute: method __init__ (line 126) | def __init__(self, display_array=False): method __get__ (line 133) | def __get__(self, instance, owner): method __set__ (line 136) | def __set__(self, instance, value): function requires_index (line 151) | def requires_index(attr_name): class Dataset (line 166) | class Dataset(abc.ABC): method __new__ (line 207) | def __new__(cls, filename=None, *args, **kwargs): method __init_subclass__ (line 230) | def __init_subclass__(cls, *args, **kwargs): method __init__ (line 242) | def __init__( method filename (line 323) | def filename(self): method parameter_filename (line 330) | def parameter_filename(self): method basename (line 335) | def basename(self): method directory (line 339) | def directory(self): method fullpath (line 343) | def fullpath(self): method backup_filename (line 354) | def backup_filename(self): method unique_identifier (line 359) | def unique_identifier(self) -> str: method periodicity (line 366) | def periodicity(self): method force_periodicity (line 374) | def force_periodicity(self, val=True): method _missing_load_requirements (line 386) | def _missing_load_requirements(cls) -> list[str]: method _is_valid (line 395) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method _parse_parameter_file (line 401) | def _parse_parameter_file(self): method _set_code_unit_attributes (line 408) | def _set_code_unit_attributes(self): method _set_derived_attrs (line 414) | def _set_derived_attrs(self): method __reduce__ (line 432) | def __reduce__(self): method __repr__ (line 436) | def __repr__(self): method __str__ (line 439) | def __str__(self): method _hash (line 442) | def _hash(self): method checksum (line 447) | def checksum(self): method _mrep (line 482) | def _mrep(self): method _skip_cache (line 486) | def _skip_cache(self): method _guess_candidates (line 490) | def _guess_candidates(cls, base, directories, files): method close (line 502) | def close(self): # noqa: B027 method __getitem__ (line 505) | def __getitem__(self, key): method __iter__ (line 509) | def __iter__(self): method get_smallest_appropriate_unit (line 512) | def get_smallest_appropriate_unit( method has_key (line 601) | def has_key(self, key): method index (line 611) | def index(self): method print_key_parameters (line 625) | def print_key_parameters(self): method print_stats (line 659) | def print_stats(self): method field_list (line 663) | def field_list(self): method field_info (line 667) | def field_info(self): method field_info (line 673) | def field_info(self, value): method create_field_info (line 676) | def create_field_info(self): method set_field_label_format (line 725) | def set_field_label_format(self, format_property, value): method setup_deprecated_fields (line 748) | def setup_deprecated_fields(self): method _setup_coordinate_handler (line 761) | def _setup_coordinate_handler(self, axis_order: AxisOrder | None) -> N... method add_particle_union (line 853) | def add_particle_union(self, union): method add_particle_filter (line 891) | def add_particle_filter(self, filter): method _setup_filtered_type (line 923) | def _setup_filtered_type(self, filter): method _setup_particle_types (line 970) | def _setup_particle_types(self, ptypes=None): method _get_field_info (line 978) | def _get_field_info( method _get_field_info_helper (line 1039) | def _get_field_info_helper( method _setup_classes (line 1078) | def _setup_classes(self): method _add_object_class (line 1090) | def _add_object_class(self, name, base): method _find_extremum (line 1102) | def _find_extremum(self, field, ext, source=None, to_array=True): method find_max (line 1156) | def find_max(self, field, source=None, to_array=True): method find_min (line 1165) | def find_min(self, field, source=None, to_array=True): method find_field_values_at_point (line 1174) | def find_field_values_at_point(self, fields, coords): method find_field_values_at_points (line 1187) | def find_field_values_at_points(self, fields, coords): method all_data (line 1215) | def all_data(self, find_max=False, **kwargs): method box (line 1227) | def box(self, left_edge, right_edge, **kwargs): method _setup_particle_type (line 1249) | def _setup_particle_type(self, ptype): method particle_fields_by_type (line 1255) | def particle_fields_by_type(self): method particles_exist (line 1263) | def particles_exist(self): method particle_type_counts (line 1270) | def particle_type_counts(self): method ires_factor (line 1284) | def ires_factor(self): method relative_refinement (line 1292) | def relative_refinement(self, l0, l1): method _assign_unit_system (line 1295) | def _assign_unit_system( method _uses_code_length_unit (line 1365) | def _uses_code_length_unit(self) -> bool: method _uses_code_time_unit (line 1369) | def _uses_code_time_unit(self) -> bool: method _create_unit_registry (line 1372) | def _create_unit_registry(self, unit_system): method set_units (line 1408) | def set_units(self): method setup_cosmology (line 1433) | def setup_cosmology(self): method get_unit_from_registry (line 1467) | def get_unit_from_registry(self, unit_str): method set_code_units (line 1481) | def set_code_units(self): method _validate_units_override_keys (line 1533) | def _validate_units_override_keys(cls, units_override): method _sanitize_units_override (line 1551) | def _sanitize_units_override(cls, units_override): method _override_code_units (line 1628) | def _override_code_units(self): method units (line 1644) | def units(self): method arr (line 1655) | def arr(self): method quan (line 1703) | def quan(self): method add_field (line 1748) | def add_field( method add_mesh_sampling_particle_field (line 1815) | def add_mesh_sampling_particle_field(self, sample_field, ptype="all"): method add_deposited_particle_field (line 1859) | def add_deposited_particle_field( method add_gradient_fields (line 1948) | def add_gradient_fields(self, fields=None): method max_level (line 2017) | def max_level(self): method max_level (line 2023) | def max_level(self, value): method min_level (line 2029) | def min_level(self): method min_level (line 2035) | def min_level(self, value): method define_unit (line 2038) | def define_unit(self, symbol, value, tex_repr=None, offset=None, prefi... method _is_within_domain (line 2072) | def _is_within_domain(self, point) -> bool: function _reconstruct_ds (line 2085) | def _reconstruct_ds(*args, **kwargs): class ParticleFile (line 2092) | class ParticleFile: method __init__ (line 2100) | def __init__(self, ds, io, filename, file_id, range=None): method select (line 2115) | def select(self, selector): # noqa: B027 method count (line 2118) | def count(self, selector): # noqa: B027 method _calculate_offsets (line 2121) | def _calculate_offsets(self, fields, pcounts): # noqa: B027 method __lt__ (line 2124) | def __lt__(self, other): method __eq__ (line 2129) | def __eq__(self, other): method __hash__ (line 2134) | def __hash__(self): class ParticleDataset (line 2138) | class ParticleDataset(Dataset): method __init__ (line 2143) | def __init__( FILE: yt/data_objects/tests/test_add_field.py function test_add_field_lambda (line 15) | def test_add_field_lambda(): function test_add_field_partial (line 28) | def test_add_field_partial(): function test_add_field_arbitrary_callable (line 44) | def test_add_field_arbitrary_callable(): function test_add_field_uncallable (line 57) | def test_add_field_uncallable(): function test_add_field_flipped_signature (line 67) | def test_add_field_flipped_signature(): function test_add_field_signature_v2 (line 78) | def test_add_field_signature_v2(): function test_add_field_keyword_only (line 89) | def test_add_field_keyword_only(): function test_derived_field (line 102) | def test_derived_field(monkeypatch): function test_dimensionless_field (line 134) | def test_dimensionless_field(add_field_kwargs): function test_add_field_quick (line 150) | def test_add_field_quick(): function test_add_field_quick_syntax2 (line 193) | def test_add_field_quick_syntax2(): function capturable_logger (line 254) | def capturable_logger(caplog): function test_add_field_quick_syntax_warnings (line 269) | def test_add_field_quick_syntax_warnings(caplog): FILE: yt/data_objects/tests/test_bbox.py function test_object_bbox (line 9) | def test_object_bbox(): function test_covering_grid_bbox (line 60) | def test_covering_grid_bbox(): function test_intersection_bbox (line 90) | def test_intersection_bbox(): FILE: yt/data_objects/tests/test_boolean_regions.py function test_boolean_spheres_no_overlap (line 11) | def test_boolean_spheres_no_overlap(): function test_boolean_spheres_overlap (line 60) | def test_boolean_spheres_overlap(): function test_boolean_regions_no_overlap (line 103) | def test_boolean_regions_no_overlap(): function test_boolean_regions_overlap (line 154) | def test_boolean_regions_overlap(): function test_boolean_cylinders_no_overlap (line 197) | def test_boolean_cylinders_no_overlap(): function test_boolean_cylinders_overlap (line 248) | def test_boolean_cylinders_overlap(): function test_boolean_ellipsoids_no_overlap (line 292) | def test_boolean_ellipsoids_no_overlap(): function test_boolean_ellipsoids_overlap (line 343) | def test_boolean_ellipsoids_overlap(): function test_boolean_mix_periodicity (line 386) | def test_boolean_mix_periodicity(): function test_boolean_ray_region_no_overlap (line 441) | def test_boolean_ray_region_no_overlap(): function test_boolean_ray_region_overlap (line 492) | def test_boolean_ray_region_overlap(): function test_boolean_rays_no_overlap (line 536) | def test_boolean_rays_no_overlap(): function test_boolean_rays_overlap (line 586) | def test_boolean_rays_overlap(): function test_boolean_slices_no_overlap (line 634) | def test_boolean_slices_no_overlap(): function test_boolean_slices_overlap (line 685) | def test_boolean_slices_overlap(): function test_boolean_ray_slice_no_overlap (line 728) | def test_boolean_ray_slice_no_overlap(): function test_boolean_ray_slice_overlap (line 779) | def test_boolean_ray_slice_overlap(): FILE: yt/data_objects/tests/test_center_squeeze.py function test_center_squeeze (line 6) | def test_center_squeeze(): function check_single_ds (line 15) | def check_single_ds(ds): FILE: yt/data_objects/tests/test_chunking.py function _get_dobjs (line 7) | def _get_dobjs(c): function test_chunking (line 21) | def test_chunking(): function test_ds_hold (line 45) | def test_ds_hold(): FILE: yt/data_objects/tests/test_clone.py function test_clone_sphere (line 6) | def test_clone_sphere(): function test_clone_cut_region (line 27) | def test_clone_cut_region(): FILE: yt/data_objects/tests/test_compose.py function setup_module (line 9) | def setup_module(): function _IDFIELD (line 17) | def _IDFIELD(data): function test_compose_no_overlap (line 31) | def test_compose_no_overlap(): function test_compose_overlap (line 84) | def test_compose_overlap(): function test_compose_max_level_min_level (line 162) | def test_compose_max_level_min_level(): FILE: yt/data_objects/tests/test_connected_sets.py function test_connected_sets (line 5) | def test_connected_sets(): FILE: yt/data_objects/tests/test_covering_grid.py function setup_module (line 19) | def setup_module(): function test_covering_grid (line 28) | def test_covering_grid(): function test_covering_grid_data_source (line 96) | def test_covering_grid_data_source(): function test_xarray_export (line 147) | def test_xarray_export(): function test_smoothed_covering_grid (line 184) | def test_smoothed_covering_grid(): function test_arbitrary_grid (line 210) | def test_arbitrary_grid(): function test_octree_cg (line 258) | def test_octree_cg(): function test_smoothed_covering_grid_2d_dataset (line 267) | def test_smoothed_covering_grid_2d_dataset(): function test_arbitrary_grid_derived_field (line 274) | def test_arbitrary_grid_derived_field(): function test_arbitrary_field_parameters (line 302) | def test_arbitrary_field_parameters(): function test_arbitrary_grid_edge (line 321) | def test_arbitrary_grid_edge(): FILE: yt/data_objects/tests/test_cut_region_chaining.py function test_chained_cut_region_with_locals (line 7) | def test_chained_cut_region_with_locals(): FILE: yt/data_objects/tests/test_cutting_plane.py function setup_module (line 10) | def setup_module(): function teardown_func (line 16) | def teardown_func(fns): function test_cutting_plane (line 24) | def test_cutting_plane(): FILE: yt/data_objects/tests/test_data_collection.py function setup_module (line 7) | def setup_module(): function test_data_collection (line 13) | def test_data_collection(): FILE: yt/data_objects/tests/test_data_containers.py function temp_workdir (line 21) | def temp_workdir(tmp_path): function test_yt_data_container (line 29) | def test_yt_data_container(): function test_write_out (line 60) | def test_write_out(): function test_invalid_write_out (line 81) | def test_invalid_write_out(): function test_to_dataframe (line 92) | def test_to_dataframe(): function test_to_astropy_table (line 103) | def test_to_astropy_table(): function test_std (line 116) | def test_std(): function test_to_frb (line 121) | def test_to_frb(): function test_extract_isocontours (line 141) | def test_extract_isocontours(): function test_derived_field (line 168) | def test_derived_field(): FILE: yt/data_objects/tests/test_dataset_access.py function test_box_creation (line 19) | def test_box_creation(): function test_region_from_d (line 39) | def test_region_from_d(): function test_accessing_all_data (line 81) | def test_accessing_all_data(): function test_slice_from_r (line 94) | def test_slice_from_r(): function test_point_from_r (line 129) | def test_point_from_r(): function test_ray_from_r (line 141) | def test_ray_from_r(): function test_ortho_ray_from_r (line 164) | def test_ortho_ray_from_r(): function test_particle_counts (line 187) | def test_particle_counts(): function test_checksum (line 200) | def test_checksum(): FILE: yt/data_objects/tests/test_derived_quantities.py function setup_module (line 15) | def setup_module(): function test_extrema (line 21) | def test_extrema(): function test_extrema_with_nan (line 44) | def test_extrema_with_nan(): function test_average (line 58) | def test_average(): function test_standard_deviation (line 76) | def test_standard_deviation(): function test_max_location (line 100) | def test_max_location(): function test_min_location (line 115) | def test_min_location(): function test_sample_at_min_field_values (line 130) | def test_sample_at_min_field_values(): function test_sample_at_max_field_values (line 151) | def test_sample_at_max_field_values(): function test_in_memory_sph_derived_quantities (line 172) | def test_in_memory_sph_derived_quantities(): function test_sph_datasets_derived_quantities (line 216) | def test_sph_datasets_derived_quantities(): function test_derived_quantities_with_particle_types (line 231) | def test_derived_quantities_with_particle_types(): FILE: yt/data_objects/tests/test_disks.py function test_bad_disk_input (line 7) | def test_bad_disk_input(): FILE: yt/data_objects/tests/test_ellipsoid.py function setup_module (line 7) | def setup_module(): function _difference (line 14) | def _difference(x1, x2, dw): function test_ellipsoid (line 21) | def test_ellipsoid(): FILE: yt/data_objects/tests/test_exclude_functions.py function test_exclude_above (line 8) | def test_exclude_above(): function test_exclude_below (line 19) | def test_exclude_below(): function test_exclude_nan (line 30) | def test_exclude_nan(): function test_equal (line 40) | def test_equal(): function test_inside_outside (line 53) | def test_inside_outside(): FILE: yt/data_objects/tests/test_extract_regions.py function setup_module (line 13) | def setup_module(): function test_cut_region (line 19) | def test_cut_region(): function test_cut_region_simple_syntax (line 71) | def test_cut_region_simple_syntax(): function test_region_and_particles (line 102) | def test_region_and_particles(): function test_region_chunked_read (line 121) | def test_region_chunked_read(): function test_chained_cut_region (line 132) | def test_chained_cut_region(): FILE: yt/data_objects/tests/test_firefly.py function test_firefly_JSON_string (line 10) | def test_firefly_JSON_string(): function test_firefly_write_to_disk (line 29) | def test_firefly_write_to_disk(tmp_path): function firefly_test_dataset (line 45) | def firefly_test_dataset(): function test_field_empty_specification (line 78) | def test_field_empty_specification( function test_field_unique_string_specification (line 98) | def test_field_unique_string_specification(firefly_test_dataset): function test_field_common_string_specification (line 128) | def test_field_common_string_specification(firefly_test_dataset): function test_field_tuple_specification (line 176) | def test_field_tuple_specification( function test_field_invalid_specification (line 235) | def test_field_invalid_specification( function test_field_mixed_specification (line 251) | def test_field_mixed_specification(firefly_test_dataset): FILE: yt/data_objects/tests/test_fluxes.py function setup_module (line 12) | def setup_module(): function test_flux_calculation (line 18) | def test_flux_calculation(): function test_sampling (line 35) | def test_sampling(): class ExporterTests (line 49) | class ExporterTests(TestCase): method setUp (line 50) | def setUp(self): method tearDown (line 55) | def tearDown(self): method test_export_ply (line 59) | def test_export_ply(self): method test_export_obj (line 73) | def test_export_obj(self): function test_correct_output_unit_fake_ds (line 136) | def test_correct_output_unit_fake_ds(): function test_radius_surface (line 146) | def test_radius_surface(): FILE: yt/data_objects/tests/test_image_array.py function setup_module (line 15) | def setup_module(): function teardown_module (line 24) | def teardown_module(): function dummy_image (line 28) | def dummy_image(kstep, nlayers): function test_rgba_rescale (line 36) | def test_rgba_rescale(): class TestImageArray (line 54) | class TestImageArray(unittest.TestCase): method setUp (line 58) | def setUp(self): method test_image_arry_units (line 63) | def test_image_arry_units(self): method test_image_array_hdf5 (line 73) | def test_image_array_hdf5(self): method test_image_array_rgb_png (line 104) | def test_image_array_rgb_png(self): method test_image_array_rgba_png (line 114) | def test_image_array_rgba_png(self): method test_image_array_background (line 123) | def test_image_array_background(self): method test_write_image (line 131) | def test_write_image(self): method test_clipping_value (line 136) | def test_clipping_value(self): method tearDown (line 148) | def tearDown(self): FILE: yt/data_objects/tests/test_io_geometry.py function test_preserve_geometric_properties (line 14) | def test_preserve_geometric_properties(): function test_default_to_cartesian (line 32) | def test_default_to_cartesian(): FILE: yt/data_objects/tests/test_numpy_ops.py function setup_module (line 7) | def setup_module(): function test_mean_sum_integrate (line 13) | def test_mean_sum_integrate(): function test_min_max (line 93) | def test_min_max(): function test_argmin (line 153) | def test_argmin(): function test_argmax (line 186) | def test_argmax(): FILE: yt/data_objects/tests/test_octree.py function test_building_tree (line 9) | def test_building_tree(): function test_sph_interpolation_scatter (line 18) | def test_sph_interpolation_scatter(): function test_sph_interpolation_gather (line 55) | def test_sph_interpolation_gather(): function test_octree_properties (line 94) | def test_octree_properties(): FILE: yt/data_objects/tests/test_ortho_rays.py function test_ortho_ray (line 7) | def test_ortho_ray(): FILE: yt/data_objects/tests/test_particle_filter.py function test_add_particle_filter (line 15) | def test_add_particle_filter(): function test_add_particle_filter_overriding (line 55) | def test_add_particle_filter_overriding(): function test_particle_filter_decorator (line 100) | def test_particle_filter_decorator(): function test_particle_filter_exceptions (line 125) | def test_particle_filter_exceptions(): function test_particle_filter_dependency (line 147) | def test_particle_filter_dependency(): function test_covering_grid_particle_filter (line 171) | def test_covering_grid_particle_filter(): function test_sph_particle_filter_plotting (line 193) | def test_sph_particle_filter_plotting(): FILE: yt/data_objects/tests/test_particle_trajectories.py function setup_module (line 9) | def setup_module(): function test_orbit_traj (line 28) | def test_orbit_traj(): function test_etc_traj (line 44) | def test_etc_traj(): FILE: yt/data_objects/tests/test_particle_trajectories_pytest.py function particle_trajectories_test_dataset (line 23) | def particle_trajectories_test_dataset(): function test_uniqueness (line 53) | def test_uniqueness(): function test_ptype (line 83) | def test_ptype(): function test_default_field_tuple (line 123) | def test_default_field_tuple(particle_trajectories_test_dataset, ptype): function test_time_and_index (line 139) | def test_time_and_index(particle_trajectories_test_dataset, ptype): FILE: yt/data_objects/tests/test_pickling.py function test_grid_pickles (line 14) | def test_grid_pickles(): function test_particle_pickles (line 23) | def test_particle_pickles(): FILE: yt/data_objects/tests/test_points.py function setup_module (line 8) | def setup_module(): function test_point_creation (line 14) | def test_point_creation(): function test_domain_point (line 26) | def test_domain_point(): function test_fast_find_field_values_at_points (line 61) | def test_fast_find_field_values_at_points(): FILE: yt/data_objects/tests/test_print_stats.py function test_no_print_stats (line 9) | def test_no_print_stats(): function test_print_stats (line 15) | def test_print_stats(): FILE: yt/data_objects/tests/test_profiles.py function test_profiles (line 25) | def test_profiles(): function test_particle_profiles (line 253) | def test_particle_profiles(): function test_mixed_particle_mesh_profiles (line 326) | def test_mixed_particle_mesh_profiles(): function test_particle_profile_negative_field (line 401) | def test_particle_profile_negative_field(): function test_profile_zero_weight (line 481) | def test_profile_zero_weight(): function test_profile_sph_data (line 528) | def test_profile_sph_data(): function test_profile_override_limits (line 545) | def test_profile_override_limits(): class TestBadProfiles (line 585) | class TestBadProfiles(unittest.TestCase): method setUp (line 589) | def setUp(self): method tearDown (line 594) | def tearDown(self): method test_unequal_data_shape_profile (line 600) | def test_unequal_data_shape_profile(self): method test_unequal_bin_field_profile (line 625) | def test_unequal_bin_field_profile(self): method test_set_linear_scaling_for_none_extrema (line 649) | def test_set_linear_scaling_for_none_extrema(self): function test_index_field_units (line 665) | def test_index_field_units(): function test_export_astropy (line 683) | def test_export_astropy(): function test_export_pandas (line 725) | def test_export_pandas(): function test_preserve_source_parameters_restores_field_parameters_on_exception (line 754) | def test_preserve_source_parameters_restores_field_parameters_on_excepti... FILE: yt/data_objects/tests/test_projection.py function setup_module (line 14) | def setup_module(): function teardown_func (line 20) | def teardown_func(fns): function test_projection (line 29) | def test_projection(pf): function test_max_level (line 164) | def test_max_level(): function test_min_level (line 173) | def test_min_level(): FILE: yt/data_objects/tests/test_rays.py function test_ray (line 17) | def test_ray(): function test_ray_particle (line 72) | def test_ray_particle(): function test_ray_particle2 (line 90) | def test_ray_particle2(): FILE: yt/data_objects/tests/test_refinement.py function setup_fake_refby (line 7) | def setup_fake_refby(): function test_refine_by (line 44) | def test_refine_by(): FILE: yt/data_objects/tests/test_regions.py function test_box_creation (line 7) | def test_box_creation(): function test_max_level_min_level_semantics (line 20) | def test_max_level_min_level_semantics(): function test_ellipsis_selection (line 34) | def test_ellipsis_selection(): FILE: yt/data_objects/tests/test_registration.py function test_reregistration_warning (line 7) | def test_reregistration_warning(): FILE: yt/data_objects/tests/test_slice.py function setup_module (line 12) | def setup_module(): function teardown_func (line 18) | def teardown_func(fns): function test_slice (line 27) | def test_slice(pf): function test_slice_over_edges (line 78) | def test_slice_over_edges(): function test_slice_over_outer_boundary (line 88) | def test_slice_over_outer_boundary(): FILE: yt/data_objects/tests/test_sph_data_objects.py function test_point (line 9) | def test_point(): function test_slice (line 44) | def test_slice(): function test_slice_to_frb (line 67) | def test_slice_to_frb(): function test_region (line 77) | def test_region(): function test_periodic_region (line 97) | def test_periodic_region(): function test_sphere (line 125) | def test_sphere(): function test_disk (line 156) | def test_disk(): function test_ray (line 177) | def test_ray(): function test_cutting (line 197) | def test_cutting(): function test_chained_selection (line 206) | def test_chained_selection(): function test_boolean_selection (line 215) | def test_boolean_selection(): function test_arbitrary_grid (line 265) | def test_arbitrary_grid(): function test_compare_arbitrary_grid_slice (line 279) | def test_compare_arbitrary_grid_slice(): function test_gather_slice (line 298) | def test_gather_slice(): function test_gather_grid (line 319) | def test_gather_grid(): function test_covering_grid_scatter (line 334) | def test_covering_grid_scatter(): function test_covering_grid_gather (line 348) | def test_covering_grid_gather(): function test_covering_grid_derived_fields (line 365) | def test_covering_grid_derived_fields(): FILE: yt/data_objects/tests/test_spheres.py function setup_module (line 9) | def setup_module(): function test_domain_sphere (line 25) | def test_domain_sphere(): function test_sphere_center (line 92) | def test_sphere_center(): function test_center_error (line 110) | def test_center_error(): function test_minimal_sphere (line 121) | def test_minimal_sphere(): function test_minimal_sphere_bad_inputs (line 140) | def test_minimal_sphere_bad_inputs(): FILE: yt/data_objects/tests/test_time_series.py function test_pattern_expansion (line 12) | def test_pattern_expansion(): function test_no_match_pattern (line 29) | def test_no_match_pattern(): function FakeDataset (line 37) | def FakeDataset(): function fake_datasets (line 73) | def fake_datasets(): function test_init_fake_dataseries (line 85) | def test_init_fake_dataseries(fake_datasets): function test_init_fake_dataseries2 (line 114) | def test_init_fake_dataseries2(FakeDataset, fake_datasets): function test_get_by_key (line 125) | def test_get_by_key(FakeDataset, fake_datasets): FILE: yt/data_objects/tests/test_units_override.py function test_schema_validation (line 12) | def test_schema_validation(): function test_invalid_schema_detection (line 30) | def test_invalid_schema_detection(): function test_typing_error_detection (line 57) | def test_typing_error_detection(): function test_dimensionality_error_detection (line 68) | def test_dimensionality_error_detection(): FILE: yt/data_objects/time_series.py class AnalysisTaskProxy (line 36) | class AnalysisTaskProxy: method __init__ (line 37) | def __init__(self, time_series): method __getitem__ (line 40) | def __getitem__(self, key): method keys (line 50) | def keys(self): method __contains__ (line 53) | def __contains__(self, key): function get_ds_prop (line 57) | def get_ds_prop(propname): class TimeSeriesParametersContainer (line 82) | class TimeSeriesParametersContainer: method __init__ (line 83) | def __init__(self, data_object): method __getattr__ (line 86) | def __getattr__(self, attr): class DatasetSeries (line 92) | class DatasetSeries: method __init_subclass__ (line 153) | def __init_subclass__(cls, *args, **kwargs): method __new__ (line 160) | def __new__(cls, outputs, *args, **kwargs): method __init__ (line 170) | def __init__( method _get_filenames_from_glob_pattern (line 199) | def _get_filenames_from_glob_pattern(outputs): method __getitem__ (line 214) | def __getitem__(self, key): method __len__ (line 228) | def __len__(self): method outputs (line 232) | def outputs(self): method piter (line 235) | def piter(self, storage=None, dynamic=False): method eval (line 341) | def eval(self, tasks, obj=None): method from_output_log (line 364) | def from_output_log(cls, output_log, line_prefix="DATASET WRITTEN", pa... method _load (line 375) | def _load(self, output_fn, *, hint: str | None = None, **kwargs): method particle_trajectories (line 386) | def particle_trajectories( method _get_by_attribute (line 440) | def _get_by_attribute( method get_by_time (line 545) | def get_by_time( method get_by_redshift (line 577) | def get_by_redshift( class TimeSeriesQuantitiesContainer (line 608) | class TimeSeriesQuantitiesContainer: method __init__ (line 609) | def __init__(self, data_object, quantities): method __getitem__ (line 613) | def __getitem__(self, key): class DatasetSeriesObject (line 629) | class DatasetSeriesObject: method __init__ (line 630) | def __init__(self, time_series, data_object_name, *args, **kwargs): method eval (line 641) | def eval(self, tasks): method get (line 644) | def get(self, ds): class SimulationTimeSeries (line 651) | class SimulationTimeSeries(DatasetSeries, ABC): method __init__ (line 652) | def __init__(self, parameter_filename, find_outputs=False): method _set_parameter_defaults (line 679) | def _set_parameter_defaults(self): # noqa: B027 method _parse_parameter_file (line 683) | def _parse_parameter_file(self): method _set_units (line 687) | def _set_units(self): method _calculate_simulation_bounds (line 691) | def _calculate_simulation_bounds(self): method _get_all_outputs (line 695) | def _get_all_outputs(self, *, find_outputs=False): method __repr__ (line 698) | def __repr__(self): method arr (line 704) | def arr(self): method quan (line 713) | def quan(self): method print_key_parameters (line 720) | def print_key_parameters(self): method _print_attr (line 744) | def _print_attr(self, a): method _get_outputs_by_key (line 754) | def _get_outputs_by_key(self, key, values, tolerance=None, outputs=None): FILE: yt/data_objects/unions.py class Union (line 6) | class Union(ABC): method _union_type (line 9) | def _union_type(self) -> str: ... method __init__ (line 11) | def __init__(self, name, sub_types): method __iter__ (line 15) | def __iter__(self): method __repr__ (line 18) | def __repr__(self): class MeshUnion (line 22) | class MeshUnion(Union): class ParticleUnion (line 26) | class ParticleUnion(Union): FILE: yt/extensions/__init__.py function setup (line 23) | def setup(): FILE: yt/exthook.py class ExtensionImporter (line 27) | class ExtensionImporter: method __init__ (line 33) | def __init__(self, module_choices, wrapper_module): method __eq__ (line 39) | def __eq__(self, other): method __ne__ (line 47) | def __ne__(self, other): method install (line 50) | def install(self): method find_module (line 53) | def find_module(self, fullname, path=None): method load_module (line 57) | def load_module(self, fullname): method is_important_traceback (line 91) | def is_important_traceback(self, important_module, tb): method is_important_frame (line 103) | def is_important_frame(self, important_module, tb): FILE: yt/fields/angular_momentum.py function setup_angular_momentum (line 14) | def setup_angular_momentum(registry, ftype="gas", slice_info=None): FILE: yt/fields/astro_fields.py function setup_astro_fields (line 9) | def setup_astro_fields(registry, ftype="gas", slice_info=None): FILE: yt/fields/astro_simulations.py class AstroSimulation (line 13) | class AstroSimulation(DomainContext): FILE: yt/fields/cosmology_fields.py function setup_cosmology_fields (line 7) | def setup_cosmology_fields(registry, ftype="gas", slice_info=None): FILE: yt/fields/derived_field.py class _FieldFuncSignature (line 39) | class _FieldFuncSignature(enum.Enum): function TranslationFunc (line 44) | def TranslationFunc(field_name): function NullFunc (line 53) | def NullFunc(field, data): function DeprecatedFieldFunc (line 57) | def DeprecatedFieldFunc(ret_field, func, since, removal): class DerivedFieldBase (line 76) | class DerivedFieldBase(abc.ABC): method __call__ (line 78) | def __call__(self, field, data): method __repr__ (line 82) | def __repr__(self) -> str: method __mul__ (line 86) | def __mul__(self, other) -> "DerivedFieldCombination": method __rmul__ (line 89) | def __rmul__(self, other) -> "DerivedFieldCombination": method __truediv__ (line 93) | def __truediv__(self, other) -> "DerivedFieldCombination": method __rtruediv__ (line 96) | def __rtruediv__(self, other) -> "DerivedFieldCombination": method __add__ (line 100) | def __add__(self, other) -> "DerivedFieldCombination": method __radd__ (line 103) | def __radd__(self, other) -> "DerivedFieldCombination": method __sub__ (line 107) | def __sub__(self, other) -> "DerivedFieldCombination": method __rsub__ (line 110) | def __rsub__(self, other) -> "DerivedFieldCombination": method __neg__ (line 114) | def __neg__(self) -> "DerivedFieldCombination": method __leq__ (line 118) | def __leq__(self, other) -> "DerivedFieldCombination": method __lt__ (line 121) | def __lt__(self, other) -> "DerivedFieldCombination": method __geq__ (line 124) | def __geq__(self, other) -> "DerivedFieldCombination": method __gt__ (line 127) | def __gt__(self, other) -> "DerivedFieldCombination": method __eq__ (line 132) | def __eq__(self, other) -> "DerivedFieldCombination": # type: ignore[... method __ne__ (line 135) | def __ne__(self, other) -> "DerivedFieldCombination": # type: ignore[... method __hash__ (line 139) | def __hash__(self) -> int: class DerivedFieldCombination (line 143) | class DerivedFieldCombination(DerivedFieldBase): method __init__ (line 148) | def __init__(self, terms: list, op: Callable): method __hash__ (line 167) | def __hash__(self) -> int: method __call__ (line 170) | def __call__(self, field, data): method __repr__ (line 188) | def __repr__(self): method getDependentFields (line 191) | def getDependentFields(self): method name (line 203) | def name(self): method __bool__ (line 206) | def __bool__(self): class DerivedField (line 220) | class DerivedField(DerivedFieldBase): method __init__ (line 272) | def __init__( method __hash__ (line 344) | def __hash__(self) -> int: method _copy_def (line 364) | def _copy_def(self): method is_sph_field (line 378) | def is_sph_field(self): method local_sampling (line 391) | def local_sampling(self): method get_units (line 394) | def get_units(self): method get_projected_units (line 401) | def get_projected_units(self): method check_available (line 408) | def check_available(self, data): method get_dependencies (line 418) | def get_dependencies(self, *args, **kwargs): method _get_needed_parameters (line 426) | def _get_needed_parameters(self, fd): method unit_registry (line 442) | def unit_registry(self, data): method __call__ (line 454) | def __call__(self, data): method _func_signature_type (line 471) | def _func_signature_type(self) -> _FieldFuncSignature: method _eval (line 478) | def _eval(self, data): method get_source (line 487) | def get_source(self): method get_label (line 493) | def get_label(self, projected=False): method alias_field (line 520) | def alias_field(self) -> bool: method is_alias (line 529) | def is_alias(self) -> bool: method is_alias_to (line 532) | def is_alias_to(self, other: "DerivedField") -> bool: method alias_name (line 536) | def alias_name(self) -> FieldKey | None: method __repr__ (line 541) | def __repr__(self): method _is_ion (line 556) | def _is_ion(self): method _ion_to_label (line 563) | def _ion_to_label(self): method get_latex_display_name (line 663) | def get_latex_display_name(self): method __copy__ (line 677) | def __copy__(self): class FieldValidator (line 698) | class FieldValidator: method __init_subclass__ (line 703) | def __init_subclass__(cls, **kwargs): class ValidateParameter (line 711) | class ValidateParameter(FieldValidator): method __init__ (line 725) | def __init__( method __call__ (line 734) | def __call__(self, data): class ValidateDataField (line 744) | class ValidateDataField(FieldValidator): method __init__ (line 755) | def __init__(self, field): method __call__ (line 759) | def __call__(self, data): class ValidateProperty (line 771) | class ValidateProperty(FieldValidator): method __init__ (line 781) | def __init__(self, prop: str | Iterable[str]): method __call__ (line 785) | def __call__(self, data): class ValidateSpatial (line 792) | class ValidateSpatial(FieldValidator): method __init__ (line 807) | def __init__(self, ghost_zones: int | None = 0, fields=None): method __call__ (line 812) | def __call__(self, data): class ValidateGridType (line 822) | class ValidateGridType(FieldValidator): method __init__ (line 828) | def __init__(self): method __call__ (line 831) | def __call__(self, data): FILE: yt/fields/domain_context.py class DomainContext (line 8) | class DomainContext(abc.ABC): class __metaclass__ (line 9) | class __metaclass__(type): method __init__ (line 10) | def __init__(cls, name, b, d): method __init__ (line 17) | def __init__(self, ds): FILE: yt/fields/field_detector.py class FieldDetector (line 27) | class FieldDetector(defaultdict): method __init__ (line 34) | def __init__(self, nd=16, ds=None, flat=False, field_parameters=None): method _reshape_vals (line 101) | def _reshape_vals(self, arr): method __missing__ (line 108) | def __missing__(self, item: tuple[str, str] | str): method _debug (line 190) | def _debug(self): method deposit (line 194) | def deposit(self, *args, **kwargs): method mesh_sampling_particle_field (line 204) | def mesh_sampling_particle_field(self, *args, **kwargs): method smooth (line 210) | def smooth(self, *args, **kwargs): method particle_operation (line 218) | def particle_operation(self, *args, **kwargs): method _read_data (line 221) | def _read_data(self, field_name): method get_field_parameter (line 233) | def get_field_parameter(self, param, default=0.0): method apply_units (line 271) | def apply_units(self, arr, units): method has_field_parameter (line 274) | def has_field_parameter(self, param): method fcoords (line 278) | def fcoords(self): method fcoords_vertex (line 289) | def fcoords_vertex(self): method icoords (line 298) | def icoords(self): method ires (line 310) | def ires(self): method fwidth (line 318) | def fwidth(self): FILE: yt/fields/field_exceptions.py class ValidationException (line 1) | class ValidationException(Exception): class NeedsGridType (line 5) | class NeedsGridType(ValidationException): method __init__ (line 6) | def __init__(self, ghost_zones=0, fields=None): method __str__ (line 10) | def __str__(self): class NeedsOriginalGrid (line 15) | class NeedsOriginalGrid(NeedsGridType): method __init__ (line 16) | def __init__(self): class NeedsDataField (line 20) | class NeedsDataField(ValidationException): method __init__ (line 21) | def __init__(self, missing_fields): method __str__ (line 24) | def __str__(self): class NeedsProperty (line 28) | class NeedsProperty(ValidationException): method __init__ (line 29) | def __init__(self, missing_properties): method __str__ (line 32) | def __str__(self): class NeedsParameter (line 36) | class NeedsParameter(ValidationException): method __init__ (line 37) | def __init__(self, missing_parameters): method __str__ (line 40) | def __str__(self): class NeedsConfiguration (line 44) | class NeedsConfiguration(ValidationException): method __init__ (line 45) | def __init__(self, parameter, value): method __str__ (line 49) | def __str__(self): class FieldUnitsError (line 53) | class FieldUnitsError(Exception): FILE: yt/fields/field_functions.py function get_radius (line 10) | def get_radius(data, field_prefix, ftype): function get_periodic_rvec (line 47) | def get_periodic_rvec(data): function validate_field_function (line 79) | def validate_field_function(function: Callable) -> None: FILE: yt/fields/field_info_container.py class FieldInfoContainer (line 38) | class FieldInfoContainer(UserDict): method __init__ (line 52) | def __init__(self, ds, field_list: list[FieldKey], slice_info=None): method curvilinear (line 64) | def curvilinear(self) -> bool: method setup_fluid_fields (line 78) | def setup_fluid_fields(self): method setup_fluid_index_fields (line 81) | def setup_fluid_index_fields(self): method setup_particle_fields (line 94) | def setup_particle_fields(self, ptype, ftype="gas", num_neighbors=64): method setup_extra_union_fields (line 166) | def setup_extra_union_fields(self, ptype="all"): method setup_smoothed_fields (line 175) | def setup_smoothed_fields(self, ptype, num_neighbors=64, ftype="gas"): method get_aliases_gallery (line 218) | def get_aliases_gallery(self) -> list[FieldName]: method setup_fluid_aliases (line 247) | def setup_fluid_aliases(self, ftype: FieldType = "gas") -> None: method _sanitize_sampling_type (line 303) | def _sanitize_sampling_type(sampling_type: str) -> str: method add_field (line 331) | def add_field( method load_all_plugins (line 394) | def load_all_plugins(self, ftype: str | None = "gas") -> None: method load_plugin (line 404) | def load_plugin( method find_dependencies (line 416) | def find_dependencies(self, loaded): method add_output_field (line 424) | def add_output_field(self, name, sampling_type, **kwargs): method alias (line 434) | def alias( method add_deprecated_field (line 501) | def add_deprecated_field( method has_key (line 555) | def has_key(self, key): method __missing__ (line 563) | def __missing__(self, key): method create_with_fallback (line 569) | def create_with_fallback(cls, fallback, name=""): method __contains__ (line 575) | def __contains__(self, key): method __iter__ (line 582) | def __iter__(self): method keys (line 587) | def keys(self): method check_derived_fields (line 593) | def check_derived_fields(self, fields_to_check=None): method _set_linear_fields (line 688) | def _set_linear_fields(self): FILE: yt/fields/field_plugin_registry.py function register_field_plugin (line 8) | def register_field_plugin(func: Callable) -> Callable: FILE: yt/fields/field_type_container.py function _fill_values (line 14) | def _fill_values(values): class FieldTypeContainer (line 28) | class FieldTypeContainer: method __init__ (line 29) | def __init__(self, ds): method __getattr__ (line 32) | def __getattr__(self, attr): method field_types (line 40) | def field_types(self): method __dir__ (line 43) | def __dir__(self): method __iter__ (line 46) | def __iter__(self): method __contains__ (line 54) | def __contains__(self, obj): method _ipython_display_ (line 65) | def _ipython_display_(self): class FieldNameContainer (line 83) | class FieldNameContainer: method __init__ (line 84) | def __init__(self, ds, field_type): method __getattr__ (line 88) | def __getattr__(self, attr): method __setattr__ (line 95) | def __setattr__(self, attr, value): method __dir__ (line 101) | def __dir__(self): method __iter__ (line 104) | def __iter__(self): method __contains__ (line 109) | def __contains__(self, obj): method _ipython_display_ (line 127) | def _ipython_display_(self): FILE: yt/fields/fluid_fields.py function setup_fluid_fields (line 18) | def setup_fluid_fields(registry, ftype="gas", slice_info=None): function setup_gradient_fields (line 244) | def setup_gradient_fields(registry, grad_field, field_units, slice_info=... FILE: yt/fields/fluid_vector_fields.py function setup_fluid_vector_fields (line 15) | def setup_fluid_vector_fields( FILE: yt/fields/geometric_fields.py function setup_geometric_fields (line 19) | def setup_geometric_fields(registry, ftype="gas", slice_info=None): FILE: yt/fields/interpolated_fields.py function add_interpolated_field (line 15) | def add_interpolated_field( FILE: yt/fields/local_fields.py class LocalFieldInfoContainer (line 17) | class LocalFieldInfoContainer(FieldInfoContainer): method add_field (line 18) | def add_field( class derived_field (line 55) | class derived_field: method __init__ (line 58) | def __init__(self, **kwargs) -> None: method __call__ (line 61) | def __call__(self, f: Callable) -> Callable: function setup_local_fields (line 67) | def setup_local_fields(registry, ftype="gas", slice_info=None): FILE: yt/fields/magnetic_field.py function get_magnetic_normalization (line 21) | def get_magnetic_normalization(key: str) -> float: function setup_magnetic_field_fields (line 31) | def setup_magnetic_field_fields( function setup_magnetic_field_aliases (line 263) | def setup_magnetic_field_aliases(registry, ds_ftype, ds_fields, ftype="g... FILE: yt/fields/my_plugin_fields.py function setup_my_plugins_fields (line 9) | def setup_my_plugins_fields(registry, ftype="gas", slice_info=None): FILE: yt/fields/particle_fields.py function _field_concat (line 71) | def _field_concat(fname): function _field_concat_slice (line 84) | def _field_concat_slice(fname, axi): function particle_deposition_functions (line 97) | def particle_deposition_functions(ptype, coord_name, mass_name, registry): function particle_scalar_functions (line 245) | def particle_scalar_functions(ptype, coord_name, vel_name, registry): function particle_vector_functions (line 277) | def particle_vector_functions(ptype, coord_names, vel_names, registry): function get_angular_momentum_components (line 304) | def get_angular_momentum_components(ptype, data, spos, svel): function standard_particle_fields (line 311) | def standard_particle_fields( function add_particle_average (line 741) | def add_particle_average(registry, ptype, field_name, weight=None, densi... function add_nearest_neighbor_field (line 770) | def add_nearest_neighbor_field(ptype, coord_name, registry, nneighbors=64): function add_nearest_neighbor_value_field (line 793) | def add_nearest_neighbor_value_field(ptype, coord_name, sampled_field, r... function add_union_field (line 823) | def add_union_field(registry, ptype, field_name, units): FILE: yt/fields/species_fields.py function _create_fraction_func (line 21) | def _create_fraction_func(ftype, species): function _mass_from_cell_volume_and_density (line 28) | def _mass_from_cell_volume_and_density(ftype, species): function _mass_from_particle_mass_and_fraction (line 35) | def _mass_from_particle_mass_and_fraction(ftype, species): function _create_number_density_func (line 42) | def _create_number_density_func(ftype, species): function _create_density_func (line 53) | def _create_density_func(ftype, species): function add_species_field_by_density (line 60) | def add_species_field_by_density(registry, ftype, species): function add_species_field_by_fraction (line 100) | def add_species_field_by_fraction(registry, ftype, species): function add_species_aliases (line 140) | def add_species_aliases(registry, ftype, alias_species, species): function add_deprecated_species_aliases (line 158) | def add_deprecated_species_aliases(registry, ftype, alias_species, speci... function add_deprecated_species_alias (line 167) | def add_deprecated_species_alias(registry, ftype, alias_species, species... function add_nuclei_density_fields (line 189) | def add_nuclei_density_fields(registry, ftype): function _default_nuclei_density (line 252) | def _default_nuclei_density(field, data): function _nuclei_density (line 267) | def _nuclei_density(field, data): function _get_all_elements (line 304) | def _get_all_elements(species_list): function _get_element_multiple (line 313) | def _get_element_multiple(compound, element): function setup_species_fields (line 324) | def setup_species_fields(registry, ftype="gas", slice_info=None): FILE: yt/fields/tensor_fields.py function metric (line 5) | def metric(mu: int, nu: int): function setup_stress_energy_ideal (line 15) | def setup_stress_energy_ideal(registry, ftype="gas"): FILE: yt/fields/tests/test_ambiguous_fields.py function test_ambiguous_fails (line 6) | def test_ambiguous_fails(): function test_nameonly_field_with_all_aliases_candidates (line 26) | def test_nameonly_field_with_all_aliases_candidates(): FILE: yt/fields/tests/test_angular_momentum.py function test_AM_value (line 6) | def test_AM_value(): FILE: yt/fields/tests/test_field_access.py function test_field_access (line 9) | def test_field_access(): FILE: yt/fields/tests/test_field_access_pytest.py function test_unexisting_field_access (line 10) | def test_unexisting_field_access(): FILE: yt/fields/tests/test_field_name_container.py function do_field_type (line 5) | def do_field_type(ft): function test_field_name_container (line 24) | def test_field_name_container(): function test_vertex_fields_only_in_unstructured_ds (line 37) | def test_vertex_fields_only_in_unstructured_ds(): FILE: yt/fields/tests/test_fields.py function get_params (line 32) | def get_params(ds): function _strip_ftype (line 57) | def _strip_ftype(field): class FieldAccessTestCase (line 66) | class FieldAccessTestCase: method description (line 72) | def description(self) -> str: function get_base_ds (line 76) | def get_base_ds(nprocs): function test_all_fields (line 125) | def test_all_fields(): function test_add_deposited_particle_field (line 197) | def test_add_deposited_particle_field(): function test_add_gradient_fields (line 223) | def test_add_gradient_fields(): function test_add_gradient_fields_by_fname (line 247) | def test_add_gradient_fields_by_fname(): function test_add_gradient_multiple_fields (line 259) | def test_add_gradient_multiple_fields(): function test_add_gradient_fields_curvilinear (line 279) | def test_add_gradient_fields_curvilinear(): function get_data (line 303) | def get_data(ds, field_name): function test_add_field_unit_semantics (line 310) | def test_add_field_unit_semantics(): function test_add_field_from_lambda (line 384) | def test_add_field_from_lambda(): function test_array_like_field (line 410) | def test_array_like_field(): function test_array_like_field_output_units (line 423) | def test_array_like_field_output_units(): function test_add_field_string (line 436) | def test_add_field_string(): function test_add_field_string_aliasing (line 455) | def test_add_field_string_aliasing(): function test_morton_index (line 487) | def test_morton_index(): function test_deposit_amr (line 499) | def test_deposit_amr(): function test_ion_field_labels (line 507) | def test_ion_field_labels(): function test_default_fluid_type_None (line 552) | def test_default_fluid_type_None(): FILE: yt/fields/tests/test_fields_plugins.py class TestPluginFile (line 36) | class TestPluginFile(unittest.TestCase): method setUpClass (line 38) | def setUpClass(cls): method tearDownClass (line 50) | def tearDownClass(cls): method testCustomField (line 57) | def testCustomField(self): FILE: yt/fields/tests/test_fields_pytest.py function test_validate_field_function (line 19) | def test_validate_field_function(function): function test_validate_field_function_default (line 30) | def test_validate_field_function_default(function): function test_invalidate_field_function (line 55) | def test_invalidate_field_function(function): FILE: yt/fields/tests/test_magnetic_fields.py function setup_module (line 8) | def setup_module(): function test_magnetic_fields (line 14) | def test_magnetic_fields(): FILE: yt/fields/tests/test_particle_fields.py function test_relative_particle_fields (line 11) | def test_relative_particle_fields(): function test_los_particle_fields (line 28) | def test_los_particle_fields(): FILE: yt/fields/tests/test_species_fields.py function test_default_species_fields (line 8) | def test_default_species_fields(): FILE: yt/fields/tests/test_sph_fields.py function test_sph_field_semantics (line 45) | def test_sph_field_semantics(): function sph_fields_validate (line 50) | def sph_fields_validate(ds_fn): FILE: yt/fields/tests/test_vector_fields.py function random_unit_vector (line 14) | def random_unit_vector(prng): function random_velocity_vector (line 21) | def random_velocity_vector(prng): function compare_vector_conversions (line 25) | def compare_vector_conversions(data_source): function test_vector_component_conversions_fake (line 146) | def test_vector_component_conversions_fake(): function test_vector_component_conversions_real (line 157) | def test_vector_component_conversions_real(): FILE: yt/fields/tests/test_xray_fields.py function setup_module (line 11) | def setup_module(): function check_xray_fields (line 17) | def check_xray_fields(ds_fn, fields): function test_sloshing_apec (line 33) | def test_sloshing_apec(): function test_d9p_cloudy (line 42) | def test_d9p_cloudy(): function test_d9p_cloudy_local (line 60) | def test_d9p_cloudy_local(): FILE: yt/fields/vector_operations.py function get_bulk (line 32) | def get_bulk(data, basename, unit): function create_magnitude_field (line 40) | def create_magnitude_field( function create_relative_field (line 78) | def create_relative_field( function create_los_field (line 104) | def create_los_field( function create_squared_field (line 156) | def create_squared_field( function create_vector_fields (line 182) | def create_vector_fields( function create_averaged_field (line 664) | def create_averaged_field( FILE: yt/fields/xray_emission_fields.py function _get_data_file (line 22) | def _get_data_file(table_type, data_dir=None): class EnergyBoundsException (line 35) | class EnergyBoundsException(YTException): method __init__ (line 36) | def __init__(self, lower, upper): method __str__ (line 40) | def __str__(self): class ObsoleteDataException (line 44) | class ObsoleteDataException(YTException): method __init__ (line 45) | def __init__(self, table_type): method __str__ (line 50) | def __str__(self): class XrayEmissivityIntegrator (line 54) | class XrayEmissivityIntegrator: method __init__ (line 80) | def __init__(self, table_type, redshift=0.0, data_dir=None, use_metals... method get_interpolator (line 107) | def get_interpolator(self, data_type, e_min, e_max, energy=True): function add_xray_emissivity_field (line 145) | def add_xray_emissivity_field( FILE: yt/frontends/__init__.py function __getattr__ (line 52) | def __getattr__(value): FILE: yt/frontends/_skeleton/data_structures.py class SkeletonGrid (line 14) | class SkeletonGrid(AMRGridPatch): method __init__ (line 17) | def __init__(self, id, index, level): class SkeletonHierarchy (line 24) | class SkeletonHierarchy(GridIndex): method __init__ (line 27) | def __init__(self, ds, dataset_type="skeleton"): method _detect_output_fields (line 37) | def _detect_output_fields(self): method _count_grids (line 46) | def _count_grids(self): method _parse_index (line 50) | def _parse_index(self): method _populate_grid_objects (line 61) | def _populate_grid_objects(self): class SkeletonDataset (line 75) | class SkeletonDataset(Dataset): method __init__ (line 82) | def __init__( method _set_code_unit_attributes (line 103) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 127) | def _parse_parameter_file(self): method _is_valid (line 166) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/_skeleton/fields.py class SkeletonFieldInfo (line 8) | class SkeletonFieldInfo(FieldInfoContainer): method __init__ (line 19) | def __init__(self, ds, field_list): method setup_fluid_fields (line 23) | def setup_fluid_fields(self): method setup_particle_fields (line 29) | def setup_particle_fields(self, ptype): FILE: yt/frontends/_skeleton/io.py class SkeletonIOHandler (line 4) | class SkeletonIOHandler(BaseIOHandler): method _read_particle_coords (line 8) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 14) | def _read_particle_fields(self, chunks, ptf, selector): method _read_fluid_selection (line 22) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_chunk_data (line 42) | def _read_chunk_data(self, chunk, fields): FILE: yt/frontends/adaptahop/data_structures.py class AdaptaHOPParticleIndex (line 29) | class AdaptaHOPParticleIndex(ParticleIndex): method _setup_filenames (line 30) | def _setup_filenames(self): class AdaptaHOPDataset (line 51) | class AdaptaHOPDataset(Dataset): method __init__ (line 61) | def __init__( method _set_code_unit_attributes (line 89) | def _set_code_unit_attributes(self): method _guess_headers_from_file (line 95) | def _guess_headers_from_file(self, filename) -> None: method _parse_parameter_file (line 137) | def _parse_parameter_file(self): method _is_valid (line 172) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method halo (line 180) | def halo(self, halo_id, ptype="DM"): class AdaptaHOPHaloContainer (line 200) | class AdaptaHOPHaloContainer(YTSelectionContainer): method __init__ (line 274) | def __init__(self, ptype, particle_identifier, parent_ds, halo_ds): method __repr__ (line 296) | def __repr__(self): method __getitem__ (line 299) | def __getitem__(self, key): method ihalo (line 303) | def ihalo(self): method _set_halo_member_data (line 318) | def _set_halo_member_data(self): method _set_halo_properties (line 356) | def _set_halo_properties(self): FILE: yt/frontends/adaptahop/definitions.py function HEADER_ATTRIBUTES (line 13) | def HEADER_ATTRIBUTES(*, double: bool, longint: bool) -> ATTR_T: class AdaptaHOPDefTemplate (line 29) | class AdaptaHOPDefTemplate: method __init_subclass__ (line 31) | def __init_subclass__(cls, *args, **kwargs): method __init__ (line 36) | def __init__(self, longint, double_precision): class AdaptaHOPOld (line 41) | class AdaptaHOPOld(AdaptaHOPDefTemplate): method HALO_ATTRIBUTES (line 43) | def HALO_ATTRIBUTES(self) -> ATTR_T: class AdaptaHOPNewNoContam (line 95) | class AdaptaHOPNewNoContam(AdaptaHOPDefTemplate): method HALO_ATTRIBUTES (line 97) | def HALO_ATTRIBUTES(self) -> ATTR_T: class AdaptaHOPNewContam (line 158) | class AdaptaHOPNewContam(AdaptaHOPNewNoContam): method HALO_ATTRIBUTES (line 160) | def HALO_ATTRIBUTES(self) -> ATTR_T: FILE: yt/frontends/adaptahop/fields.py class AdaptaHOPFieldInfo (line 20) | class AdaptaHOPFieldInfo(FieldInfoContainer): method setup_particle_fields (line 59) | def setup_particle_fields(self, ptype): FILE: yt/frontends/adaptahop/io.py class IOHandlerAdaptaHOPBinary (line 20) | class IOHandlerAdaptaHOPBinary(BaseParticleIOHandler): method _read_fluid_selection (line 26) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_chunk_data (line 29) | def _read_chunk_data(self, chunk, fields): method _yield_coordinates (line 32) | def _yield_coordinates(self, data_file): method _read_particle_coords (line 35) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 50) | def _read_particle_fields(self, chunks, ptf, selector): method _count_particles (line 111) | def _count_particles(self, data_file): method _identify_fields (line 115) | def _identify_fields(self, data_file): method _get_particle_positions (line 128) | def _get_particle_positions(self): method members (line 176) | def members(self, ihalo): method _sorted_chunk_iterator (line 186) | def _sorted_chunk_iterator(self, chunks): function _todo_from_attributes (line 191) | def _todo_from_attributes(attributes: ATTR_T, halo_attributes: ATTR_T): function _find_attr_position (line 242) | def _find_attr_position(key, halo_attributes: ATTR_T) -> int: FILE: yt/frontends/adaptahop/tests/test_outputs.py function test_opening (line 24) | def test_opening(brick): function test_field_access (line 37) | def test_field_access(brick): function test_get_halo (line 58) | def test_get_halo(brick): FILE: yt/frontends/ahf/data_structures.py class AHFHalosFile (line 15) | class AHFHalosFile(HaloCatalogFile): method __init__ (line 16) | def __init__(self, ds, io, filename, file_id, range=None): method read_data (line 26) | def read_data(self, usecols=None): method _read_column_names (line 29) | def _read_column_names(self, filename): method _read_particle_positions (line 39) | def _read_particle_positions(self, ptype, f=None): class AHFHalosDataset (line 52) | class AHFHalosDataset(Dataset): method __init__ (line 57) | def __init__( method _set_code_unit_attributes (line 80) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 86) | def _parse_parameter_file(self): method _is_valid (line 121) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method _read_log_simu (line 129) | def _read_log_simu(self): method _read_parameter (line 143) | def _read_parameter(self): method _skip_cache (line 158) | def _skip_cache(self): FILE: yt/frontends/ahf/fields.py class AHFHalosFieldInfo (line 10) | class AHFHalosFieldInfo(FieldInfoContainer): FILE: yt/frontends/ahf/io.py class IOHandlerAHFHalos (line 8) | class IOHandlerAHFHalos(BaseParticleIOHandler): method _read_fluid_selection (line 12) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_coords (line 15) | def _read_particle_coords(self, chunks, ptf): method _yield_coordinates (line 28) | def _yield_coordinates(self, data_file): method _read_particle_fields (line 35) | def _read_particle_fields(self, chunks, ptf, selector): method _count_particles (line 63) | def _count_particles(self, data_file): method _identify_fields (line 71) | def _identify_fields(self, data_file): method _sorted_chunk_iterator (line 75) | def _sorted_chunk_iterator(self, chunks): FILE: yt/frontends/ahf/tests/test_outputs.py function load (line 23) | def load(filename): function test_fields_ahf_halos (line 28) | def test_fields_ahf_halos(): function test_AHFHalosDataset (line 36) | def test_AHFHalosDataset(): FILE: yt/frontends/amrex/data_structures.py class BoxlibGrid (line 60) | class BoxlibGrid(AMRGridPatch): method __init__ (line 64) | def __init__(self, grid_id, offset, filename=None, index=None): method _prepare_grid (line 71) | def _prepare_grid(self): method get_global_startindex (line 76) | def get_global_startindex(self): method _setup_dx (line 79) | def _setup_dx(self): method Parent (line 85) | def Parent(self): method Children (line 91) | def Children(self): method _get_offset (line 94) | def _get_offset(self, f): method select_ires (line 104) | def select_ires(self, dobj): method _fill_child_mask (line 113) | def _fill_child_mask(self, child, mask, tofill, dlevel=1): class BoxLibParticleHeader (line 130) | class BoxLibParticleHeader: method __init__ (line 131) | def __init__(self, ds, directory_name, is_checkpoint, extra_field_name... method _generate_particle_fields (line 187) | def _generate_particle_fields(self, extra_field_names): class AMReXParticleHeader (line 235) | class AMReXParticleHeader: method __init__ (line 236) | def __init__(self, ds, directory_name, is_checkpoint, extra_field_name... method _generate_particle_fields (line 293) | def _generate_particle_fields(self): class BoxlibHierarchy (line 334) | class BoxlibHierarchy(GridIndex): method __init__ (line 337) | def __init__(self, ds, dataset_type="boxlib_native"): method _parse_index (line 346) | def _parse_index(self): method _cache_endianness (line 458) | def _cache_endianness(self, test_grid): method _populate_grid_objects (line 494) | def _populate_grid_objects(self): method _reconstruct_parent_child (line 505) | def _reconstruct_parent_child(self): method _count_grids (line 527) | def _count_grids(self): method _initialize_grid_arrays (line 546) | def _initialize_grid_arrays(self): method _initialize_state_variables (line 550) | def _initialize_state_variables(self): method _detect_output_fields (line 556) | def _detect_output_fields(self): method _setup_data_io (line 564) | def _setup_data_io(self): method _determine_particle_output_type (line 567) | def _determine_particle_output_type(self, directory_name): method _read_particles (line 576) | def _read_particles(self, directory_name, is_checkpoint, extra_field_n... class BoxlibDataset (line 615) | class BoxlibDataset(Dataset): method __init__ (line 626) | def __init__( method _localize_check (line 670) | def _localize_check(self, fn): method _is_valid (line 681) | def _is_valid(cls, filename, *args, cparam_filename=None, **kwargs): method _lookup_cparam_filepath (line 705) | def _lookup_cparam_filepath(cls, output_dir, cparam_filename): method unique_identifier (line 718) | def unique_identifier(self) -> str: method _parse_parameter_file (line 722) | def _parse_parameter_file(self): method _parse_cparams (line 734) | def _parse_cparams(self): method _parse_fparams (line 780) | def _parse_fparams(self): method _parse_header_file (line 806) | def _parse_header_file(self): method _set_code_unit_attributes (line 914) | def _set_code_unit_attributes(self): method print_key_parameters (line 921) | def print_key_parameters(self): method relative_refinement (line 934) | def relative_refinement(self, l0, l1): class AMReXHierarchy (line 939) | class AMReXHierarchy(BoxlibHierarchy): method __init__ (line 940) | def __init__(self, ds, dataset_type="boxlib_native"): class AMReXDataset (line 949) | class AMReXDataset(BoxlibDataset): method _parse_parameter_file (line 954) | def _parse_parameter_file(self): class OrionHierarchy (line 964) | class OrionHierarchy(BoxlibHierarchy): method __init__ (line 965) | def __init__(self, ds, dataset_type="orion_native"): method _detect_output_fields (line 970) | def _detect_output_fields(self): method _read_particles (line 991) | def _read_particles(self): method _read_particle_file (line 1005) | def _read_particle_file(self, fn): class OrionDataset (line 1050) | class OrionDataset(BoxlibDataset): method __init__ (line 1055) | def __init__( class CastroHierarchy (line 1078) | class CastroHierarchy(BoxlibHierarchy): method __init__ (line 1079) | def __init__(self, ds, dataset_type="castro_native"): class CastroDataset (line 1100) | class CastroDataset(AMReXDataset): method __init__ (line 1106) | def __init__( method _parse_parameter_file (line 1128) | def _parse_parameter_file(self): class MaestroDataset (line 1169) | class MaestroDataset(AMReXDataset): method __init__ (line 1175) | def __init__( method _parse_parameter_file (line 1197) | def _parse_parameter_file(self): class NyxHierarchy (line 1223) | class NyxHierarchy(BoxlibHierarchy): method __init__ (line 1224) | def __init__(self, ds, dataset_type="nyx_native"): class NyxDataset (line 1246) | class NyxDataset(BoxlibDataset): method __init__ (line 1252) | def __init__( method _parse_parameter_file (line 1274) | def _parse_parameter_file(self): method _set_code_unit_attributes (line 1321) | def _set_code_unit_attributes(self): class QuokkaDataset (line 1330) | class QuokkaDataset(AMReXDataset): function _guess_pcast (line 1336) | def _guess_pcast(vals): function _read_raw_field_names (line 1362) | def _read_raw_field_names(raw_file): function _string_to_numpy_array (line 1367) | def _string_to_numpy_array(s): function _line_to_numpy_arrays (line 1371) | def _line_to_numpy_arrays(line): function _get_active_dimensions (line 1378) | def _get_active_dimensions(box): function _read_header (line 1382) | def _read_header(raw_file, field): class WarpXHeader (line 1438) | class WarpXHeader: method __init__ (line 1439) | def __init__(self, header_fn): class WarpXHierarchy (line 1485) | class WarpXHierarchy(BoxlibHierarchy): method __init__ (line 1486) | def __init__(self, ds, dataset_type="boxlib_native"): method _detect_output_fields (line 1504) | def _detect_output_fields(self): function _skip_line (line 1521) | def _skip_line(line): class WarpXDataset (line 1532) | class WarpXDataset(BoxlibDataset): method __init__ (line 1538) | def __init__( method _parse_parameter_file (line 1562) | def _parse_parameter_file(self): method _set_code_unit_attributes (line 1596) | def _set_code_unit_attributes(self): FILE: yt/frontends/amrex/fields.py function _thermal_energy_density (line 16) | def _thermal_energy_density(data): function _specific_thermal_energy (line 33) | def _specific_thermal_energy(data): function _temperature (line 38) | def _temperature(data): class WarpXFieldInfo (line 47) | class WarpXFieldInfo(FieldInfoContainer): method __init__ (line 79) | def __init__(self, ds, field_list): method setup_fluid_fields (line 87) | def setup_fluid_fields(self): method setup_fluid_aliases (line 92) | def setup_fluid_aliases(self): method setup_particle_fields (line 95) | def setup_particle_fields(self, ptype): class NyxFieldInfo (line 178) | class NyxFieldInfo(FieldInfoContainer): class BoxlibFieldInfo (line 186) | class BoxlibFieldInfo(FieldInfoContainer): method setup_particle_fields (line 225) | def setup_particle_fields(self, ptype): method setup_fluid_fields (line 245) | def setup_fluid_fields(self): method setup_momentum_to_velocity (line 272) | def setup_momentum_to_velocity(self): method setup_velocity_to_momentum (line 287) | def setup_velocity_to_momentum(self): class CastroFieldInfo (line 303) | class CastroFieldInfo(FieldInfoContainer): method setup_fluid_fields (line 356) | def setup_fluid_fields(self): class MaestroFieldInfo (line 380) | class MaestroFieldInfo(FieldInfoContainer): method setup_fluid_fields (line 444) | def setup_fluid_fields(self): class Substance (line 512) | class Substance: method __init__ (line 513) | def __init__(self, data: str) -> None: method get_spec (line 525) | def get_spec(self) -> SubstanceSpec: method is_isotope (line 528) | def is_isotope(self) -> bool: method is_molecule (line 531) | def is_molecule(self) -> bool: method is_descriptive_name (line 534) | def is_descriptive_name(self) -> bool: method __str__ (line 537) | def __str__(self) -> str: method _to_tex_isotope (line 542) | def _to_tex_isotope(self) -> str: method _to_tex_molecule (line 546) | def _to_tex_molecule(self) -> str: method _to_tex_descriptive (line 552) | def _to_tex_descriptive(self) -> str: method to_tex (line 555) | def to_tex(self) -> str: function _create_density_func (line 567) | def _create_density_func(field_name): FILE: yt/frontends/amrex/io.py function _remove_raw (line 12) | def _remove_raw(all_fields, raw_fields): class IOHandlerBoxlib (line 19) | class IOHandlerBoxlib(BaseIOHandler): method __init__ (line 22) | def __init__(self, ds, *args, **kwargs): method _read_fluid_selection (line 25) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_raw_field (line 61) | def _read_raw_field(self, grid, field): method _read_chunk_data (line 90) | def _read_chunk_data(self, chunk, fields): method _read_particle_coords (line 123) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 129) | def _read_particle_fields(self, chunks, ptf, selector): class IOHandlerOrion (line 202) | class IOHandlerOrion(IOHandlerBoxlib): method particle_filename (line 208) | def particle_filename(self): method particle_field_index (line 218) | def particle_field_index(self): method _read_particle_selection (line 224) | def _read_particle_selection(self, chunks, selector, fields): method _read_particles (line 247) | def _read_particles(self, grid, field): FILE: yt/frontends/amrex/tests/test_field_parsing.py function test_Substance_spec (line 17) | def test_Substance_spec(data, expected): function test_Substance_type (line 32) | def test_Substance_type(data, expected_type): function test_Substance_to_str (line 48) | def test_Substance_to_str(data, expected_str, expected_tex): FILE: yt/frontends/amrex/tests/test_outputs.py function test_radadvect (line 48) | def test_radadvect(): function test_radtube (line 60) | def test_radtube(): function test_star (line 72) | def test_star(): function test_LyA (line 84) | def test_LyA(): function test_nyx_particle_io (line 95) | def test_nyx_particle_io(): function test_RT_particles (line 144) | def test_RT_particles(): function test_castro_particle_io (line 153) | def test_castro_particle_io(): function test_langmuir (line 193) | def test_langmuir(): function test_plasma (line 207) | def test_plasma(): function test_beam (line 221) | def test_beam(): function test_warpx_particle_io (line 237) | def test_warpx_particle_io(): function test_raw_fields (line 294) | def test_raw_fields(): function test_OrionDataset (line 300) | def test_OrionDataset(): function test_NyxDataset (line 305) | def test_NyxDataset(): function test_NyxDataset_2 (line 310) | def test_NyxDataset_2(): function test_CastroDataset (line 315) | def test_CastroDataset(): function test_CastroDataset_2 (line 320) | def test_CastroDataset_2(): function test_CastroDataset_3 (line 325) | def test_CastroDataset_3(): function test_WarpXDataset (line 330) | def test_WarpXDataset(): function test_magnetic_units (line 336) | def test_magnetic_units(): function test_WarpXDataset_2 (line 352) | def test_WarpXDataset_2(): function test_AMReXDataset (line 357) | def test_AMReXDataset(): function test_units_override (line 363) | def test_units_override(): function test_nyx_no_part (line 371) | def test_nyx_no_part(): function test_maestro_parameters (line 421) | def test_maestro_parameters(): function check_coordsys_data (line 451) | def check_coordsys_data(ds): function test_coordsys_1d_cylindrical (line 474) | def test_coordsys_1d_cylindrical(): function test_coordsys_2d_cylindrical (line 482) | def test_coordsys_2d_cylindrical(): function test_coordsys_1d_spherical (line 490) | def test_coordsys_1d_spherical(): function test_coordsys_2d_spherical (line 498) | def test_coordsys_2d_spherical(): FILE: yt/frontends/amrvac/data_structures.py function _parse_geometry (line 30) | def _parse_geometry(geometry_tag: str) -> Geometry: class AMRVACGrid (line 55) | class AMRVACGrid(AMRGridPatch): method __init__ (line 60) | def __init__(self, id, index, level): method get_global_startindex (line 67) | def get_global_startindex(self): method retrieve_ghost_zones (line 78) | def retrieve_ghost_zones(self, n_zones, fields, all_levels=False, smoo... class AMRVACHierarchy (line 92) | class AMRVACHierarchy(GridIndex): method __init__ (line 95) | def __init__(self, ds, dataset_type="amrvac"): method _detect_output_fields (line 105) | def _detect_output_fields(self): method _count_grids (line 111) | def _count_grids(self): method _parse_index (line 115) | def _parse_index(self): method _populate_grid_objects (line 157) | def _populate_grid_objects(self): class AMRVACDataset (line 164) | class AMRVACDataset(Dataset): method __init__ (line 168) | def __init__( method _is_valid (line 273) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method _parse_parameter_file (line 297) | def _parse_parameter_file(self): method _set_code_unit_attributes (line 373) | def _set_code_unit_attributes(self): method _validate_units_override_keys (line 468) | def _validate_units_override_keys(cls, units_override): FILE: yt/frontends/amrvac/datfile_utils.py function get_header (line 15) | def get_header(istream): function get_tree_info (line 106) | def get_tree_info(istream): function get_single_block_data (line 141) | def get_single_block_data(istream, byte_offset, block_shape): function get_single_block_field_data (line 152) | def get_single_block_field_data(istream, byte_offset, block_shape, field... FILE: yt/frontends/amrvac/fields.py function _velocity (line 26) | def _velocity(field, data, idir, prefix=None): class AMRVACFieldInfo (line 58) | class AMRVACFieldInfo(FieldInfoContainer): method _setup_velocity_fields (line 90) | def _setup_velocity_fields(self, idust=None): method _setup_dust_fields (line 120) | def _setup_dust_fields(self): method setup_fluid_fields (line 162) | def setup_fluid_fields(self): FILE: yt/frontends/amrvac/io.py function read_amrvac_namelist (line 18) | def read_amrvac_namelist(parfiles): class AMRVACIOHandler (line 57) | class AMRVACIOHandler(BaseIOHandler): method __init__ (line 61) | def __init__(self, ds): method _read_particle_coords (line 68) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 75) | def _read_particle_fields(self, chunks, ptf, selector): method _read_data (line 84) | def _read_data(self, fid, grid, field): method _read_fluid_selection (line 117) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_chunk_data (line 181) | def _read_chunk_data(self, chunk, fields): FILE: yt/frontends/amrvac/tests/test_outputs.py function _get_fields_to_check (line 24) | def _get_fields_to_check(ds): function test_AMRVACDataset (line 38) | def test_AMRVACDataset(): function test_domain_size (line 43) | def test_domain_size(): function test_grid_attributes (line 55) | def test_grid_attributes(): function test_bw_polar_2d (line 69) | def test_bw_polar_2d(): function test_blastwave_cartesian_3D (line 77) | def test_blastwave_cartesian_3D(): function test_blastwave_spherical_2D (line 85) | def test_blastwave_spherical_2D(): function test_blastwave_cylindrical_3D (line 93) | def test_blastwave_cylindrical_3D(): function test_khi_cartesian_2D (line 101) | def test_khi_cartesian_2D(): function test_khi_cartesian_3D (line 109) | def test_khi_cartesian_3D(): function test_jet_cylindrical_25D (line 117) | def test_jet_cylindrical_25D(): function test_riemann_cartesian_175D (line 125) | def test_riemann_cartesian_175D(): function test_rmi_cartesian_dust_2D (line 133) | def test_rmi_cartesian_dust_2D(): FILE: yt/frontends/amrvac/tests/test_read_amrvac_namelist.py function test_read_pathlike (line 15) | def test_read_pathlike(): function test_read_one_file (line 20) | def test_read_one_file(): function test_accumulate_basename (line 29) | def test_accumulate_basename(): FILE: yt/frontends/amrvac/tests/test_units_override.py function _assert_normalisations_equal (line 23) | def _assert_normalisations_equal(ds): function test_normalisations_length_temp_nb (line 35) | def test_normalisations_length_temp_nb(): function test_normalisations_length_temp_mass (line 47) | def test_normalisations_length_temp_mass(): function test_normalisations_length_time_mass (line 59) | def test_normalisations_length_time_mass(): function test_normalisations_length_vel_nb (line 71) | def test_normalisations_length_vel_nb(): function test_normalisations_length_vel_mass (line 83) | def test_normalisations_length_vel_mass(): function test_normalisations_default (line 95) | def test_normalisations_default(): function test_normalisations_too_many_args (line 115) | def test_normalisations_too_many_args(): function test_normalisations_vel_and_length (line 128) | def test_normalisations_vel_and_length(): FILE: yt/frontends/arepo/data_structures.py class ArepoHDF5Dataset (line 10) | class ArepoHDF5Dataset(GadgetHDF5Dataset): method __init__ (line 14) | def __init__( method _is_valid (line 48) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method _get_uvals (line 72) | def _get_uvals(self): method _set_code_unit_attributes (line 93) | def _set_code_unit_attributes(self): FILE: yt/frontends/arepo/fields.py class ArepoFieldInfo (line 10) | class ArepoFieldInfo(GadgetFieldInfo): method __init__ (line 11) | def __init__(self, ds, field_list, slice_info=None): method setup_particle_fields (line 49) | def setup_particle_fields(self, ptype, *args, **kwargs): method setup_gas_particle_fields (line 55) | def setup_gas_particle_fields(self, ptype): FILE: yt/frontends/arepo/io.py class IOHandlerArepoHDF5 (line 7) | class IOHandlerArepoHDF5(IOHandlerGadgetHDF5): method _generate_smoothing_length (line 10) | def _generate_smoothing_length(self, index): method _get_smoothing_length (line 14) | def _get_smoothing_length(self, data_file, position_dtype, position_sh... FILE: yt/frontends/arepo/tests/test_outputs.py function test_arepo_hdf5_selection (line 20) | def test_arepo_hdf5_selection(): function test_arepo_bullet (line 39) | def test_arepo_bullet(): function test_arepo_tng59 (line 64) | def test_arepo_tng59(): function test_arepo_tng59_periodicity (line 73) | def test_arepo_tng59_periodicity(): function test_nh_density (line 82) | def test_nh_density(): function test_arepo_tng59_selection (line 92) | def test_arepo_tng59_selection(): function test_arepo_cr (line 109) | def test_arepo_cr(): FILE: yt/frontends/art/data_structures.py class ARTIndex (line 37) | class ARTIndex(OctreeIndex): method __init__ (line 38) | def __init__(self, ds, dataset_type="art"): method get_smallest_dx (line 48) | def get_smallest_dx(self): method _initialize_oct_handler (line 56) | def _initialize_oct_handler(self): method _detect_output_fields (line 80) | def _detect_output_fields(self): method _identify_base_chunk (line 89) | def _identify_base_chunk(self, dobj): method _chunk_all (line 107) | def _chunk_all(self, dobj): method _chunk_spatial (line 113) | def _chunk_spatial(self, dobj, ngz, sort=None, preload_fields=None): method _chunk_io (line 122) | def _chunk_io(self, dobj, cache=True, local_only=False): class ARTDataset (line 134) | class ARTDataset(Dataset): method __init__ (line 138) | def __init__( method _find_files (line 182) | def _find_files(self, file_amr): method __str__ (line 207) | def __str__(self): method _set_code_unit_attributes (line 210) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 244) | def _parse_parameter_file(self): method create_field_info (line 366) | def create_field_info(self): method _is_valid (line 377) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class ARTParticleFile (line 396) | class ARTParticleFile(ParticleFile): method __init__ (line 397) | def __init__(self, ds, io, filename, file_id): class ARTParticleIndex (line 411) | class ARTParticleIndex(ParticleIndex): method _setup_filenames (line 412) | def _setup_filenames(self): class DarkMatterARTDataset (line 425) | class DarkMatterARTDataset(ARTDataset): method __init__ (line 430) | def __init__( method _find_files (line 467) | def _find_files(self, file_particle): method __str__ (line 492) | def __str__(self): method _set_code_unit_attributes (line 495) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 527) | def _parse_parameter_file(self): method create_field_info (line 664) | def create_field_info(self): method _is_valid (line 672) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class ARTDomainSubset (line 733) | class ARTDomainSubset(OctreeSubset): method oct_handler (line 735) | def oct_handler(self): method fill (line 738) | def fill(self, content, ftfields, selector): class ARTDomainFile (line 791) | class ARTDomainFile: method __init__ (line 802) | def __init__(self, ds, nvar, oct_handler, domain_id): method oct_handler (line 812) | def oct_handler(self): method level_count (line 816) | def level_count(self): method level_child_offsets (line 824) | def level_child_offsets(self): method level_offsets (line 831) | def level_offsets(self): method _count_art_octs (line 857) | def _count_art_octs(self, f, offset, MinLev, MaxLevelNow): method _read_amr_level (line 897) | def _read_amr_level(self, oct_handler): method _read_amr_root (line 923) | def _read_amr_root(self, oct_handler): method included (line 949) | def included(self, selector): FILE: yt/frontends/art/fields.py class ARTFieldInfo (line 13) | class ARTFieldInfo(FieldInfoContainer): method setup_fluid_fields (line 45) | def setup_fluid_fields(self): FILE: yt/frontends/art/io.py class IOHandlerART (line 19) | class IOHandlerART(BaseIOHandler): method __init__ (line 26) | def __init__(self, *args, **kwargs): method _read_fluid_selection (line 36) | def _read_fluid_selection(self, chunks, selector, fields, size): method _get_mask (line 67) | def _get_mask(self, selector, ftype): method _read_particle_coords (line 80) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 89) | def _read_particle_fields(self, chunks, ptf, selector): method _get_field (line 103) | def _get_field(self, field): class IOHandlerDarkMatterART (line 177) | class IOHandlerDarkMatterART(IOHandlerART): method _count_particles (line 180) | def _count_particles(self, data_file): method _identify_fields (line 186) | def _identify_fields(self, domain): method _get_field (line 195) | def _get_field(self, field): method _yield_coordinates (line 250) | def _yield_coordinates(self, data_file): function _determine_field_size (line 259) | def _determine_field_size(pf, field, lspecies, ptmax): function interpolate_ages (line 279) | def interpolate_ages( function _read_art_level_info (line 297) | def _read_art_level_info( function get_ranges (line 406) | def get_ranges( function read_particles (line 436) | def read_particles(file, Nrow, idxa, idxb, fields): function read_star_field (line 465) | def read_star_field(file, field=None): function _read_child_mask_level (line 479) | def _read_child_mask_level(f, level_child_offsets, level, nLevel, nhydro... function _read_child_level (line 507) | def _read_child_level( function _read_root_level (line 557) | def _read_root_level(f, level_offsets, level_info, nhydro_vars=10): function find_root (line 574) | def find_root(f, a, b, tol=1e-6): function quad (line 588) | def quad(fintegrand, xmin, xmax, n=1e4): function a2b (line 597) | def a2b(at, Om0=0.27, Oml0=0.73, h=0.700): function b2a (line 608) | def b2a(bt, **kwargs): function a2t (line 620) | def a2t(at, Om0=0.27, Oml0=0.73, h=0.700): function b2t (line 629) | def b2t(tb, n=1e2, logger=None, **kwargs): FILE: yt/frontends/art/tests/test_outputs.py function test_d9p (line 30) | def test_d9p(): function test_d9p_global_values (line 52) | def test_d9p_global_values(): function test_ARTDataset (line 118) | def test_ARTDataset(): function test_units_override (line 123) | def test_units_override(): function test_particle_selection (line 128) | def test_particle_selection(): FILE: yt/frontends/artio/artio_headers/artio.c type __int64 (line 31) | typedef __int64 int64_t; type __int32 (line 32) | typedef __int32 int32_t; function artio_fileset_set_buffer_size (line 43) | int artio_fileset_set_buffer_size( int buffer_size ) { function artio_fileset (line 52) | artio_fileset *artio_fileset_open(char * file_prefix, int type, const ar... function artio_fileset (line 138) | artio_fileset *artio_fileset_create(char * file_prefix, int64_t root_cells, function artio_fileset_close (line 173) | int artio_fileset_close(artio_fileset *handle) { function artio_fileset (line 213) | artio_fileset *artio_fileset_allocate( char *file_prefix, int mode, function artio_fileset_destroy (line 258) | void artio_fileset_destroy( artio_fileset *handle ) { function artio_fileset_has_grid (line 278) | int artio_fileset_has_grid( artio_fileset *handle ) { function artio_fileset_has_particles (line 285) | int artio_fileset_has_particles( artio_fileset *handle ) { FILE: yt/frontends/artio/artio_headers/artio.h type __int64 (line 34) | typedef __int64 int64_t; type __int32 (line 35) | typedef __int32 int32_t; type artio_context (line 117) | typedef struct { type artio_context (line 121) | typedef struct { type artio_fileset (line 128) | typedef struct artio_fileset_struct artio_fileset; type artio_selection (line 129) | typedef struct artio_selection_struct artio_selection; FILE: yt/frontends/artio/artio_headers/artio_endian.c type __int64 (line 26) | typedef __int64 int64_t; type __int32 (line 27) | typedef __int32 int32_t; function artio_int_swap (line 32) | void artio_int_swap(int32_t *src, int count) { function artio_float_swap (line 49) | void artio_float_swap(float *src, int count) { function artio_double_swap (line 66) | void artio_double_swap(double *src, int count) { function artio_long_swap (line 88) | void artio_long_swap(int64_t *src, int count) { FILE: yt/frontends/artio/artio_headers/artio_endian.h type __int64 (line 27) | typedef __int64 int64_t; type __int32 (line 28) | typedef __int32 int32_t; FILE: yt/frontends/artio/artio_headers/artio_file.c function artio_fh (line 29) | artio_fh *artio_file_fopen( char * filename, int mode, const artio_conte... function artio_file_attach_buffer (line 42) | int artio_file_attach_buffer( artio_fh *handle, void *buf, int buf_size ) { function artio_file_detach_buffer (line 57) | int artio_file_detach_buffer( artio_fh *handle ) { function artio_file_fwrite (line 71) | int artio_file_fwrite( artio_fh *handle, const void *buf, int64_t count,... function artio_file_fflush (line 86) | int artio_file_fflush(artio_fh *handle) { function artio_file_fread (line 100) | int artio_file_fread(artio_fh *handle, void *buf, int64_t count, int typ... function artio_file_ftell (line 115) | int artio_file_ftell(artio_fh *handle, int64_t *offset) { function artio_file_fseek (line 130) | int artio_file_fseek(artio_fh *handle, int64_t offset, int whence ) { function artio_file_fclose (line 145) | int artio_file_fclose(artio_fh *handle) { function artio_file_set_endian_swap_tag (line 159) | void artio_file_set_endian_swap_tag(artio_fh *handle) { FILE: yt/frontends/artio/artio_headers/artio_grid.c type __int64 (line 31) | typedef __int64 int64_t; type __int32 (line 32) | typedef __int32 int32_t; function artio_fileset_open_grid (line 51) | int artio_fileset_open_grid(artio_fileset *handle) { function artio_fileset_add_grid (line 137) | int artio_fileset_add_grid(artio_fileset *handle, function artio_grid_file (line 344) | artio_grid_file *artio_grid_file_allocate(void) { function artio_grid_file_destroy (line 382) | void artio_grid_file_destroy(artio_grid_file *ghandle) { function artio_fileset_close_grid (line 405) | int artio_fileset_close_grid(artio_fileset *handle) { function artio_grid_count_octs_in_sfc_range (line 420) | int artio_grid_count_octs_in_sfc_range(artio_fileset *handle, function artio_grid_cache_sfc_range (line 526) | int artio_grid_cache_sfc_range(artio_fileset *handle, int64_t start, int... function artio_grid_clear_sfc_cache (line 598) | int artio_grid_clear_sfc_cache( artio_fileset *handle ) { function artio_grid_find_file (line 624) | int artio_grid_find_file(artio_grid_file *ghandle, int start, int end, i... function artio_grid_seek_to_sfc (line 656) | int artio_grid_seek_to_sfc(artio_fileset *handle, int64_t sfc) { function artio_grid_write_root_cell_begin (line 694) | int artio_grid_write_root_cell_begin(artio_fileset *handle, int64_t sfc, function artio_grid_write_root_cell_end (line 743) | int artio_grid_write_root_cell_end(artio_fileset *handle) { function artio_grid_write_level_begin (line 758) | int artio_grid_write_level_begin(artio_fileset *handle, int level) { function artio_grid_write_level_end (line 782) | int artio_grid_write_level_end(artio_fileset *handle) { function artio_grid_write_oct (line 808) | int artio_grid_write_oct(artio_fileset *handle, float *variables, function artio_grid_read_root_cell_begin (line 856) | int artio_grid_read_root_cell_begin(artio_fileset *handle, int64_t sfc, function artio_grid_read_oct (line 948) | int artio_grid_read_oct(artio_fileset *handle, function artio_grid_read_level_begin (line 1033) | int artio_grid_read_level_begin(artio_fileset *handle, int level) { function artio_grid_read_level_end (line 1111) | int artio_grid_read_level_end(artio_fileset *handle) { function artio_grid_read_root_cell_end (line 1139) | int artio_grid_read_root_cell_end(artio_fileset *handle) { function artio_grid_read_sfc_range_levels (line 1157) | int artio_grid_read_sfc_range_levels(artio_fileset *handle, function artio_grid_read_sfc_range (line 1279) | int artio_grid_read_sfc_range(artio_fileset *handle, function artio_grid_read_selection (line 1299) | int artio_grid_read_selection(artio_fileset *handle, function artio_grid_read_selection_levels (line 1316) | int artio_grid_read_selection_levels( artio_fileset *handle, FILE: yt/frontends/artio/artio_headers/artio_internal.h type __int64 (line 34) | typedef __int64 int64_t; type __int32 (line 35) | typedef __int32 int32_t; type artio_fh (line 66) | typedef struct ARTIO_FH artio_fh; type artio_particle_file (line 68) | typedef struct artio_particle_file_struct { type artio_grid_file (line 91) | typedef struct artio_grid_file_struct { type parameter (line 124) | typedef struct parameter_struct { type parameter_list (line 133) | typedef struct parameter_list_struct { type artio_fileset_struct (line 140) | struct artio_fileset_struct { type artio_selection_struct (line 162) | struct artio_selection_struct { FILE: yt/frontends/artio/artio_headers/artio_mpi.c type __int64 (line 33) | typedef __int64 int64_t; type __int32 (line 34) | typedef __int32 int32_t; type ARTIO_FH (line 42) | struct ARTIO_FH { function artio_fh (line 52) | artio_fh *artio_file_fopen_i( char * filename, int mode, const artio_con... function artio_file_attach_buffer_i (line 102) | int artio_file_attach_buffer_i( artio_fh *handle, void *buf, int buf_siz... function artio_file_detach_buffer_i (line 119) | int artio_file_detach_buffer_i( artio_fh *handle ) { function artio_file_fwrite_i (line 132) | int artio_file_fwrite_i( artio_fh *handle, const void *buf, int64_t coun... function artio_file_fflush_i (line 195) | int artio_file_fflush_i(artio_fh *handle) { function artio_file_fread_i (line 218) | int artio_file_fread_i(artio_fh *handle, void *buf, int64_t count, int t... function artio_file_ftell_i (line 316) | int artio_file_ftell_i(artio_fh *handle, int64_t *offset) { function artio_file_fseek_i (line 331) | int artio_file_fseek_i(artio_fh *handle, int64_t offset, int whence ) { function artio_file_fclose_i (line 387) | int artio_file_fclose_i(artio_fh *handle) { function artio_file_set_endian_swap_tag_i (line 397) | void artio_file_set_endian_swap_tag_i(artio_fh *handle) { FILE: yt/frontends/artio/artio_headers/artio_mpi.h type artio_context_struct (line 13) | struct artio_context_struct { FILE: yt/frontends/artio/artio_headers/artio_parameter.c type __int64 (line 30) | typedef __int64 int64_t; type __int32 (line 31) | typedef __int32 int32_t; function artio_type_size (line 36) | size_t artio_type_size(int type) { function parameter_list (line 64) | parameter_list *artio_parameter_list_init() { function artio_parameter_read (line 75) | int artio_parameter_read(artio_fh *handle, parameter_list *parameters) { function artio_parameter_write (line 137) | int artio_parameter_write(artio_fh *handle, parameter_list *parameters) { function artio_parameter_iterate (line 173) | int artio_parameter_iterate( artio_fileset *handle, function parameter (line 197) | parameter *artio_parameter_list_search(parameter_list * parameters, cons... function artio_parameter_list_insert (line 205) | int artio_parameter_list_insert(parameter_list * parameters, const char ... function artio_parameter_list_unpack (line 253) | int artio_parameter_list_unpack(parameter_list *parameters, function artio_parameter_list_unpack_index (line 275) | int artio_parameter_list_unpack_index(parameter_list *parameters, function artio_parameter_array_length (line 302) | int artio_parameter_array_length( parameter *item ) { function artio_parameter_get_array_length (line 319) | int artio_parameter_get_array_length(artio_fileset *handle, const char *... function artio_parameter_list_free (line 331) | int artio_parameter_list_free(parameter_list * parameters) { function artio_parameter_list_print (line 353) | int artio_parameter_list_print(parameter_list * parameters) { function artio_parameter_set_int (line 393) | int artio_parameter_set_int(artio_fileset *handle, const char * key, int... function artio_parameter_get_int (line 398) | int artio_parameter_get_int(artio_fileset *handle, const char * key, int... function artio_parameter_set_int_array (line 402) | int artio_parameter_set_int_array(artio_fileset *handle, const char * ke... function artio_parameter_get_int_array (line 408) | int artio_parameter_get_int_array(artio_fileset *handle, const char * ke... function artio_parameter_get_int_array_index (line 414) | int artio_parameter_get_int_array_index( artio_fileset *handle, const ch... function artio_parameter_set_float (line 420) | int artio_parameter_set_float(artio_fileset *handle, const char * key, f... function artio_parameter_get_float (line 425) | int artio_parameter_get_float(artio_fileset *handle, const char * key, f... function artio_parameter_set_float_array (line 429) | int artio_parameter_set_float_array(artio_fileset *handle, const char * ... function artio_parameter_get_float_array (line 435) | int artio_parameter_get_float_array(artio_fileset *handle, const char * ... function artio_parameter_get_float_array_index (line 441) | int artio_parameter_get_float_array_index(artio_fileset *handle, const c... function artio_parameter_set_double (line 447) | int artio_parameter_set_double(artio_fileset *handle, const char * key, ... function artio_parameter_get_double (line 452) | int artio_parameter_get_double(artio_fileset *handle, const char * key, ... function artio_parameter_set_double_array (line 456) | int artio_parameter_set_double_array(artio_fileset *handle, const char *... function artio_parameter_get_double_array (line 462) | int artio_parameter_get_double_array(artio_fileset *handle, const char *... function artio_parameter_get_double_array_index (line 468) | int artio_parameter_get_double_array_index(artio_fileset *handle, const ... function artio_parameter_set_long (line 474) | int artio_parameter_set_long(artio_fileset *handle, const char * key, in... function artio_parameter_get_long (line 479) | int artio_parameter_get_long(artio_fileset *handle, const char * key, in... function artio_parameter_set_long_array (line 483) | int artio_parameter_set_long_array(artio_fileset *handle, const char * key, function artio_parameter_get_long_array (line 489) | int artio_parameter_get_long_array(artio_fileset *handle, const char * key, function artio_parameter_get_long_array_index (line 495) | int artio_parameter_get_long_array_index(artio_fileset *handle, const ch... function artio_parameter_set_string (line 501) | int artio_parameter_set_string(artio_fileset *handle, const char *key, c... function artio_parameter_set_string_array (line 505) | int artio_parameter_set_string_array(artio_fileset *handle, const char *... function artio_parameter_get_string (line 538) | int artio_parameter_get_string(artio_fileset *handle, const char *key, c... function artio_parameter_get_string_array_index (line 542) | int artio_parameter_get_string_array_index( artio_fileset *handle, const... function artio_parameter_get_string_array (line 569) | int artio_parameter_get_string_array(artio_fileset *handle, const char *... FILE: yt/frontends/artio/artio_headers/artio_particle.c type __int64 (line 30) | typedef __int64 int64_t; type __int32 (line 31) | typedef __int32 int32_t; function artio_fileset_open_particles (line 43) | int artio_fileset_open_particles(artio_fileset *handle) { function artio_fileset_add_particles (line 143) | int artio_fileset_add_particles( artio_fileset *handle, function artio_particle_file (line 401) | artio_particle_file *artio_particle_file_allocate(void) { function artio_particle_file_destroy (line 428) | void artio_particle_file_destroy( artio_particle_file *phandle ) { function artio_fileset_close_particles (line 452) | int artio_fileset_close_particles(artio_fileset *handle) { function artio_particle_cache_sfc_range (line 466) | int artio_particle_cache_sfc_range(artio_fileset *handle, function artio_particle_clear_sfc_cache (line 542) | int artio_particle_clear_sfc_cache( artio_fileset *handle ) { function artio_particle_find_file (line 569) | int artio_particle_find_file(artio_particle_file *phandle, function artio_particle_seek_to_sfc (line 603) | int artio_particle_seek_to_sfc(artio_fileset *handle, int64_t sfc) { function artio_particle_write_root_cell_begin (line 640) | int artio_particle_write_root_cell_begin(artio_fileset *handle, int64_t ... function artio_particle_write_root_cell_end (line 680) | int artio_particle_write_root_cell_end(artio_fileset *handle) { function artio_particle_write_species_begin (line 700) | int artio_particle_write_species_begin(artio_fileset *handle, function artio_particle_write_species_end (line 730) | int artio_particle_write_species_end(artio_fileset *handle) { function artio_particle_write_particle (line 757) | int artio_particle_write_particle(artio_fileset *handle, int64_t pid, in... function artio_particle_read_root_cell_begin (line 803) | int artio_particle_read_root_cell_begin(artio_fileset *handle, int64_t sfc, function artio_particle_read_particle (line 839) | int artio_particle_read_particle(artio_fileset *handle, int64_t * pid, i... function artio_particle_read_species_begin (line 884) | int artio_particle_read_species_begin(artio_fileset *handle, int species) { function artio_particle_read_species_end (line 932) | int artio_particle_read_species_end(artio_fileset *handle) { function artio_particle_read_root_cell_end (line 957) | int artio_particle_read_root_cell_end(artio_fileset *handle) { function artio_particle_read_selection (line 976) | int artio_particle_read_selection(artio_fileset *handle, function artio_particle_read_selection_species (line 995) | int artio_particle_read_selection_species( artio_fileset *handle, function artio_particle_read_sfc_range (line 1022) | int artio_particle_read_sfc_range(artio_fileset *handle, function artio_particle_read_sfc_range_species (line 1041) | int artio_particle_read_sfc_range_species(artio_fileset *handle, FILE: yt/frontends/artio/artio_headers/artio_posix.c type __int64 (line 33) | typedef __int64 int64_t; type __int32 (line 34) | typedef __int32 int32_t; type ARTIO_FH (line 39) | struct ARTIO_FH { function artio_fh (line 58) | artio_fh *artio_file_fopen_i( char * filename, int mode, const artio_con... function artio_file_attach_buffer_i (line 88) | int artio_file_attach_buffer_i( artio_fh *handle, void *buf, int buf_siz... function artio_file_detach_buffer_i (line 105) | int artio_file_detach_buffer_i( artio_fh *handle ) { function artio_file_fwrite_i (line 118) | int artio_file_fwrite_i(artio_fh *handle, const void *buf, int64_t count... function artio_file_fflush_i (line 181) | int artio_file_fflush_i(artio_fh *handle) { function artio_file_fread_i (line 204) | int artio_file_fread_i(artio_fh *handle, void *buf, int64_t count, int t... function artio_file_ftell_i (line 288) | int artio_file_ftell_i( artio_fh *handle, int64_t *offset ) { function artio_file_fseek_i (line 302) | int artio_file_fseek_i(artio_fh *handle, int64_t offset, int whence ) { function artio_file_fclose_i (line 357) | int artio_file_fclose_i(artio_fh *handle) { function artio_file_set_endian_swap_tag_i (line 367) | void artio_file_set_endian_swap_tag_i(artio_fh *handle) { FILE: yt/frontends/artio/artio_headers/artio_selector.c type __int64 (line 30) | typedef __int64 int64_t; type __int32 (line 31) | typedef __int32 int32_t; function artio_selection_iterator (line 42) | int artio_selection_iterator( artio_selection *selection, function artio_selection_iterator_reset (line 72) | int artio_selection_iterator_reset( artio_selection *selection ) { function artio_selection_size (line 78) | int64_t artio_selection_size( artio_selection *selection ) { function artio_selection (line 87) | artio_selection *artio_selection_allocate( artio_fileset *handle ) { function artio_selection_destroy (line 104) | int artio_selection_destroy( artio_selection *selection ) { function artio_selection_add_range (line 116) | int artio_selection_add_range( artio_selection *selection, function artio_selection_add_root_cell (line 202) | int artio_selection_add_root_cell( artio_selection *selection, int coord... function artio_selection_print (line 220) | void artio_selection_print( artio_selection *selection ) { function artio_selection (line 228) | artio_selection *artio_select_all( artio_fileset *handle ) { function artio_selection (line 248) | artio_selection *artio_select_volume( artio_fileset *handle, double lpos... function artio_selection (line 291) | artio_selection *artio_select_cube( artio_fileset *handle, double center... FILE: yt/frontends/artio/artio_headers/artio_sfc.c function artio_morton_index (line 36) | int64_t artio_morton_index( artio_fileset *handle, int coords[nDim] ) function artio_hilbert_index (line 61) | int64_t artio_hilbert_index( artio_fileset *handle, int coords[nDim] ) function artio_hilbert_coords (line 154) | void artio_hilbert_coords( artio_fileset *handle, int64_t index, int coo... function artio_slab_index (line 233) | int64_t artio_slab_index( artio_fileset *handle, int coords[nDim], int s... function artio_slab_coords (line 253) | void artio_slab_coords( artio_fileset *handle, int64_t index, int coords... function artio_sfc_index_position (line 274) | int64_t artio_sfc_index_position( artio_fileset *handle, double position... function artio_sfc_index (line 284) | int64_t artio_sfc_index( artio_fileset *handle, int coords[nDim] ) { function artio_sfc_coords (line 294) | void artio_sfc_coords( artio_fileset *handle, int64_t index, int coords[... FILE: yt/frontends/artio/artio_headers/cosmology.c type CosmologyParametersStruct (line 35) | struct CosmologyParametersStruct function CosmologyParameters (line 67) | CosmologyParameters *cosmology_allocate() { function cosmology_free (line 78) | void cosmology_free(CosmologyParameters *c) { function cosmology_is_set (line 83) | int cosmology_is_set(CosmologyParameters *c) function cosmology_fail_on_reset (line 89) | void cosmology_fail_on_reset(const char *name, double old_value, double ... function cosmology_set_OmegaM (line 97) | void cosmology_set_OmegaM(CosmologyParameters *c, double v) function cosmology_set_OmegaL (line 110) | void cosmology_set_OmegaL(CosmologyParameters *c, double v) function cosmology_set_OmegaB (line 122) | void cosmology_set_OmegaB(CosmologyParameters *c, double v) function cosmology_set_h (line 134) | void cosmology_set_h(CosmologyParameters *c, double v) function cosmology_set_DeltaDC (line 145) | void cosmology_set_DeltaDC(CosmologyParameters *c, double v) function cosmology_init (line 156) | void cosmology_init(CosmologyParameters *c) function cosmology_set_fixed (line 188) | void cosmology_set_fixed(CosmologyParameters *c) function cosmology_mu (line 195) | double cosmology_mu(CosmologyParameters *c, double a) function cosmology_dc_factor (line 201) | double cosmology_dc_factor(CosmologyParameters *c, double dPlus) function cosmology_fill_table_integrate (line 208) | void cosmology_fill_table_integrate(CosmologyParameters *c, double a, do... function asinh (line 220) | double asinh(double x){ function cosmology_fill_table_piece (line 225) | void cosmology_fill_table_piece(CosmologyParameters *c, int istart, int n) function cosmology_fill_table (line 300) | void cosmology_fill_table(CosmologyParameters *c, double amin, double amax) function cosmology_clear_table (line 400) | void cosmology_clear_table(CosmologyParameters *c) function cosmology_check_range (line 424) | void cosmology_check_range(CosmologyParameters *c, double a) function cosmology_set_thread_safe_range (line 442) | void cosmology_set_thread_safe_range(CosmologyParameters *c, double amin... function cosmology_get_value_from_table (line 449) | double cosmology_get_value_from_table(CosmologyParameters *c, double a, ... function cosmology_find_index (line 472) | int cosmology_find_index(CosmologyParameters *c, double v, double table[]) FILE: yt/frontends/artio/artio_headers/cosmology.h type CosmologyParameters (line 4) | typedef struct CosmologyParametersStruct CosmologyParameters; FILE: yt/frontends/artio/data_structures.py class ARTIOOctreeSubset (line 24) | class ARTIOOctreeSubset(OctreeSubset): method __init__ (line 31) | def __init__(self, base_region, sfc_start, sfc_end, oct_handler, ds): method oct_handler (line 46) | def oct_handler(self): method min_ind (line 50) | def min_ind(self): method max_ind (line 54) | def max_ind(self): method fill (line 57) | def fill(self, fields, selector): method fill_particles (line 77) | def fill_particles(self, fields): class ARTIORootMeshSubset (line 104) | class ARTIORootMeshSubset(ARTIOOctreeSubset): method fill (line 110) | def fill(self, fields, selector): method deposit (line 123) | def deposit(self, positions, fields=None, method=None, kernel_name="cu... class ARTIOIndex (line 150) | class ARTIOIndex(Index): method __init__ (line 151) | def __init__(self, ds, dataset_type="artio"): method max_range (line 164) | def max_range(self): method _setup_geometry (line 167) | def _setup_geometry(self): method get_smallest_dx (line 170) | def get_smallest_dx(self): method _get_particle_type_counts (line 179) | def _get_particle_type_counts(self): method convert (line 190) | def convert(self, unit): method find_max (line 193) | def find_max(self, field, finest_levels=3): method find_max_cell_location (line 203) | def find_max_cell_location(self, field, finest_levels=3): method _detect_output_fields (line 214) | def _detect_output_fields(self): method _detect_fluid_fields (line 220) | def _detect_fluid_fields(self): method _detect_particle_fields (line 223) | def _detect_particle_fields(self): method _identify_base_chunk (line 232) | def _identify_base_chunk(self, dobj): method _data_size (line 299) | def _data_size(self, dobj, dobjs): method _chunk_all (line 305) | def _chunk_all(self, dobj): method _chunk_spatial (line 309) | def _chunk_spatial(self, dobj, ngz, preload_fields=None): method _chunk_io (line 320) | def _chunk_io(self, dobj, cache=True, local_only=False): method _read_fluid_fields (line 326) | def _read_fluid_fields(self, fields, dobj, chunk=None): method _icoords_to_fcoords (line 340) | def _icoords_to_fcoords( class ARTIODataset (line 358) | class ARTIODataset(Dataset): method __init__ (line 363) | def __init__( method _set_code_unit_attributes (line 392) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 398) | def _parse_parameter_file(self): method create_field_info (line 504) | def create_field_info(self): method _is_valid (line 520) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/artio/definitions.py class ARTIOconstants (line 33) | class ARTIOconstants: method __init__ (line 34) | def __init__(self): FILE: yt/frontends/artio/fields.py class ARTIOFieldInfo (line 18) | class ARTIOFieldInfo(FieldInfoContainer): method setup_fluid_fields (line 57) | def setup_fluid_fields(self): method setup_particle_fields (line 133) | def setup_particle_fields(self, ptype): FILE: yt/frontends/artio/io.py class IOHandlerARTIO (line 6) | class IOHandlerARTIO(BaseIOHandler): method _read_fluid_selection (line 9) | def _read_fluid_selection(self, chunks, selector, fields): method _read_particle_coords (line 21) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 35) | def _read_particle_fields(self, chunks, ptf, selector): FILE: yt/frontends/artio/tests/test_outputs.py function test_sizmbhloz (line 30) | def test_sizmbhloz(): function test_ARTIODataset (line 51) | def test_ARTIODataset(): function test_units_override (line 56) | def test_units_override(): function test_particle_derived_field (line 61) | def test_particle_derived_field(): FILE: yt/frontends/athena/data_structures.py function chk23 (line 21) | def chk23(strin): function str23 (line 25) | def str23(strin): function check_readline (line 32) | def check_readline(fl): function check_break (line 43) | def check_break(line): function _get_convert (line 52) | def _get_convert(fname): class AthenaGrid (line 59) | class AthenaGrid(AMRGridPatch): method __init__ (line 62) | def __init__(self, id, index, level, start, dimensions, file_offset, r... method _setup_dx (line 75) | def _setup_dx(self): function parse_line (line 91) | def parse_line(line, grid): class AthenaHierarchy (line 122) | class AthenaHierarchy(GridIndex): method __init__ (line 127) | def __init__(self, ds, dataset_type="athena"): method _detect_output_fields (line 138) | def _detect_output_fields(self): method _count_grids (line 202) | def _count_grids(self): method _parse_index (line 205) | def _parse_index(self): method _populate_grid_objects (line 423) | def _populate_grid_objects(self): method _reconstruct_parent_child (line 430) | def _reconstruct_parent_child(self): method _get_grid_children (line 451) | def _get_grid_children(self, grid): method _chunk_io (line 457) | def _chunk_io(self, dobj, cache=True, local_only=False): class AthenaDataset (line 465) | class AthenaDataset(Dataset): method __init__ (line 470) | def __init__( method _set_code_unit_attributes (line 507) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 528) | def _parse_parameter_file(self): method _is_valid (line 635) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method _skip_cache (line 659) | def _skip_cache(self): method __str__ (line 662) | def __str__(self): FILE: yt/frontends/athena/fields.py function velocity_field (line 11) | def velocity_field(comp): class AthenaFieldInfo (line 18) | class AthenaFieldInfo(FieldInfoContainer): method setup_fluid_fields (line 36) | def setup_fluid_fields(self): FILE: yt/frontends/athena/io.py class IOHandlerAthena (line 13) | class IOHandlerAthena(BaseIOHandler): method _read_field_names (line 19) | def _read_field_names(self, grid): method _read_chunk_data (line 22) | def _read_chunk_data(self, chunk, fields): method _read_data_slice (line 75) | def _read_data_slice(self, grid, field, axis, coord): method _read_fluid_selection (line 82) | def _read_fluid_selection(self, chunks, selector, fields, size): function get_read_table_offset (line 109) | def get_read_table_offset(f): FILE: yt/frontends/athena/tests/test_outputs.py function test_cloud (line 27) | def test_cloud(): function test_blast (line 45) | def test_blast(): function test_blast_override (line 61) | def test_blast_override(): function test_stripping (line 84) | def test_stripping(): function test_nprocs (line 103) | def test_nprocs(): function test_AthenaDataset (line 131) | def test_AthenaDataset(): function test_mag_factor (line 137) | def test_mag_factor(): FILE: yt/frontends/athena_pp/data_structures.py class AthenaPPGrid (line 30) | class AthenaPPGrid(AMRGridPatch): method __init__ (line 33) | def __init__(self, id, index, level): method _setup_dx (line 39) | def _setup_dx(self): class AthenaPPStretchedGrid (line 52) | class AthenaPPStretchedGrid(StretchedGrid): method __init__ (line 55) | def __init__(self, id, cell_widths, index, level): class AthenaPPHierarchy (line 62) | class AthenaPPHierarchy(GridIndex): method __init__ (line 66) | def __init__(self, ds, dataset_type="athena_pp"): method _detect_output_fields (line 76) | def _detect_output_fields(self): method _count_grids (line 79) | def _count_grids(self): method _parse_index (line 82) | def _parse_index(self): method _populate_grid_objects (line 121) | def _populate_grid_objects(self): class AthenaPPDataset (line 128) | class AthenaPPDataset(Dataset): method __init__ (line 133) | def __init__( method _set_code_unit_attributes (line 177) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 204) | def _parse_parameter_file(self): method _is_valid (line 265) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method _skip_cache (line 269) | def _skip_cache(self): method __str__ (line 272) | def __str__(self): FILE: yt/frontends/athena_pp/fields.py function velocity_field (line 11) | def velocity_field(j): class AthenaPPFieldInfo (line 18) | class AthenaPPFieldInfo(FieldInfoContainer): method setup_fluid_fields (line 27) | def setup_fluid_fields(self): FILE: yt/frontends/athena_pp/io.py function grid_sequences (line 10) | def grid_sequences(grids): class IOHandlerAthenaPP (line 17) | class IOHandlerAthenaPP(BaseIOHandler): method __init__ (line 21) | def __init__(self, ds): method _read_particles (line 25) | def _read_particles( method _read_fluid_selection (line 30) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_chunk_data (line 63) | def _read_chunk_data(self, chunk, fields): FILE: yt/frontends/athena_pp/tests/test_outputs.py function test_disk (line 26) | def test_disk(): function test_AM06 (line 48) | def test_AM06(): function test_AM06_override (line 64) | def test_AM06_override(): function test_units_override (line 72) | def test_units_override(): function test_AthenaPPDataset (line 77) | def test_AthenaPPDataset(): function test_magnetic_units (line 82) | def test_magnetic_units(): function test_mag_factor (line 90) | def test_mag_factor(): FILE: yt/frontends/boxlib/_deprecation.py function boxlib_deprecation (line 4) | def boxlib_deprecation(): FILE: yt/frontends/boxlib/tests/test_boxlib_deprecation.py function test_imports (line 6) | def test_imports(): FILE: yt/frontends/boxlib/tests/test_outputs.py function test_radadvect (line 48) | def test_radadvect(): function test_radtube (line 60) | def test_radtube(): function test_star (line 72) | def test_star(): function test_LyA (line 84) | def test_LyA(): function test_nyx_particle_io (line 95) | def test_nyx_particle_io(): function test_RT_particles (line 144) | def test_RT_particles(): function test_castro_particle_io (line 153) | def test_castro_particle_io(): function test_langmuir (line 193) | def test_langmuir(): function test_plasma (line 207) | def test_plasma(): function test_beam (line 221) | def test_beam(): function test_warpx_particle_io (line 237) | def test_warpx_particle_io(): function test_raw_fields (line 294) | def test_raw_fields(): function test_OrionDataset (line 300) | def test_OrionDataset(): function test_NyxDataset (line 305) | def test_NyxDataset(): function test_NyxDataset_2 (line 310) | def test_NyxDataset_2(): function test_CastroDataset (line 315) | def test_CastroDataset(): function test_CastroDataset_2 (line 320) | def test_CastroDataset_2(): function test_CastroDataset_3 (line 325) | def test_CastroDataset_3(): function test_WarpXDataset (line 330) | def test_WarpXDataset(): function test_magnetic_units (line 336) | def test_magnetic_units(): function test_WarpXDataset_2 (line 352) | def test_WarpXDataset_2(): function test_AMReXDataset (line 357) | def test_AMReXDataset(): function test_units_override (line 363) | def test_units_override(): function test_nyx_no_part (line 371) | def test_nyx_no_part(): function test_maestro_parameters (line 421) | def test_maestro_parameters(): function test_castro_parameters (line 452) | def test_castro_parameters(): FILE: yt/frontends/cf_radial/data_structures.py class CFRadialGrid (line 25) | class CFRadialGrid(AMRGridPatch): method __init__ (line 28) | def __init__(self, id, index, level, dimensions): class CFRadialHierarchy (line 36) | class CFRadialHierarchy(GridIndex): method __init__ (line 39) | def __init__(self, ds, dataset_type="cf_radial"): method _detect_output_fields (line 49) | def _detect_output_fields(self): method _count_grids (line 63) | def _count_grids(self): method _parse_index (line 66) | def _parse_index(self): method _populate_grid_objects (line 74) | def _populate_grid_objects(self): class CFRadialDataset (line 82) | class CFRadialDataset(Dataset): method __init__ (line 87) | def __init__( method _handle (line 197) | def _handle(self, filename: str | None = None): method _validate_grid_dim (line 207) | def _validate_grid_dim( method _validate_grid_shape (line 237) | def _validate_grid_shape( method _round_grid_guess (line 252) | def _round_grid_guess(self, bounds: tuple[float, float], unit_str: str): method _set_code_unit_attributes (line 262) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 269) | def _parse_parameter_file(self): method _is_valid (line 298) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/cf_radial/fields.py class CFRadialFieldInfo (line 11) | class CFRadialFieldInfo(FieldInfoContainer): method setup_fluid_fields (line 20) | def setup_fluid_fields(self): FILE: yt/frontends/cf_radial/io.py class CFRadialIOHandler (line 13) | class CFRadialIOHandler(BaseIOHandler): method _read_fluid_selection (line 17) | def _read_fluid_selection(self, chunks, selector, fields, size): FILE: yt/frontends/cf_radial/tests/test_cf_radial_pytest.py function create_cf_radial_mock_gridded_ds (line 10) | def create_cf_radial_mock_gridded_ds(savedir: Path) -> Path: function test_load_mock_gridded_cf_radial (line 37) | def test_load_mock_gridded_cf_radial(tmp_path): FILE: yt/frontends/cf_radial/tests/test_outputs.py function test_units_override (line 44) | def test_units_override(): function test_cf_radial_gridded (line 50) | def test_cf_radial_gridded(): function check_fields (line 63) | def check_fields(ds, field): function check_field_units (line 69) | def check_field_units(ad, field, value): function check_origin_latitude_longitude (line 73) | def check_origin_latitude_longitude(ds): function check_domain (line 78) | def check_domain(ds): function test_auto_gridding (line 94) | def test_auto_gridding(): function test_grid_parameters (line 128) | def test_grid_parameters(): function test_cfradial_grid_field_values (line 177) | def test_cfradial_grid_field_values(): FILE: yt/frontends/chimera/data_structures.py class ChimeraMesh (line 26) | class ChimeraMesh(SemiStructuredMesh): method __init__ (line 29) | def __init__(self, *args, **kwargs): function _find_files (line 33) | def _find_files(filename_c): class ChimeraUNSIndex (line 47) | class ChimeraUNSIndex(UnstructuredIndex): method __init__ (line 48) | def __init__(self, ds, dataset_type="chimera"): method _initialize_mesh (line 54) | def _initialize_mesh(self): method _detect_output_fields (line 156) | def _detect_output_fields(self): # Reads in the available data fields method _chunk_io (line 186) | def _chunk_io(self, dobj, cache=True, local_only=False): # Creates Da... method _setup_data_io (line 193) | def _setup_data_io(self): class ChimeraDataset (line 197) | class ChimeraDataset(Dataset): method __init__ (line 202) | def __init__( method _set_code_unit_attributes (line 217) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 230) | def _parse_parameter_file(self): method _is_valid (line 271) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/chimera/fields.py class ChimeraFieldInfo (line 16) | class ChimeraFieldInfo(FieldInfoContainer): method __init__ (line 48) | def __init__(self, ds, field_list): method setup_fluid_fields (line 52) | def setup_fluid_fields(self): method setup_particle_fields (line 64) | def setup_particle_fields(self, ptype): FILE: yt/frontends/chimera/io.py class ChimeraIOHandler (line 17) | class ChimeraIOHandler(BaseIOHandler): method __init__ (line 21) | def __init__(self, ds): method _read_particle_coords (line 26) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 32) | def _read_particle_fields(self, chunks, ptf, selector): method _read_fluid_selection (line 40) | def _read_fluid_selection(self, chunks, selector, fields, size): method io_iter (line 60) | def io_iter(self, chunks, fields): method _read_chunk_data (line 212) | def _read_chunk_data(self, chunk, fields): FILE: yt/frontends/chimera/tests/test_outputs.py function test_2D (line 21) | def test_2D(): function test_3D (line 107) | def test_3D(): function test_multimesh (line 188) | def test_multimesh(): # Tests that the multimesh system for 3D data has... FILE: yt/frontends/cholla/data_structures.py class ChollaGrid (line 17) | class ChollaGrid(AMRGridPatch): method __init__ (line 20) | def __init__(self, id, index, level, dims): class ChollaHierarchy (line 28) | class ChollaHierarchy(GridIndex): method __init__ (line 31) | def __init__(self, ds, dataset_type="cholla"): method _detect_output_fields (line 41) | def _detect_output_fields(self): method _count_grids (line 45) | def _count_grids(self): method _parse_index (line 48) | def _parse_index(self): method _populate_grid_objects (line 56) | def _populate_grid_objects(self): class ChollaDataset (line 65) | class ChollaDataset(Dataset): method __init__ (line 70) | def __init__( method _set_code_unit_attributes (line 82) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 102) | def _parse_parameter_file(self): method _is_valid (line 163) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/cholla/fields.py function velocity_field (line 15) | def velocity_field(comp): class ChollaFieldInfo (line 22) | class ChollaFieldInfo(FieldInfoContainer): method setup_fluid_fields (line 39) | def setup_fluid_fields(self): method setup_particle_fields (line 152) | def setup_particle_fields(self, ptype): FILE: yt/frontends/cholla/io.py class ChollaIOHandler (line 7) | class ChollaIOHandler(BaseIOHandler): method _read_particle_coords (line 11) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 14) | def _read_particle_fields(self, chunks, ptf, selector): method _read_fluid_selection (line 17) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_chunk_data (line 34) | def _read_chunk_data(self, chunk, fields): FILE: yt/frontends/cholla/tests/test_outputs.py function test_ChollaDataset (line 22) | def test_ChollaDataset(): function test_ChollaSimple_fields (line 28) | def test_ChollaSimple_fields(): function test_ChollaSimple_derived_fields (line 53) | def test_ChollaSimple_derived_fields(): function test_cholla_data (line 83) | def test_cholla_data(): FILE: yt/frontends/chombo/data_structures.py function is_chombo_hdf5 (line 28) | def is_chombo_hdf5(fn): class ChomboGrid (line 37) | class ChomboGrid(AMRGridPatch): method __init__ (line 41) | def __init__(self, id, index, level, start, stop): method get_global_startindex (line 48) | def get_global_startindex(self): method _setup_dx (line 67) | def _setup_dx(self): method Parent (line 72) | def Parent(self): method Children (line 78) | def Children(self): class ChomboHierarchy (line 82) | class ChomboHierarchy(GridIndex): method __init__ (line 86) | def __init__(self, ds, dataset_type="chombo_hdf5"): method _read_particles (line 103) | def _read_particles(self): method _detect_output_fields (line 127) | def _detect_output_fields(self): method _count_grids (line 142) | def _count_grids(self): method _parse_index (line 153) | def _parse_index(self): method _populate_grid_objects (line 206) | def _populate_grid_objects(self): method _setup_derived_fields (line 212) | def _setup_derived_fields(self): method _reconstruct_parent_child (line 215) | def _reconstruct_parent_child(self): class ChomboDataset (line 236) | class ChomboDataset(Dataset): method __init__ (line 241) | def __init__( method _set_code_unit_attributes (line 274) | def _set_code_unit_attributes(self): method _localize (line 287) | def _localize(self, f, default): method _parse_parameter_file (line 292) | def _parse_parameter_file(self): method _determine_current_time (line 315) | def _determine_current_time(self): method _determine_periodic (line 328) | def _determine_periodic(self): method _calc_left_edge (line 338) | def _calc_left_edge(self): method _calc_right_edge (line 345) | def _calc_right_edge(self): method _calc_domain_dimensions (line 352) | def _calc_domain_dimensions(self): method _is_valid (line 360) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method print_key_parameters (line 391) | def print_key_parameters(self): class PlutoHierarchy (line 405) | class PlutoHierarchy(ChomboHierarchy): method __init__ (line 406) | def __init__(self, ds, dataset_type="chombo_hdf5"): method _parse_index (line 409) | def _parse_index(self): class PlutoDataset (line 465) | class PlutoDataset(ChomboDataset): method __init__ (line 469) | def __init__( method _parse_parameter_file (line 490) | def _parse_parameter_file(self): method _is_valid (line 555) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class Orion2Hierarchy (line 575) | class Orion2Hierarchy(ChomboHierarchy): method __init__ (line 576) | def __init__(self, ds, dataset_type="orion_chombo_native"): method _detect_output_fields (line 579) | def _detect_output_fields(self): method _read_particles (line 594) | def _read_particles(self): class Orion2Dataset (line 637) | class Orion2Dataset(ChomboDataset): method __init__ (line 642) | def __init__( method _parse_parameter_file (line 661) | def _parse_parameter_file(self): method _parse_inputs_file (line 683) | def _parse_inputs_file(self, ini_filename): method _is_valid (line 716) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class ChomboPICHierarchy (line 751) | class ChomboPICHierarchy(ChomboHierarchy): method __init__ (line 752) | def __init__(self, ds, dataset_type="chombo_hdf5"): class ChomboPICDataset (line 756) | class ChomboPICDataset(ChomboDataset): method __init__ (line 761) | def __init__( method _is_valid (line 785) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/chombo/fields.py class ChomboFieldInfo (line 20) | class ChomboFieldInfo(FieldInfoContainer): class Orion2FieldInfo (line 28) | class Orion2FieldInfo(ChomboFieldInfo): method setup_particle_fields (line 67) | def setup_particle_fields(self, ptype): method setup_fluid_fields (line 87) | def setup_fluid_fields(self): class ChomboPICFieldInfo3D (line 195) | class ChomboPICFieldInfo3D(FieldInfoContainer): method setup_particle_fields (line 219) | def setup_particle_fields(self, ptype, ftype="gas", num_neighbors=64): function _dummy_position (line 265) | def _dummy_position(data): function _dummy_velocity (line 269) | def _dummy_velocity(data): function _dummy_field (line 273) | def _dummy_field(data): class ChomboPICFieldInfo2D (line 281) | class ChomboPICFieldInfo2D(ChomboPICFieldInfo3D): method __init__ (line 299) | def __init__(self, ds, field_list): class ChomboPICFieldInfo1D (line 326) | class ChomboPICFieldInfo1D(ChomboPICFieldInfo3D): method __init__ (line 341) | def __init__(self, ds, field_list): class PlutoFieldInfo (line 386) | class PlutoFieldInfo(ChomboFieldInfo): method setup_fluid_fields (line 400) | def setup_fluid_fields(self): FILE: yt/frontends/chombo/io.py class IOHandlerChomboHDF5 (line 10) | class IOHandlerChomboHDF5(BaseIOHandler): method __init__ (line 16) | def __init__(self, ds, *args, **kwargs): method _calculate_offsets (line 25) | def _calculate_offsets(self): method _read_ghost_info (line 47) | def _read_ghost_info(self): method field_dict (line 62) | def field_dict(self): method particle_field_index (line 76) | def particle_field_index(self): method _read_data (line 89) | def _read_data(self, grid, field): method _read_fluid_selection (line 110) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_selection (line 146) | def _read_particle_selection(self, chunks, selector, fields): method _read_particles (line 169) | def _read_particles(self, grid, name): function parse_orion_sinks (line 198) | def parse_orion_sinks(fn): class IOHandlerOrion2HDF5 (line 262) | class IOHandlerOrion2HDF5(IOHandlerChomboHDF5): method particle_field_index (line 268) | def particle_field_index(self): method _read_particles (line 276) | def _read_particles(self, grid, field): FILE: yt/frontends/chombo/tests/test_outputs.py function test_gc (line 21) | def test_gc(): function test_tb (line 34) | def test_tb(): function test_iso (line 47) | def test_iso(): function test_zp (line 61) | def test_zp(): function test_kho (line 74) | def test_kho(): function test_ChomboDataset (line 84) | def test_ChomboDataset(): function test_Orion2Dataset (line 90) | def test_Orion2Dataset(): function test_PlutoDataset (line 96) | def test_PlutoDataset(): function test_units_override_zp (line 102) | def test_units_override_zp(): function test_units_override_gc (line 108) | def test_units_override_gc(): function test_units_override_kho (line 114) | def test_units_override_kho(): FILE: yt/frontends/eagle/data_structures.py class EagleDataset (line 12) | class EagleDataset(GadgetHDF5Dataset): method _parse_parameter_file (line 18) | def _parse_parameter_file(self): method _set_code_unit_attributes (line 36) | def _set_code_unit_attributes(self): method _is_valid (line 40) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class EagleNetworkDataset (line 74) | class EagleNetworkDataset(EagleDataset): method _is_valid (line 81) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/eagle/fields.py class EagleNetworkFieldInfo (line 7) | class EagleNetworkFieldInfo(OWLSFieldInfo): method __init__ (line 129) | def __init__(self, ds, field_list, slice_info=None): method _create_ion_density_func (line 132) | def _create_ion_density_func(self, ftype, ion): FILE: yt/frontends/eagle/io.py class IOHandlerEagleNetwork (line 4) | class IOHandlerEagleNetwork(IOHandlerOWLS): FILE: yt/frontends/eagle/tests/test_outputs.py function test_EagleDataset (line 10) | def test_EagleDataset(): function test_Snipshot (line 22) | def test_Snipshot(): FILE: yt/frontends/enzo/answer_testing_support.py class AssertWrapper (line 19) | class AssertWrapper: method __init__ (line 25) | def __init__(self, description, *args): method __call__ (line 31) | def __call__(self): function requires_outputlog (line 35) | def requires_outputlog(path=".", prefix=""): function standard_small_simulation (line 64) | def standard_small_simulation(ds_fn, fields): class ShockTubeTest (line 84) | class ShockTubeTest: method __init__ (line 85) | def __init__( method __call__ (line 96) | def __call__(self): method get_analytical_solution (line 119) | def get_analytical_solution(self): FILE: yt/frontends/enzo/data_structures.py class EnzoGrid (line 25) | class EnzoGrid(AMRGridPatch): method __init__ (line 30) | def __init__(self, id, index): method set_filename (line 41) | def set_filename(self, filename): method Parent (line 59) | def Parent(self): method Children (line 65) | def Children(self): method NumberOfActiveParticles (line 69) | def NumberOfActiveParticles(self): class EnzoGridInMemory (line 80) | class EnzoGridInMemory(EnzoGrid): method set_filename (line 83) | def set_filename(self, filename): class EnzoGridGZ (line 87) | class EnzoGridGZ(EnzoGrid): method retrieve_ghost_zones (line 90) | def retrieve_ghost_zones(self, n_zones, fields, all_levels=False, smoo... class EnzoHierarchy (line 142) | class EnzoHierarchy(GridIndex): method __init__ (line 147) | def __init__(self, ds, dataset_type): method _count_grids (line 164) | def _count_grids(self): method _guess_dataset_type (line 185) | def _guess_dataset_type(self, rank, test_grid, test_grid_id): method _parse_index (line 211) | def _parse_index(self): method _initialize_grid_arrays (line 282) | def _initialize_grid_arrays(self): method _fill_arrays (line 293) | def _fill_arrays(self, ei, si, LE, RE, npart, nap): method __pointer_handler (line 304) | def __pointer_handler(self, m): method _rebuild_top_grids (line 325) | def _rebuild_top_grids(self, level=0): method _populate_grid_objects (line 344) | def _populate_grid_objects(self): method _detect_active_particle_fields (line 352) | def _detect_active_particle_fields(self): method _setup_derived_fields (line 388) | def _setup_derived_fields(self): method _detect_output_fields (line 403) | def _detect_output_fields(self): method _generate_random_grids (line 442) | def _generate_random_grids(self): method _get_particle_type_counts (line 463) | def _get_particle_type_counts(self): method find_particles_by_type (line 472) | def find_particles_by_type(self, ptype, max_num=None, additional_field... class EnzoHierarchyInMemory (line 534) | class EnzoHierarchyInMemory(EnzoHierarchy): method enzo (line 538) | def enzo(self): method __init__ (line 543) | def __init__(self, ds, dataset_type=None): method _initialize_data_storage (line 551) | def _initialize_data_storage(self): method _count_grids (line 554) | def _count_grids(self): method _parse_index (line 557) | def _parse_index(self): method _initialize_grid_arrays (line 585) | def _initialize_grid_arrays(self): method _copy_index_structure (line 589) | def _copy_index_structure(self): method save_data (line 602) | def save_data(self, *args, **kwargs): method _generate_random_grids (line 608) | def _generate_random_grids(self): method _chunk_io (line 620) | def _chunk_io(self, dobj, cache=True, local_only=False): class EnzoHierarchy1D (line 634) | class EnzoHierarchy1D(EnzoHierarchy): method _fill_arrays (line 635) | def _fill_arrays(self, ei, si, LE, RE, npart, nap): class EnzoHierarchy2D (line 649) | class EnzoHierarchy2D(EnzoHierarchy): method _fill_arrays (line 650) | def _fill_arrays(self, ei, si, LE, RE, npart, nap): class EnzoDataset (line 664) | class EnzoDataset(Dataset): method __init__ (line 673) | def __init__( method _setup_1d (line 712) | def _setup_1d(self): method _setup_2d (line 717) | def _setup_2d(self): method get_parameter (line 722) | def get_parameter(self, parameter, type=None): method unique_identifier (line 755) | def unique_identifier(self) -> str: method _parse_parameter_file (line 770) | def _parse_parameter_file(self): method _parse_enzo3_parameter_file (line 784) | def _parse_enzo3_parameter_file(self, f): method _parse_enzo2_parameter_file (line 828) | def _parse_enzo2_parameter_file(self, f): method _set_code_unit_attributes (line 941) | def _set_code_unit_attributes(self): method _is_valid (line 986) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method _guess_candidates (line 992) | def _guess_candidates(cls, base, directories, files): class EnzoDatasetInMemory (line 1003) | class EnzoDatasetInMemory(EnzoDataset): method __init__ (line 1007) | def __init__(self, parameter_override=None, conversion_override=None): method _parse_parameter_file (line 1018) | def _parse_parameter_file(self): method _obtain_enzo (line 1060) | def _obtain_enzo(self): method _is_valid (line 1066) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: function rblocks (line 1075) | def rblocks(f, blocksize=4096): function rlines (line 1098) | def rlines(f, keepends=False): FILE: yt/frontends/enzo/fields.py class EnzoFieldInfo (line 51) | class EnzoFieldInfo(FieldInfoContainer): method __init__ (line 116) | def __init__(self, ds, field_list): method add_species_field (line 137) | def add_species_field(self, species): method setup_species_fields (line 157) | def setup_species_fields(self): method setup_fluid_fields (line 179) | def setup_fluid_fields(self): method setup_energy_field (line 193) | def setup_energy_field(self): method setup_particle_fields (line 323) | def setup_particle_fields(self, ptype): FILE: yt/frontends/enzo/io.py class IOHandlerPackedHDF5 (line 13) | class IOHandlerPackedHDF5(BaseIOHandler): method _read_field_names (line 18) | def _read_field_names(self, grid): method _read_exception (line 59) | def _read_exception(self): method _read_particle_coords (line 62) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 68) | def _read_particle_fields(self, chunks, ptf, selector): method io_iter (line 122) | def io_iter(self, chunks, fields): method _read_obj_field (line 149) | def _read_obj_field(self, obj, field, fid_data): class IOHandlerPackedHDF5GhostZones (line 178) | class IOHandlerPackedHDF5GhostZones(IOHandlerPackedHDF5): method __init__ (line 181) | def __init__(self, *args, **kwargs): method _read_obj_field (line 186) | def _read_obj_field(self, *args, **kwargs): class IOHandlerInMemory (line 190) | class IOHandlerInMemory(BaseIOHandler): method __init__ (line 193) | def __init__(self, ds, ghost_zones=3): method _read_field_names (line 207) | def _read_field_names(self, grid): method _read_fluid_selection (line 223) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_coords (line 263) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 280) | def _read_particle_fields(self, chunks, ptf, selector): class IOHandlerPacked2D (line 305) | class IOHandlerPacked2D(IOHandlerPackedHDF5): method _read_data_set (line 309) | def _read_data_set(self, grid, field): method _read_fluid_selection (line 315) | def _read_fluid_selection(self, chunks, selector, fields, size): class IOHandlerPacked1D (line 361) | class IOHandlerPacked1D(IOHandlerPackedHDF5): method _read_data_set (line 365) | def _read_data_set(self, grid, field): FILE: yt/frontends/enzo/misc.py function cosmology_get_units (line 12) | def cosmology_get_units( FILE: yt/frontends/enzo/simulation_handling.py class EnzoSimulation (line 22) | class EnzoSimulation(SimulationTimeSeries): method __init__ (line 53) | def __init__(self, parameter_filename, find_outputs=False): method _set_units (line 60) | def _set_units(self): method get_time_series (line 109) | def get_time_series( method _parse_parameter_file (line 319) | def _parse_parameter_file(self): method _calculate_time_outputs (line 433) | def _calculate_time_outputs(self): method _calculate_cycle_outputs (line 467) | def _calculate_cycle_outputs(self): method _get_all_outputs (line 496) | def _get_all_outputs(self, *, find_outputs=False): method _calculate_simulation_bounds (line 536) | def _calculate_simulation_bounds(self): method _set_parameter_defaults (line 573) | def _set_parameter_defaults(self): method _find_outputs (line 596) | def _find_outputs(self): method _check_for_outputs (line 630) | def _check_for_outputs(self, potential_outputs): method _write_cosmology_outputs (line 677) | def _write_cosmology_outputs(self, filename, outputs, start_index, dec... class EnzoCosmology (line 692) | class EnzoCosmology(Cosmology): method __init__ (line 693) | def __init__( FILE: yt/frontends/enzo/tests/test_outputs.py function color_conservation (line 39) | def color_conservation(ds): function check_color_conservation (line 71) | def check_color_conservation(ds): function test_moving7 (line 109) | def test_moving7(): function test_galaxy0030 (line 119) | def test_galaxy0030(): function test_toro1d (line 131) | def test_toro1d(): function test_kh2d (line 141) | def test_kh2d(): function test_ecp (line 151) | def test_ecp(): function test_units_override (line 159) | def test_units_override(): function test_nuclei_density_fields (line 165) | def test_nuclei_density_fields(): function test_EnzoDataset (line 184) | def test_EnzoDataset(): function test_active_particle_datasets (line 191) | def test_active_particle_datasets(): function test_face_centered_mhdct_fields (line 235) | def test_face_centered_mhdct_fields(): function test_deeply_nested_zoom (line 254) | def test_deeply_nested_zoom(): function test_2d_grid_shape (line 279) | def test_2d_grid_shape(): function test_nonzero_omega_radiation (line 290) | def test_nonzero_omega_radiation(): FILE: yt/frontends/enzo_e/data_structures.py class EnzoEGrid (line 27) | class EnzoEGrid(AMRGridPatch): method __init__ (line 35) | def __init__(self, id, index, block_name, filename=None): method __repr__ (line 47) | def __repr__(self): method _prepare_grid (line 50) | def _prepare_grid(self): method get_parent_id (line 58) | def get_parent_id(self, desc_block_name): method add_child (line 73) | def add_child(self, child): method particle_count (line 85) | def particle_count(self): method total_particles (line 97) | def total_particles(self) -> int: method Parent (line 101) | def Parent(self): method Children (line 107) | def Children(self): class EnzoEHierarchy (line 113) | class EnzoEHierarchy(GridIndex): method __init__ (line 118) | def __init__(self, ds, dataset_type): method _count_grids (line 128) | def _count_grids(self): method _parse_index (line 146) | def _parse_index(self): method _populate_grid_objects (line 241) | def _populate_grid_objects(self): method _setup_derived_fields (line 247) | def _setup_derived_fields(self): method _get_particle_type_counts (line 257) | def _get_particle_type_counts(self): method _detect_output_fields (line 263) | def _detect_output_fields(self): class EnzoEDataset (line 282) | class EnzoEDataset(Dataset): method __init__ (line 295) | def __init__( method _parse_parameter_file (line 332) | def _parse_parameter_file(self): method _parse_fluid_prop_params (line 428) | def _parse_fluid_prop_params(self): method _set_code_unit_attributes (line 462) | def _set_code_unit_attributes(self): method __str__ (line 501) | def __str__(self): method _is_valid (line 505) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/enzo_e/fields.py class EnzoEFieldInfo (line 25) | class EnzoEFieldInfo(FieldInfoContainer): method __init__ (line 58) | def __init__(self, ds, field_list, slice_info=None): method setup_fluid_fields (line 67) | def setup_fluid_fields(self): method setup_energy_field (line 73) | def setup_energy_field(self): method setup_particle_fields (line 116) | def setup_particle_fields(self, ptype, ftype="gas", num_neighbors=64): method setup_particle_mass_field (line 120) | def setup_particle_mass_field(self, ptype): FILE: yt/frontends/enzo_e/io.py class EnzoEIOHandler (line 9) | class EnzoEIOHandler(BaseIOHandler): method __init__ (line 15) | def __init__(self, *args, **kwargs): method _read_field_names (line 45) | def _read_field_names(self, grid): method _read_particle_coords (line 90) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 96) | def _read_particle_fields(self, chunks, ptf, selector): method io_iter (line 148) | def io_iter(self, chunks, fields): method _read_obj_field (line 178) | def _read_obj_field(self, obj, field, fid_data): FILE: yt/frontends/enzo_e/misc.py function bdecode (line 5) | def bdecode(block): function get_block_string_and_dim (line 27) | def get_block_string_and_dim(block, min_dim=3): function get_block_level (line 33) | def get_block_level(block): function get_block_info (line 41) | def get_block_info(block, min_dim=3): function get_root_blocks (line 66) | def get_root_blocks(block, min_dim=3): function get_root_block_id (line 77) | def get_root_block_id(block, min_dim=3): function get_child_index (line 90) | def get_child_index(anc_id, desc_id): function is_parent (line 98) | def is_parent(anc_block, desc_block): function nested_dict_get (line 109) | def nested_dict_get(pdict, keys, default=None): function get_listed_subparam (line 126) | def get_listed_subparam(pdict, parent_param, subparam, default=None): function get_particle_mass_correction (line 138) | def get_particle_mass_correction(ds): FILE: yt/frontends/enzo_e/tests/test_misc.py function get_random_block_string (line 12) | def get_random_block_string(max_n=64, random_state=None, level=None): function flip_random_block_bit (line 38) | def flip_random_block_bit(block, rs): function test_get_block_info (line 73) | def test_get_block_info(): function test_root_blocks (line 90) | def test_root_blocks(): function test_is_parent (line 104) | def test_is_parent(): function test_nested_dict_get (line 130) | def test_nested_dict_get(): function test_nested_dict_get_real_none (line 150) | def test_nested_dict_get_real_none(): FILE: yt/frontends/enzo_e/tests/test_outputs.py function test_EnzoEDataset (line 39) | def test_EnzoEDataset(): function test_hello_world (line 45) | def test_hello_world(): function test_particle_fields (line 65) | def test_particle_fields(): function test_hierarchy (line 80) | def test_hierarchy(): function test_critical_density (line 99) | def test_critical_density(): function test_face_centered_bfields (line 118) | def test_face_centered_bfields(): FILE: yt/frontends/exodus_ii/data_structures.py class ExodusIIUnstructuredMesh (line 15) | class ExodusIIUnstructuredMesh(UnstructuredMesh): method __init__ (line 18) | def __init__(self, *args, **kwargs): class ExodusIIUnstructuredIndex (line 22) | class ExodusIIUnstructuredIndex(UnstructuredIndex): method __init__ (line 23) | def __init__(self, ds, dataset_type="exodus_ii"): method _initialize_mesh (line 26) | def _initialize_mesh(self): method _detect_output_fields (line 38) | def _detect_output_fields(self): class ExodusIIDataset (line 48) | class ExodusIIDataset(Dataset): method __init__ (line 53) | def __init__( method index_filename (line 156) | def index_filename(self): method _set_code_unit_attributes (line 160) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 174) | def _parse_parameter_file(self): method _get_fluid_types (line 199) | def _get_fluid_types(self): method _read_glo_var (line 213) | def _read_glo_var(self): method _load_info_records (line 226) | def _load_info_records(self): method _get_current_time (line 237) | def _get_current_time(self): method _get_glo_names (line 248) | def _get_glo_names(self): method _get_elem_names (line 264) | def _get_elem_names(self): method _get_nod_names (line 280) | def _get_nod_names(self): method _read_coordinates (line 296) | def _read_coordinates(self): method _apply_displacement (line 319) | def _apply_displacement(self, coords, mesh_id): method _read_connectivity (line 337) | def _read_connectivity(self): method _load_domain_edge (line 368) | def _load_domain_edge(self): method _is_valid (line 403) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/exodus_ii/fields.py class ExodusIIFieldInfo (line 8) | class ExodusIIFieldInfo(FieldInfoContainer): method __init__ (line 19) | def __init__(self, ds, field_list): method setup_fluid_fields (line 25) | def setup_fluid_fields(self): method setup_particle_fields (line 30) | def setup_particle_fields(self, ptype): FILE: yt/frontends/exodus_ii/io.py class IOHandlerExodusII (line 7) | class IOHandlerExodusII(BaseIOHandler): method __init__ (line 12) | def __init__(self, ds): method _read_particle_coords (line 20) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 23) | def _read_particle_fields(self, chunks, ptf, selector): method _read_fluid_selection (line 26) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_chunk_data (line 80) | def _read_chunk_data(self, chunk, fields): FILE: yt/frontends/exodus_ii/simulation_handling.py class ExodusIISimulation (line 11) | class ExodusIISimulation(DatasetSeries): method __init__ (line 31) | def __init__(self, simulation_directory, find_outputs=False): method __iter__ (line 38) | def __iter__(self): method __getitem__ (line 45) | def __getitem__(self, key): method get_time_series (line 57) | def get_time_series(self, parallel=False, setup_function=None): method _check_for_outputs (line 77) | def _check_for_outputs(self, potential_outputs): FILE: yt/frontends/exodus_ii/tests/test_outputs.py function test_out (line 14) | def test_out(): function test_out002 (line 42) | def test_out002(): function test_gold (line 68) | def test_gold(): function test_displacement_fields (line 79) | def test_displacement_fields(): FILE: yt/frontends/exodus_ii/util.py function get_num_pseudo_dims (line 9) | def get_num_pseudo_dims(coords): function sanitize_string (line 14) | def sanitize_string(s): function load_info_records (line 19) | def load_info_records(info_records): function group_by_sections (line 24) | def group_by_sections(info_records): function get_top_levels (line 56) | def get_top_levels(info_records): FILE: yt/frontends/fits/data_structures.py class FITSGrid (line 46) | class FITSGrid(AMRGridPatch): method __init__ (line 49) | def __init__(self, id, index, level): class FITSHierarchy (line 56) | class FITSHierarchy(GridIndex): method __init__ (line 59) | def __init__(self, ds, dataset_type="fits"): method _initialize_data_storage (line 70) | def _initialize_data_storage(self): method _guess_name_from_units (line 73) | def _guess_name_from_units(self, units): method _determine_image_units (line 83) | def _determine_image_units(self, bunit): method _ensure_same_dims (line 99) | def _ensure_same_dims(self, hdu): method _detect_output_fields (line 110) | def _detect_output_fields(self): method _count_grids (line 190) | def _count_grids(self): method _parse_index (line 193) | def _parse_index(self): method _domain_decomp (line 209) | def _domain_decomp(self): method _populate_grid_objects (line 220) | def _populate_grid_objects(self): method _setup_derived_fields (line 226) | def _setup_derived_fields(self): method _setup_data_io (line 239) | def _setup_data_io(self): method _chunk_io (line 242) | def _chunk_io(self, dobj, cache=True, local_only=False): function find_primary_header (line 256) | def find_primary_header(fileh): function check_fits_valid (line 266) | def check_fits_valid(filename): function check_sky_coords (line 291) | def check_sky_coords(filename, ndim): class FITSDataset (line 315) | class FITSDataset(Dataset): method __init__ (line 322) | def __init__( method _set_code_unit_attributes (line 387) | def _set_code_unit_attributes(self): method filename (line 429) | def filename(self) -> str: method unique_identifier (line 436) | def unique_identifier(self) -> str: method _parse_parameter_file (line 442) | def _parse_parameter_file(self): method _determine_nprocs (line 489) | def _determine_nprocs(self): method _determine_structure (line 499) | def _determine_structure(self): method _determine_wcs (line 508) | def _determine_wcs(self): method _determine_bbox (line 520) | def _determine_bbox(self): method _determine_axes (line 533) | def _determine_axes(self): method _is_valid (line 540) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method _guess_candidates (line 556) | def _guess_candidates(cls, base, directories, files): method close (line 568) | def close(self): function find_axes (line 572) | def find_axes(axis_names, prefixes): class YTFITSDataset (line 580) | class YTFITSDataset(FITSDataset): method _parse_parameter_file (line 584) | def _parse_parameter_file(self): method _set_code_unit_attributes (line 590) | def _set_code_unit_attributes(self): method _determine_bbox (line 629) | def _determine_bbox(self): method _is_valid (line 646) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class SkyDataFITSDataset (line 666) | class SkyDataFITSDataset(FITSDataset): method _determine_wcs (line 670) | def _determine_wcs(self): method _parse_parameter_file (line 678) | def _parse_parameter_file(self): method _set_code_unit_attributes (line 710) | def _set_code_unit_attributes(self): method _is_valid (line 727) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class SpectralCubeFITSHierarchy (line 737) | class SpectralCubeFITSHierarchy(FITSHierarchy): method _domain_decomp (line 738) | def _domain_decomp(self): class SpectralCubeFITSDataset (line 756) | class SpectralCubeFITSDataset(SkyDataFITSDataset): method __init__ (line 760) | def __init__( method _parse_parameter_file (line 788) | def _parse_parameter_file(self): method _determine_nprocs (line 827) | def _determine_nprocs(self): method spec2pixel (line 835) | def spec2pixel(self, spec_value): method pixel2spec (line 839) | def pixel2spec(self, pixel_value): method _is_valid (line 844) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class EventsFITSHierarchy (line 854) | class EventsFITSHierarchy(FITSHierarchy): method _detect_output_fields (line 855) | def _detect_output_fields(self): method _parse_index (line 869) | def _parse_index(self): class EventsFITSDataset (line 879) | class EventsFITSDataset(SkyDataFITSDataset): method __init__ (line 883) | def __init__( method _determine_structure (line 904) | def _determine_structure(self): method _determine_wcs (line 909) | def _determine_wcs(self): method _is_valid (line 950) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/fits/fields.py class FITSFieldInfo (line 5) | class FITSFieldInfo(FieldInfoContainer): method __init__ (line 8) | def __init__(self, ds, field_list, slice_info=None): class YTFITSFieldInfo (line 15) | class YTFITSFieldInfo(FieldInfoContainer): method __init__ (line 48) | def __init__(self, ds, field_list, slice_info=None): class WCSFITSFieldInfo (line 52) | class WCSFITSFieldInfo(FITSFieldInfo): method setup_fluid_fields (line 53) | def setup_fluid_fields(self): FILE: yt/frontends/fits/io.py class IOHandlerFITS (line 7) | class IOHandlerFITS(BaseIOHandler): method __init__ (line 11) | def __init__(self, ds): method _read_particles (line 16) | def _read_particles( method _read_particle_coords (line 21) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 32) | def _read_particle_fields(self, chunks, ptf, selector): method _read_fluid_selection (line 52) | def _read_fluid_selection(self, chunks, selector, fields, size): FILE: yt/frontends/fits/misc.py function _make_counts (line 13) | def _make_counts(emin, emax): function setup_counts_fields (line 34) | def setup_counts_fields(ds, ebounds, ftype="gas"): function create_spectral_slabs (line 68) | def create_spectral_slabs(filename, slab_centers, slab_width, **kwargs): function ds9_region (line 136) | def ds9_region(ds, reg, obj=None, field_parameters=None): class PlotWindowWCS (line 205) | class PlotWindowWCS: method __init__ (line 219) | def __init__(self, pw): method keys (line 255) | def keys(self): method values (line 258) | def values(self): method items (line 261) | def items(self): method __getitem__ (line 264) | def __getitem__(self, key): method show (line 269) | def show(self): method save (line 272) | def save(self, name=None, mpl_kwargs=None): method _repr_html_ (line 278) | def _repr_html_(self): FILE: yt/frontends/fits/tests/test_outputs.py function test_grs (line 23) | def test_grs(): function test_velocity_field (line 38) | def test_velocity_field(): function test_acis (line 54) | def test_acis(): function test_A2052 (line 74) | def test_A2052(): function test_units_override (line 85) | def test_units_override(): function test_FITSDataset (line 90) | def test_FITSDataset(): function test_SpectralCubeFITSDataset (line 95) | def test_SpectralCubeFITSDataset(): function test_EventsFITSDataset (line 100) | def test_EventsFITSDataset(): function test_SkyDataFITSDataset (line 105) | def test_SkyDataFITSDataset(): FILE: yt/frontends/flash/data_structures.py class FLASHGrid (line 20) | class FLASHGrid(AMRGridPatch): method __init__ (line 24) | def __init__(self, id, index, level): class FLASHHierarchy (line 31) | class FLASHHierarchy(GridIndex): method __init__ (line 35) | def __init__(self, ds, dataset_type="flash_hdf5"): method _initialize_data_storage (line 47) | def _initialize_data_storage(self): method _detect_output_fields (line 50) | def _detect_output_fields(self): method _count_grids (line 61) | def _count_grids(self): method _parse_index (line 74) | def _parse_index(self): method _populate_grid_objects (line 143) | def _populate_grid_objects(self): class FLASHDataset (line 166) | class FLASHDataset(Dataset): method __init__ (line 172) | def __init__( method _set_code_unit_attributes (line 247) | def _set_code_unit_attributes(self): method set_code_units (line 279) | def set_code_units(self): method _find_parameter (line 282) | def _find_parameter(self, ptype, pname, scalar=False): method _parse_parameter_file (line 302) | def _parse_parameter_file(self): method _is_valid (line 485) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method _guess_candidates (line 498) | def _guess_candidates(cls, base, directories, files): method close (line 505) | def close(self): class FLASHParticleFile (line 509) | class FLASHParticleFile(ParticleFile): class FLASHParticleDataset (line 513) | class FLASHParticleDataset(FLASHDataset): method __init__ (line 519) | def __init__( method _parse_parameter_file (line 545) | def _parse_parameter_file(self): method _is_valid (line 556) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method _guess_candidates (line 575) | def _guess_candidates(cls, base, directories, files): FILE: yt/frontends/flash/fields.py class FLASHFieldInfo (line 27) | class FLASHFieldInfo(FieldInfoContainer): method setup_fluid_fields (line 86) | def setup_fluid_fields(self): FILE: yt/frontends/flash/io.py function particle_sequences (line 11) | def particle_sequences(grids): function grid_sequences (line 18) | def grid_sequences(grids): function determine_particle_fields (line 25) | def determine_particle_fields(handle): function _conditionally_split_arrays (line 36) | def _conditionally_split_arrays(inp_arrays, condition): class IOHandlerFLASH (line 45) | class IOHandlerFLASH(BaseIOHandler): method __init__ (line 49) | def __init__(self, ds): method _read_particles (line 56) | def _read_particles( method io_iter (line 61) | def io_iter(self, chunks, fields): method _read_particle_coords (line 77) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 115) | def _read_particle_fields(self, chunks, ptf, selector): method _read_obj_field (line 172) | def _read_obj_field(self, obj, field, ds_offset=None): method _read_chunk_data (line 186) | def _read_chunk_data(self, chunk, fields): class IOHandlerFLASHParticle (line 215) | class IOHandlerFLASHParticle(BaseIOHandler): method __init__ (line 219) | def __init__(self, ds): method chunksize (line 229) | def chunksize(self): method _read_fluid_selection (line 232) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_coords (line 235) | def _read_particle_coords(self, chunks, ptf): method _yield_coordinates (line 250) | def _yield_coordinates(self, data_file, needed_ptype=None): method _read_particle_data_file (line 258) | def _read_particle_data_file(self, data_file, ptf, selector=None): method _read_particle_fields (line 284) | def _read_particle_fields(self, chunks, ptf, selector): method _pcount (line 289) | def _pcount(self): method _count_particles (line 292) | def _count_particles(self, data_file): method _identify_fields (line 299) | def _identify_fields(self, data_file): FILE: yt/frontends/flash/tests/test_outputs.py function test_sloshing (line 28) | def test_sloshing(): function test_wind_tunnel (line 43) | def test_wind_tunnel(): function test_FLASHDataset (line 53) | def test_FLASHDataset(): function test_units_override (line 59) | def test_units_override(): function test_magnetic_units (line 66) | def test_magnetic_units(): function test_mu (line 83) | def test_mu(): function test_FLASHParticleDataset (line 106) | def test_FLASHParticleDataset(): function test_FLASHParticleDataset_selection (line 112) | def test_FLASHParticleDataset_selection(): function test_FLASH25_dataset (line 123) | def test_FLASH25_dataset(): function test_fid_1to3_b1 (line 136) | def test_fid_1to3_b1(): function test_blockless_particles (line 150) | def test_blockless_particles(): FILE: yt/frontends/gadget/data_structures.py function _fix_unit_ordering (line 26) | def _fix_unit_ordering(unit): function _byte_swap_32 (line 32) | def _byte_swap_32(x): class GadgetBinaryHeader (line 36) | class GadgetBinaryHeader: method __init__ (line 46) | def __init__(self, filename, header_spec): method float_type (line 56) | def float_type(self): method gadget_format (line 80) | def gadget_format(self): method position_offset (line 110) | def position_offset(self): method size (line 119) | def size(self): method value (line 130) | def value(self): method open (line 153) | def open(self): method validate (line 160) | def validate(self): class GadgetBinaryFile (line 171) | class GadgetBinaryFile(ParticleFile): method __init__ (line 172) | def __init__(self, ds, io, filename, file_id, range=None): method _calculate_offsets (line 181) | def _calculate_offsets(self, field_list, pcounts): class GadgetBinaryIndex (line 193) | class GadgetBinaryIndex(SPHParticleIndex): method __init__ (line 194) | def __init__(self, ds, dataset_type): method _initialize_index (line 198) | def _initialize_index(self): method _initialize_frontend_specific (line 206) | def _initialize_frontend_specific(self): class GadgetDataset (line 211) | class GadgetDataset(SPHDataset): method __init__ (line 221) | def __init__( method _setup_binary_spec (line 334) | def _setup_binary_spec(cls, spec, spec_dict): method __str__ (line 342) | def __str__(self): method _get_hvals (line 345) | def _get_hvals(self): method _parse_parameter_file (line 349) | def _parse_parameter_file(self): method _set_code_unit_attributes (line 431) | def _set_code_unit_attributes(self): method _is_valid (line 534) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class GadgetHDF5File (line 557) | class GadgetHDF5File(ParticleFile): class GadgetHDF5Dataset (line 561) | class GadgetHDF5Dataset(GadgetDataset): method __init__ (line 570) | def __init__( method _get_hvals (line 602) | def _get_hvals(self): method _get_uvals (line 630) | def _get_uvals(self): method _set_owls_eagle (line 637) | def _set_owls_eagle(self): method _set_owls_eagle_units (line 674) | def _set_owls_eagle_units(self): method _is_valid (line 692) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/gadget/fields.py class GadgetFieldInfo (line 11) | class GadgetFieldInfo(SPHFieldInfo): method __init__ (line 12) | def __init__(self, ds, field_list, slice_info=None): method setup_particle_fields (line 22) | def setup_particle_fields(self, ptype, *args, **kwargs): method _setup_four_metal_fractions (line 39) | def _setup_four_metal_fractions(self, ptype): method _make_fraction_functions (line 75) | def _make_fraction_functions(self, ptype, fname): method _setup_metal_masses (line 142) | def _setup_metal_masses(self, ptype, fname): method _check_whitelist_species_fields (line 228) | def _check_whitelist_species_fields(self, ptype): method setup_gas_particle_fields (line 240) | def setup_gas_particle_fields(self, ptype): FILE: yt/frontends/gadget/io.py class IOHandlerGadgetHDF5 (line 16) | class IOHandlerGadgetHDF5(IOHandlerSPH): method var_mass (line 40) | def var_mass(self) -> tuple[str, ...]: method _read_fluid_selection (line 47) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_coords (line 50) | def _read_particle_coords(self, chunks, ptf): method _yield_coordinates (line 69) | def _yield_coordinates(self, data_file, needed_ptype=None): method _generate_smoothing_length (line 89) | def _generate_smoothing_length(self, index): method _get_smoothing_length (line 142) | def _get_smoothing_length(self, data_file, position_dtype, position_sh... method _read_particle_data_file (line 162) | def _read_particle_data_file(self, data_file, ptf, selector=None): method _count_particles (line 238) | def _count_particles(self, data_file): method _identify_fields (line 248) | def _identify_fields(self, data_file): class IOHandlerGadgetBinary (line 318) | class IOHandlerGadgetBinary(IOHandlerSPH): method __init__ (line 347) | def __init__(self, ds, *args, **kwargs): method var_mass (line 358) | def var_mass(self) -> tuple[str, ...]: method _read_fluid_selection (line 365) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_coords (line 368) | def _read_particle_coords(self, chunks, ptf): method _read_particle_data_file (line 391) | def _read_particle_data_file(self, data_file, ptf, selector=None): method _read_field_from_file (line 431) | def _read_field_from_file(self, f, count, name): method _yield_coordinates (line 451) | def _yield_coordinates(self, data_file, needed_ptype=None): method _get_smoothing_length (line 472) | def _get_smoothing_length(self, data_file, position_dtype, position_sh... method _get_field (line 482) | def _get_field(self, data_file, field, ptype): method _count_particles (line 490) | def _count_particles(self, data_file): method _calculate_field_offsets (line 501) | def _calculate_field_offsets( method _identify_fields (line 567) | def _identify_fields(self, domain): FILE: yt/frontends/gadget/simulation_handling.py class GadgetSimulation (line 22) | class GadgetSimulation(SimulationTimeSeries): method __init__ (line 52) | def __init__(self, parameter_filename, find_outputs=False): method _set_units (line 59) | def _set_units(self): method get_time_series (line 117) | def get_time_series( method _parse_parameter_file (line 298) | def _parse_parameter_file(self): method _find_data_dir (line 374) | def _find_data_dir(self): method _snapshot_format (line 391) | def _snapshot_format(self, index=None): method _get_all_outputs (line 410) | def _get_all_outputs(self, *, find_outputs=False): method _calculate_simulation_bounds (line 466) | def _calculate_simulation_bounds(self): method _find_outputs (line 492) | def _find_outputs(self): method _check_for_outputs (line 508) | def _check_for_outputs(self, potential_outputs): method _write_cosmology_outputs (line 538) | def _write_cosmology_outputs(self, filename, outputs, start_index, dec... FILE: yt/frontends/gadget/testing.py function write_record (line 20) | def write_record(fp, data, endian): function write_block (line 28) | def write_block(fp, data, endian, fmt, block_id): function fake_gadget_binary (line 40) | def fake_gadget_binary( FILE: yt/frontends/gadget/tests/test_gadget_pytest.py function test_gadget_header_array_reduction (line 10) | def test_gadget_header_array_reduction(tmp_path): FILE: yt/frontends/gadget/tests/test_outputs.py function test_gadget_binary (line 42) | def test_gadget_binary(): function test_gadget_hdf5 (line 68) | def test_gadget_hdf5(): function test_non_cosmo_dataset (line 75) | def test_non_cosmo_dataset(): function test_iso_collapse (line 87) | def test_iso_collapse(): function test_pid_uniqueness (line 95) | def test_pid_uniqueness(): function test_multifile_read (line 107) | def test_multifile_read(): function test_particle_subselection (line 117) | def test_particle_subselection(): function test_bigendian_field_access (line 127) | def test_bigendian_field_access(): function test_magneticum (line 152) | def test_magneticum(): function test_magneticum_camels (line 166) | def test_magneticum_camels(): FILE: yt/frontends/gadget_fof/data_structures.py class GadgetFOFParticleIndex (line 22) | class GadgetFOFParticleIndex(ParticleIndex): method _calculate_particle_count (line 23) | def _calculate_particle_count(self): method _calculate_particle_index_starts (line 32) | def _calculate_particle_index_starts(self): method _calculate_file_offset_map (line 53) | def _calculate_file_offset_map(self): method _detect_output_fields (line 68) | def _detect_output_fields(self): method _setup_filenames (line 90) | def _setup_filenames(self): method _setup_data_io (line 99) | def _setup_data_io(self): class GadgetFOFHDF5File (line 106) | class GadgetFOFHDF5File(HaloCatalogFile): method __init__ (line 107) | def __init__(self, ds, io, filename, file_id, frange): method _read_particle_positions (line 120) | def _read_particle_positions(self, ptype, f=None): class GadgetFOFDataset (line 139) | class GadgetFOFDataset(ParticleDataset): method __init__ (line 145) | def __init__( method add_field (line 174) | def add_field(self, *args, **kwargs): method halos_field_list (line 179) | def halos_field_list(self): method halos_derived_field_list (line 183) | def halos_derived_field_list(self): method _halos_ds (line 187) | def _halos_ds(self): method _setup_classes (line 190) | def _setup_classes(self): method _parse_parameter_file (line 194) | def _parse_parameter_file(self): method _set_code_unit_attributes (line 232) | def _set_code_unit_attributes(self): method __str__ (line 291) | def __str__(self): method _is_valid (line 295) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class GadgetFOFHaloParticleIndex (line 314) | class GadgetFOFHaloParticleIndex(GadgetFOFParticleIndex): method __init__ (line 315) | def __init__(self, ds, dataset_type): method _create_halo_id_table (line 319) | def _create_halo_id_table(self): method _detect_output_fields (line 338) | def _detect_output_fields(self): method _identify_base_chunk (line 366) | def _identify_base_chunk(self, dobj): method _read_particle_fields (line 369) | def _read_particle_fields(self, fields, dobj, chunk=None): method _get_halo_file_indices (line 378) | def _get_halo_file_indices(self, ptype, identifiers): method _get_halo_scalar_index (line 381) | def _get_halo_scalar_index(self, ptype, identifier): method _get_halo_values (line 386) | def _get_halo_values(self, ptype, identifiers, fields, f=None): method _setup_data_io (line 423) | def _setup_data_io(self): class GadgetFOFHaloDataset (line 428) | class GadgetFOFHaloDataset(HaloDataset): method __init__ (line 433) | def __init__(self, ds, dataset_type="gadget_fof_halo_hdf5"): method _is_valid (line 437) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class GadgetFOFHaloContainer (line 442) | class GadgetFOFHaloContainer(YTSelectionContainer): method __init__ (line 520) | def __init__(self, ptype, particle_identifier, ds=None): method __repr__ (line 653) | def __repr__(self): FILE: yt/frontends/gadget_fof/fields.py class GadgetFOFFieldInfo (line 74) | class GadgetFOFFieldInfo(FieldInfoContainer): class GadgetFOFHaloFieldInfo (line 91) | class GadgetFOFHaloFieldInfo(FieldInfoContainer): FILE: yt/frontends/gadget_fof/io.py class IOHandlerGadgetFOFHDF5 (line 10) | class IOHandlerGadgetFOFHDF5(BaseParticleIOHandler): method __init__ (line 13) | def __init__(self, ds): method _read_fluid_selection (line 17) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_coords (line 22) | def _read_particle_coords(self, chunks, ptf): method _yield_coordinates (line 35) | def _yield_coordinates(self, data_file): method _read_offset_particle_field (line 46) | def _read_offset_particle_field(self, field, data_file, fh): method _read_particle_fields (line 67) | def _read_particle_fields(self, chunks, ptf, selector): method _count_particles (line 107) | def _count_particles(self, data_file): method _identify_fields (line 118) | def _identify_fields(self, data_file): class IOHandlerGadgetFOFHaloHDF5 (line 136) | class IOHandlerGadgetFOFHaloHDF5(IOHandlerGadgetFOFHDF5): method _read_particle_coords (line 139) | def _read_particle_coords(self, chunks, ptf): method _read_particle_selection (line 142) | def _read_particle_selection(self, dobj, fields): method _read_scalar_fields (line 195) | def _read_scalar_fields(self, dobj, scalar_fields): method _read_member_fields (line 221) | def _read_member_fields(self, dobj, member_fields): method _read_particle_fields (line 254) | def _read_particle_fields(self, dobj, ptf): method _identify_fields (line 271) | def _identify_fields(self, data_file): function subfind_field_list (line 292) | def subfind_field_list(fh, ptype, pcount): FILE: yt/frontends/gadget_fof/tests/test_outputs.py function test_fields_g5 (line 30) | def test_fields_g5(): function test_fields_g42 (line 37) | def test_fields_g42(): function test_GadgetFOFDataset (line 44) | def test_GadgetFOFDataset(): function test_particle_selection (line 54) | def test_particle_selection(): function test_subhalos (line 62) | def test_subhalos(): function test_halo_masses (line 81) | def test_halo_masses(): function test_unbalanced_dataset (line 105) | def test_unbalanced_dataset(): function test_3file_halo (line 121) | def test_3file_halo(): FILE: yt/frontends/gamer/data_structures.py class GAMERGrid (line 18) | class GAMERGrid(AMRGridPatch): method __init__ (line 21) | def __init__(self, id, index, level): class GAMERHierarchy (line 28) | class GAMERHierarchy(GridIndex): method __init__ (line 32) | def __init__(self, ds, dataset_type="gamer"): method _detect_output_fields (line 46) | def _detect_output_fields(self): method _count_grids (line 55) | def _count_grids(self): method _parse_index (line 59) | def _parse_index(self): method _populate_grid_objects (line 115) | def _populate_grid_objects(self): method _validate_parent_children_relationship (line 139) | def _validate_parent_children_relationship(self): class GAMERDataset (line 193) | class GAMERDataset(Dataset): method __init__ (line 202) | def __init__( method _set_code_unit_attributes (line 246) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 278) | def _parse_parameter_file(self): method _is_valid (line 367) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/gamer/fields.py class GAMERFieldInfo (line 19) | class GAMERFieldInfo(FieldInfoContainer): method __init__ (line 58) | def __init__(self, ds, field_list): method setup_fluid_fields (line 62) | def setup_fluid_fields(self): method setup_particle_fields (line 450) | def setup_particle_fields(self, ptype): FILE: yt/frontends/gamer/io.py function grid_sequences (line 16) | def grid_sequences(grids): function particle_sequences (line 22) | def particle_sequences(grids): class IOHandlerGAMER (line 28) | class IOHandlerGAMER(BaseIOHandler): method __init__ (line 32) | def __init__(self, ds): method _read_particle_coords (line 42) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 64) | def _read_particle_fields(self, chunks, ptf, selector): method _read_fluid_selection (line 94) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_chunk_data (line 144) | def _read_chunk_data(self, chunk, fields): FILE: yt/frontends/gamer/tests/test_outputs.py function test_jet (line 25) | def test_jet(): function test_psiDM (line 38) | def test_psiDM(): function test_plummer (line 51) | def test_plummer(): function test_mhdvortex (line 68) | def test_mhdvortex(): function test_GAMERDataset (line 77) | def test_GAMERDataset(): function test_units_override (line 82) | def test_units_override(): function test_jiw (line 96) | def test_jiw(): function test_stress_energy (line 105) | def test_stress_energy(): function test_cosmic_rays (line 134) | def test_cosmic_rays(): FILE: yt/frontends/gdf/data_structures.py class GDFGrid (line 30) | class GDFGrid(AMRGridPatch): method __init__ (line 33) | def __init__(self, id, index, level, start, dimensions): method _setup_dx (line 42) | def _setup_dx(self): class GDFHierarchy (line 55) | class GDFHierarchy(GridIndex): method __init__ (line 58) | def __init__(self, ds, dataset_type="grid_data_format"): method _detect_output_fields (line 67) | def _detect_output_fields(self): method _count_grids (line 72) | def _count_grids(self): method _parse_index (line 77) | def _parse_index(self): method _populate_grid_objects (line 105) | def _populate_grid_objects(self): method _get_box_grids (line 131) | def _get_box_grids(self, left_edge, right_edge): method _get_grid_children (line 143) | def _get_grid_children(self, grid): class GDFDataset (line 150) | class GDFDataset(Dataset): method __init__ (line 155) | def __init__( method _set_code_unit_attributes (line 177) | def _set_code_unit_attributes(self): method unique_identifier (line 234) | def unique_identifier(self) -> str: method _parse_parameter_file (line 238) | def _parse_parameter_file(self): method _is_valid (line 289) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method __str__ (line 303) | def __str__(self): FILE: yt/frontends/gdf/fields.py class GDFFieldInfo (line 7) | class GDFFieldInfo(FieldInfoContainer): method setup_fluid_fields (line 22) | def setup_fluid_fields(self): FILE: yt/frontends/gdf/io.py function _grid_dname (line 9) | def _grid_dname(grid_id): function _field_dname (line 13) | def _field_dname(grid_id, field_name): class IOHandlerGDFHDF5 (line 18) | class IOHandlerGDFHDF5(BaseParticleIOHandler): method _read_fluid_selection (line 23) | def _read_fluid_selection(self, chunks, selector, fields, size): FILE: yt/frontends/gdf/tests/conftest.py function pytest_generate_tests (line 22) | def pytest_generate_tests(metafunc): FILE: yt/frontends/gdf/tests/test_outputs.py class TestGDF (line 12) | class TestGDF: method test_sedov_tunnel (line 19) | def test_sedov_tunnel(self, axis, dobj, weight, field, ds): method test_GDFDataset (line 23) | def test_GDFDataset(self, ds): method test_units_override (line 28) | def test_units_override(self): FILE: yt/frontends/gdf/tests/test_outputs_nose.py function test_sedov_tunnel (line 17) | def test_sedov_tunnel(): function test_GDFDataset (line 27) | def test_GDFDataset(): function test_units_override (line 33) | def test_units_override(): FILE: yt/frontends/gizmo/data_structures.py class GizmoDataset (line 13) | class GizmoDataset(GadgetHDF5Dataset): method _is_valid (line 18) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method _set_code_unit_attributes (line 64) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 67) | def _parse_parameter_file(self): FILE: yt/frontends/gizmo/fields.py class GizmoFieldInfo (line 10) | class GizmoFieldInfo(GadgetFieldInfo): method __init__ (line 47) | def __init__(self, *args, **kwargs): method setup_particle_fields (line 55) | def setup_particle_fields(self, ptype): method setup_gas_particle_fields (line 63) | def setup_gas_particle_fields(self, ptype): method setup_star_particle_fields (line 149) | def setup_star_particle_fields(self, ptype): FILE: yt/frontends/gizmo/tests/test_outputs.py function test_gizmo_64 (line 30) | def test_gizmo_64(): function test_gizmo_zeldovich (line 41) | def test_gizmo_zeldovich(): function test_gizmo_mhd (line 66) | def test_gizmo_mhd(): function test_gas_particle_fields (line 89) | def test_gas_particle_fields(): function test_star_particle_fields (line 124) | def test_star_particle_fields(): FILE: yt/frontends/halo_catalog/data_structures.py class HaloCatalogFile (line 23) | class HaloCatalogFile(ParticleFile): method __init__ (line 31) | def __init__(self, ds, io, filename, file_id, frange): method _read_particle_positions (line 34) | def _read_particle_positions(self, ptype, f=None): method _get_particle_positions (line 37) | def _get_particle_positions(self, ptype, f=None): class YTHaloCatalogFile (line 57) | class YTHaloCatalogFile(HaloCatalogFile): method __init__ (line 62) | def __init__(self, ds, io, filename, file_id, frange): method _read_particle_positions (line 70) | def _read_particle_positions(self, ptype, f=None): class YTHaloCatalogDataset (line 92) | class YTHaloCatalogDataset(SavedDataset): method __init__ (line 116) | def __init__( method add_field (line 132) | def add_field(self, *args, **kwargs): method halos_field_list (line 137) | def halos_field_list(self): method halos_derived_field_list (line 141) | def halos_derived_field_list(self): method _halos_ds (line 145) | def _halos_ds(self): method _setup_classes (line 148) | def _setup_classes(self): method _parse_parameter_file (line 153) | def _parse_parameter_file(self): method _is_valid (line 166) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class YTHaloParticleIndex (line 182) | class YTHaloParticleIndex(ParticleIndex): method __init__ (line 187) | def __init__(self, ds, dataset_type): method _calculate_particle_index_starts (line 191) | def _calculate_particle_index_starts(self): method _detect_output_fields (line 211) | def _detect_output_fields(self): method _get_halo_file_indices (line 242) | def _get_halo_file_indices(self, ptype, identifiers): method _get_halo_scalar_index (line 251) | def _get_halo_scalar_index(self, ptype, identifier): method _get_halo_values (line 256) | def _get_halo_values(self, ptype, identifiers, fields, f=None): method _identify_base_chunk (line 288) | def _identify_base_chunk(self, dobj): method _read_halo_particle_field (line 291) | def _read_halo_particle_field(self, fh, ptype, field, indices): method _read_particle_fields (line 294) | def _read_particle_fields(self, fields, dobj, chunk=None): method _setup_data_io (line 303) | def _setup_data_io(self): class HaloDataset (line 316) | class HaloDataset(ParticleDataset): method __init__ (line 321) | def __init__(self, ds, dataset_type): method print_key_parameters (line 334) | def print_key_parameters(self): method _set_derived_attrs (line 337) | def _set_derived_attrs(self): method _parse_parameter_file (line 340) | def _parse_parameter_file(self): method set_code_units (line 358) | def set_code_units(self): method _set_code_unit_attributes (line 362) | def _set_code_unit_attributes(self): method __str__ (line 367) | def __str__(self): method _setup_classes (line 370) | def _setup_classes(self): class YTHaloDataset (line 374) | class YTHaloDataset(HaloDataset): method __init__ (line 383) | def __init__(self, ds, dataset_type="ythalo"): method _set_code_unit_attributes (line 386) | def _set_code_unit_attributes(self): method _is_valid (line 390) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class HaloContainer (line 395) | class HaloContainer(YTSelectionContainer): method __init__ (line 405) | def __init__(self, ptype, particle_identifier, ds=None): method mass (line 439) | def mass(self): method radius (line 443) | def radius(self): method position (line 447) | def position(self): method velocity (line 451) | def velocity(self): method _set_io_data (line 454) | def _set_io_data(self): method __repr__ (line 461) | def __repr__(self): class YTHaloCatalogHaloContainer (line 465) | class YTHaloCatalogHaloContainer(HaloContainer): method _get_member_fieldnames (line 508) | def _get_member_fieldnames(self): method _get_particle_number (line 511) | def _get_particle_number(self): method _set_field_indices (line 514) | def _set_field_indices(self): method _set_identifiers (line 518) | def _set_identifiers(self, particle_identifier): FILE: yt/frontends/halo_catalog/fields.py class YTHaloCatalogFieldInfo (line 22) | class YTHaloCatalogFieldInfo(FieldInfoContainer): class YTHaloCatalogHaloFieldInfo (line 28) | class YTHaloCatalogHaloFieldInfo(FieldInfoContainer): FILE: yt/frontends/halo_catalog/io.py class IOHandlerYTHaloCatalog (line 12) | class IOHandlerYTHaloCatalog(BaseParticleIOHandler): method _read_fluid_selection (line 15) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_coords (line 18) | def _read_particle_coords(self, chunks, ptf): method _yield_coordinates (line 32) | def _yield_coordinates(self, data_file): method _read_particle_fields (line 43) | def _read_particle_fields(self, chunks, ptf, selector): method _count_particles (line 63) | def _count_particles(self, data_file): method _identify_fields (line 70) | def _identify_fields(self, data_file): class HaloDatasetIOHandler (line 79) | class HaloDatasetIOHandler: method _read_particle_coords (line 84) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 87) | def _read_particle_fields(self, dobj, ptf): class IOHandlerYTHalo (line 113) | class IOHandlerYTHalo(HaloDatasetIOHandler, IOHandlerYTHaloCatalog): # ... method _identify_fields (line 116) | def _identify_fields(self, data_file): method _read_member_fields (line 129) | def _read_member_fields(self, dobj, member_fields): method _read_scalar_fields (line 152) | def _read_scalar_fields(self, dobj, scalar_fields): FILE: yt/frontends/halo_catalog/tests/test_outputs.py function fake_halo_catalog (line 12) | def fake_halo_catalog(data): class HaloCatalogTest (line 32) | class HaloCatalogTest(TempDirTest): method test_halo_catalog (line 34) | def test_halo_catalog(self): method test_halo_catalog_boundary_particles (line 57) | def test_halo_catalog_boundary_particles(self): function test_halo_quantities (line 92) | def test_halo_quantities(): function test_halo_particles (line 106) | def test_halo_particles(): FILE: yt/frontends/http_stream/data_structures.py class HTTPParticleFile (line 13) | class HTTPParticleFile(ParticleFile): class HTTPStreamDataset (line 17) | class HTTPStreamDataset(ParticleDataset): method __init__ (line 27) | def __init__( method __str__ (line 44) | def __str__(self): method unique_identifier (line 48) | def unique_identifier(self) -> str: method _parse_parameter_file (line 51) | def _parse_parameter_file(self): method _set_units (line 84) | def _set_units(self): method _is_valid (line 99) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/http_stream/io.py class IOHandlerHTTPStream (line 8) | class IOHandlerHTTPStream(BaseParticleIOHandler): method __init__ (line 12) | def __init__(self, ds): method _open_stream (line 18) | def _open_stream(self, data_file, field): method _identify_fields (line 29) | def _identify_fields(self, data_file): method _read_particle_coords (line 35) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 43) | def _read_particle_fields(self, chunks, ptf, selector): method _count_particles (line 62) | def _count_particles(self, data_file): FILE: yt/frontends/moab/data_structures.py class MoabHex8Mesh (line 17) | class MoabHex8Mesh(SemiStructuredMesh): class MoabHex8Hierarchy (line 22) | class MoabHex8Hierarchy(UnstructuredIndex): method __init__ (line 23) | def __init__(self, ds, dataset_type="h5m"): method _initialize_mesh (line 34) | def _initialize_mesh(self): method _detect_output_fields (line 41) | def _detect_output_fields(self): method _count_grids (line 46) | def _count_grids(self): class MoabHex8Dataset (line 50) | class MoabHex8Dataset(Dataset): method __init__ (line 56) | def __init__( method _set_code_unit_attributes (line 75) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 82) | def _parse_parameter_file(self): method _is_valid (line 100) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method __str__ (line 103) | def __str__(self): class PyneHex8Mesh (line 107) | class PyneHex8Mesh(SemiStructuredMesh): class PyneMeshHex8Hierarchy (line 112) | class PyneMeshHex8Hierarchy(UnstructuredIndex): method __init__ (line 113) | def __init__(self, ds, dataset_type="moab_hex8_pyne"): method _initialize_mesh (line 122) | def _initialize_mesh(self): method _detect_output_fields (line 142) | def _detect_output_fields(self): method _count_grids (line 145) | def _count_grids(self): class PyneMoabHex8Dataset (line 149) | class PyneMoabHex8Dataset(Dataset): method __init__ (line 155) | def __init__( method filename (line 176) | def filename(self) -> str: method unique_identifier (line 180) | def unique_identifier(self) -> str: method _set_code_unit_attributes (line 183) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 190) | def _parse_parameter_file(self): method _is_valid (line 208) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method __str__ (line 211) | def __str__(self): FILE: yt/frontends/moab/fields.py class MoabFieldInfo (line 4) | class MoabFieldInfo(FieldInfoContainer): class PyneFieldInfo (line 8) | class PyneFieldInfo(FieldInfoContainer): FILE: yt/frontends/moab/io.py function field_dname (line 7) | def field_dname(field_name): class IOHandlerMoabH5MHex8 (line 12) | class IOHandlerMoabH5MHex8(BaseIOHandler): method __init__ (line 15) | def __init__(self, ds): method _read_fluid_selection (line 19) | def _read_fluid_selection(self, chunks, selector, fields, size): class IOHandlerMoabPyneHex8 (line 44) | class IOHandlerMoabPyneHex8(BaseIOHandler): method _read_fluid_selection (line 47) | def _read_fluid_selection(self, chunks, selector, fields, size): FILE: yt/frontends/moab/tests/test_c5.py function test_cantor_5 (line 19) | def test_cantor_5(): function test_MoabHex8Dataset (line 53) | def test_MoabHex8Dataset(): function test_units_override (line 58) | def test_units_override(): FILE: yt/frontends/nc4_cm1/data_structures.py class CM1Grid (line 17) | class CM1Grid(AMRGridPatch): method __init__ (line 20) | def __init__(self, id, index, level, dimensions): class CM1Hierarchy (line 28) | class CM1Hierarchy(GridIndex): method __init__ (line 31) | def __init__(self, ds, dataset_type="cm1"): method _detect_output_fields (line 41) | def _detect_output_fields(self): method _count_grids (line 46) | def _count_grids(self): method _parse_index (line 50) | def _parse_index(self): method _populate_grid_objects (line 58) | def _populate_grid_objects(self): class CM1Dataset (line 67) | class CM1Dataset(Dataset): method __init__ (line 72) | def __init__( method _setup_coordinate_handler (line 92) | def _setup_coordinate_handler(self, axis_order: AxisOrder | None) -> N... method _set_code_unit_attributes (line 103) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 116) | def _parse_parameter_file(self): method _is_valid (line 171) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/nc4_cm1/fields.py class CM1FieldInfo (line 8) | class CM1FieldInfo(FieldInfoContainer): method setup_fluid_fields (line 55) | def setup_fluid_fields(self): method setup_particle_fields (line 61) | def setup_particle_fields(self, ptype): FILE: yt/frontends/nc4_cm1/io.py class CM1IOHandler (line 7) | class CM1IOHandler(BaseIOHandler): method __init__ (line 11) | def __init__(self, ds): method _read_particle_coords (line 16) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 22) | def _read_particle_fields(self, chunks, ptf, selector): method _read_fluid_selection (line 30) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_chunk_data (line 58) | def _read_chunk_data(self, chunk, fields): FILE: yt/frontends/nc4_cm1/tests/test_outputs.py function test_cm1_mesh_fields (line 19) | def test_cm1_mesh_fields(): function test_CM1Dataset (line 40) | def test_CM1Dataset(): function test_units_override (line 45) | def test_units_override(): function test_dims_and_meta (line 50) | def test_dims_and_meta(): function test_if_cm1 (line 69) | def test_if_cm1(): FILE: yt/frontends/open_pmd/data_structures.py class OpenPMDGrid (line 24) | class OpenPMDGrid(AMRGridPatch): method __init__ (line 43) | def __init__(self, gid, index, level=-1, fi=0, fo=0, pi=0, po=0, ft=No... method __str__ (line 59) | def __str__(self): class OpenPMDHierarchy (line 63) | class OpenPMDHierarchy(GridIndex): method __init__ (line 71) | def __init__(self, ds, dataset_type="openPMD"): method _get_particle_type_counts (line 78) | def _get_particle_type_counts(self): method _detect_output_fields (line 109) | def _detect_output_fields(self): method _count_grids (line 199) | def _count_grids(self): method _parse_index (line 270) | def _parse_index(self): method _populate_grid_objects (line 410) | def _populate_grid_objects(self): class OpenPMDDataset (line 422) | class OpenPMDDataset(Dataset): method __init__ (line 437) | def __init__( method _set_paths (line 474) | def _set_paths(self, handle, path, iteration): method _set_code_unit_attributes (line 534) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 547) | def _parse_parameter_file(self): method _is_valid (line 604) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class OpenPMDDatasetSeries (line 630) | class OpenPMDDatasetSeries(DatasetSeries): method __init__ (line 637) | def __init__(self, filename): method __iter__ (line 645) | def __iter__(self): method __getitem__ (line 651) | def __getitem__(self, key): method _load (line 659) | def _load(self, it, **kwargs): class OpenPMDGroupBasedDataset (line 663) | class OpenPMDGroupBasedDataset(Dataset): method __new__ (line 668) | def __new__(cls, filename, *args, **kwargs): method _is_valid (line 674) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/open_pmd/fields.py function setup_poynting_vector (line 12) | def setup_poynting_vector(self): function setup_kinetic_energy (line 43) | def setup_kinetic_energy(self, ptype): function setup_velocity (line 64) | def setup_velocity(self, ptype): function setup_absolute_positions (line 84) | def setup_absolute_positions(self, ptype): class OpenPMDFieldInfo (line 103) | class OpenPMDFieldInfo(FieldInfoContainer): method __init__ (line 142) | def __init__(self, ds, field_list): method setup_fluid_fields (line 228) | def setup_fluid_fields(self): method setup_particle_fields (line 238) | def setup_particle_fields(self, ptype): FILE: yt/frontends/open_pmd/io.py class IOHandlerOpenPMDHDF5 (line 10) | class IOHandlerOpenPMDHDF5(BaseIOHandler): method __init__ (line 14) | def __init__(self, ds, *args, **kwargs): method _fill_cache (line 23) | def _fill_cache(self, ptype, index=0, offset=None): method _read_particle_selection (line 57) | def _read_particle_selection(self, chunks, selector, fields): method _read_fluid_selection (line 142) | def _read_fluid_selection(self, chunks, selector, fields, size): FILE: yt/frontends/open_pmd/misc.py function parse_unit_dimension (line 6) | def parse_unit_dimension(unit_dimension): function is_const_component (line 54) | def is_const_component(record_component): function get_component (line 74) | def get_component(group, component_name, index=0, offset=None): FILE: yt/frontends/open_pmd/tests/test_outputs.py function test_3d_out (line 35) | def test_3d_out(): function test_2d_out (line 58) | def test_2d_out(): function test_no_fields_out (line 92) | def test_no_fields_out(): function test_no_particles_out (line 115) | def test_no_particles_out(): function test_groupBased_out (line 141) | def test_groupBased_out(): FILE: yt/frontends/owls/data_structures.py class OWLSDataset (line 11) | class OWLSDataset(GadgetHDF5Dataset): method _parse_parameter_file (line 17) | def _parse_parameter_file(self): method _set_code_unit_attributes (line 30) | def _set_code_unit_attributes(self): method _is_valid (line 34) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/owls/fields.py function _get_ion_mass_frac (line 16) | def _get_ion_mass_frac(ion, ftype, itab, data): class OWLSFieldInfo (line 45) | class OWLSFieldInfo(SPHFieldInfo): method __init__ (line 87) | def __init__(self, ds, field_list, slice_info=None): method setup_particle_fields (line 110) | def setup_particle_fields(self, ptype): method setup_gas_ion_particle_fields (line 231) | def setup_gas_ion_particle_fields(self, ptype): method _create_ion_density_func (line 275) | def _create_ion_density_func(self, ftype, ion): method _create_ion_mass_func (line 290) | def _create_ion_mass_func(self, ftype, ion): method setup_fluid_fields (line 308) | def setup_fluid_fields(self): method _get_owls_ion_data_dir (line 314) | def _get_owls_ion_data_dir(self): FILE: yt/frontends/owls/io.py class IOHandlerOWLS (line 4) | class IOHandlerOWLS(IOHandlerGadgetHDF5): FILE: yt/frontends/owls/owls_ion_tables.py function h5rd (line 6) | def h5rd(fname, path, dtype=None): class IonTableSpectrum (line 22) | class IonTableSpectrum: method __init__ (line 25) | def __init__(self, ion_file): method return_table_GH1_at_z (line 38) | def return_table_GH1_at_z(self, z): class IonTableOWLS (line 61) | class IonTableOWLS: method __init__ (line 67) | def __init__(self, ion_file): method set_iz (line 104) | def set_iz(self, z): method interp (line 122) | def interp(self, nH, T): FILE: yt/frontends/owls/simulation_handling.py class OWLSSimulation (line 6) | class OWLSSimulation(GadgetSimulation): method __init__ (line 36) | def __init__(self, parameter_filename, find_outputs=False): method _snapshot_format (line 39) | def _snapshot_format(self, index=None): FILE: yt/frontends/owls/tests/test_outputs.py function test_snapshot_033 (line 24) | def test_snapshot_033(): function test_OWLSDataset (line 35) | def test_OWLSDataset(): function test_OWLS_particlefilter (line 41) | def test_OWLS_particlefilter(): FILE: yt/frontends/owls_subfind/data_structures.py class OWLSSubfindParticleIndex (line 18) | class OWLSSubfindParticleIndex(ParticleIndex): method __init__ (line 21) | def __init__(self, ds, dataset_type): method _calculate_particle_index_starts (line 24) | def _calculate_particle_index_starts(self): method _calculate_file_offset_map (line 38) | def _calculate_file_offset_map(self): method _detect_output_fields (line 53) | def _detect_output_fields(self): class OWLSSubfindHDF5File (line 74) | class OWLSSubfindHDF5File(ParticleFile): method __init__ (line 75) | def __init__(self, ds, io, filename, file_id, bounds): class OWLSSubfindDataset (line 81) | class OWLSSubfindDataset(ParticleDataset): method __init__ (line 88) | def __init__( method _parse_parameter_file (line 106) | def _parse_parameter_file(self): method _set_code_unit_attributes (line 149) | def _set_code_unit_attributes(self): method _is_valid (line 206) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/owls_subfind/fields.py class OWLSSubfindFieldInfo (line 10) | class OWLSSubfindFieldInfo(FieldInfoContainer): FILE: yt/frontends/owls_subfind/io.py class IOHandlerOWLSSubfindHDF5 (line 10) | class IOHandlerOWLSSubfindHDF5(BaseParticleIOHandler): method __init__ (line 14) | def __init__(self, ds): method _read_fluid_selection (line 18) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_coords (line 21) | def _read_particle_coords(self, chunks, ptf): method _yield_coordinates (line 34) | def _yield_coordinates(self, data_file): method _read_offset_particle_field (line 43) | def _read_offset_particle_field(self, field, data_file, fh): method _read_particle_fields (line 63) | def _read_particle_fields(self, chunks, ptf, selector): method _count_particles (line 106) | def _count_particles(self, data_file): method _identify_fields (line 123) | def _identify_fields(self, data_file): method _identify_position_name (line 141) | def _identify_position_name(self, fh): function get_one_attr (line 150) | def get_one_attr(fh, attrs, default=None, error=True): function subfind_field_list (line 165) | def subfind_field_list(fh, ptype, pcount): FILE: yt/frontends/owls_subfind/tests/test_outputs.py function test_fields_g8 (line 28) | def test_fields_g8(): function test_fields_g1 (line 37) | def test_fields_g1(): FILE: yt/frontends/parthenon/data_structures.py class ParthenonGrid (line 41) | class ParthenonGrid(AMRGridPatch): method __init__ (line 44) | def __init__(self, id, index, level): method _setup_dx (line 50) | def _setup_dx(self): method retrieve_ghost_zones (line 58) | def retrieve_ghost_zones(self, n_zones, fields, all_levels=False, smoo... class ParthenonHierarchy (line 72) | class ParthenonHierarchy(GridIndex): method __init__ (line 77) | def __init__(self, ds, dataset_type="parthenon"): method _detect_output_fields (line 86) | def _detect_output_fields(self): method _count_grids (line 89) | def _count_grids(self): method _parse_index (line 92) | def _parse_index(self): method _populate_grid_objects (line 120) | def _populate_grid_objects(self): class ParthenonDataset (line 127) | class ParthenonDataset(Dataset): method __init__ (line 133) | def __init__( method _set_code_unit_attributes (line 175) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 204) | def _parse_parameter_file(self): method _is_valid (line 305) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method _skip_cache (line 311) | def _skip_cache(self): method __str__ (line 314) | def __str__(self): FILE: yt/frontends/parthenon/fields.py function velocity_field (line 16) | def velocity_field(mom_field): function _cooling_time_field (line 23) | def _cooling_time_field(data): class ParthenonFieldInfo (line 37) | class ParthenonFieldInfo(FieldInfoContainer): method setup_fluid_fields (line 79) | def setup_fluid_fields(self): FILE: yt/frontends/parthenon/io.py function grid_sequences (line 10) | def grid_sequences(grids): class IOHandlerParthenon (line 22) | class IOHandlerParthenon(BaseIOHandler): method __init__ (line 26) | def __init__(self, ds): method _read_fluid_selection (line 30) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_chunk_data (line 64) | def _read_chunk_data(self, chunk, fields): FILE: yt/frontends/parthenon/tests/test_outputs.py function test_loading_data (line 34) | def test_loading_data(): function test_AthenaPK_rhdf (line 76) | def test_AthenaPK_rhdf(): function test_AthenaPK_phdf (line 87) | def test_AthenaPK_phdf(): function test_cluster (line 102) | def test_cluster(): function test_derived_fields (line 112) | def test_derived_fields(): function test_adiabatic_index (line 141) | def test_adiabatic_index(): function test_molecular_mass (line 155) | def test_molecular_mass(): function test_units (line 166) | def test_units(): function test_load_cylindrical (line 175) | def test_load_cylindrical(): function test_load_riot_curvilinear (line 189) | def test_load_riot_curvilinear(): FILE: yt/frontends/ramses/data_structures.py class RAMSESFileSanitizer (line 38) | class RAMSESFileSanitizer: method __init__ (line 46) | def __init__(self, filename): method validate (line 71) | def validate(self) -> None: method is_valid (line 92) | def is_valid(self) -> bool: method check_standard_files (line 101) | def check_standard_files(folder, iout): method _match_output_and_group (line 109) | def _match_output_and_group( method test_with_folder_name (line 133) | def test_with_folder_name( method test_with_standard_file (line 151) | def test_with_standard_file( class RAMSESDomainFile (line 173) | class RAMSESDomainFile: method __init__ (line 183) | def __init__(self, ds, domain_id): method __repr__ (line 215) | def __repr__(self): method level_count (line 219) | def level_count(self): method amr_file (line 230) | def amr_file(self): method _read_amr_header (line 240) | def _read_amr_header(self): method ngridbound (line 298) | def ngridbound(self): method amr_offset (line 303) | def amr_offset(self): method max_level (line 308) | def max_level(self): method max_level (line 313) | def max_level(self, value): method total_oct_count (line 317) | def total_oct_count(self): method local_oct_count (line 322) | def local_oct_count(self): method amr_header (line 327) | def amr_header(self): method oct_handler (line 332) | def oct_handler(self): method included (line 375) | def included(self, selector): class RAMSESDomainSubset (line 382) | class RAMSESDomainSubset(OctreeSubset): method __init__ (line 388) | def __init__( method oct_handler (line 416) | def oct_handler(self): method _fill_no_ghostzones (line 419) | def _fill_no_ghostzones(self, fd, fields, selector, file_handler): method _fill_with_ghostzones (line 459) | def _fill_with_ghostzones( method fwidth (line 517) | def fwidth(self): method fcoords (line 531) | def fcoords(self): method fill (line 553) | def fill(self, fd, fields, selector, file_handler): method retrieve_ghost_zones (line 561) | def retrieve_ghost_zones(self, ngz, fields, smoothed=False): class RAMSESIndex (line 597) | class RAMSESIndex(OctreeIndex): method __init__ (line 598) | def __init__(self, ds, dataset_type="ramses"): method _initialize_oct_handler (line 608) | def _initialize_oct_handler(self): method max_level (line 617) | def max_level(self): method num_grids (line 624) | def num_grids(self): method _detect_output_fields (line 630) | def _detect_output_fields(self): method _identify_base_chunk (line 647) | def _identify_base_chunk(self, dobj): method _chunk_all (line 695) | def _chunk_all(self, dobj): method _chunk_spatial (line 699) | def _chunk_spatial(self, dobj, ngz, sort=None, preload_fields=None): method _chunk_io (line 708) | def _chunk_io(self, dobj, cache=True, local_only=False): method _initialize_level_stats (line 713) | def _initialize_level_stats(self): method _get_particle_type_counts (line 728) | def _get_particle_type_counts(self): method print_stats (line 738) | def print_stats(self): class RAMSESDataset (line 778) | class RAMSESDataset(Dataset): method __init__ (line 789) | def __init__( method self_shielding (line 900) | def self_shielding(self) -> bool: method self_shielding (line 925) | def self_shielding(self, value): method _sanitize_max_level (line 929) | def _sanitize_max_level(max_level, max_level_convention): method create_field_info (line 962) | def create_field_info(self, *args, **kwa): method __str__ (line 984) | def __str__(self): method _set_code_unit_attributes (line 987) | def _set_code_unit_attributes(self): method _parse_parameter_file (line 1016) | def _parse_parameter_file(self): method read_namelist (line 1127) | def read_namelist(self) -> bool: method _is_valid (line 1155) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/ramses/definitions.py function ramses_header (line 8) | def ramses_header(hvals): function _setup_ramses_particle_families (line 74) | def _setup_ramses_particle_families(ytcfg: YTConfig) -> None: FILE: yt/frontends/ramses/field_handlers.py function get_field_handlers (line 16) | def get_field_handlers(): function register_field_handler (line 20) | def register_field_handler(ph): function validate_field_precision (line 27) | def validate_field_precision(fields: list[tuple[str, str]]): function get_fields_and_single_precision (line 49) | def get_fields_and_single_precision( class HandlerMixin (line 75) | class HandlerMixin: method setup_handler (line 81) | def setup_handler(self, domain): method exists (line 127) | def exists(self): method has_descriptor (line 139) | def has_descriptor(self): method any_exist (line 150) | def any_exist(cls, ds): class FieldFileHandler (line 180) | class FieldFileHandler(abc.ABC, HandlerMixin): method __init_subclass__ (line 209) | def __init_subclass__(cls, *args, **kwargs): method __init__ (line 223) | def __init__(self, domain): method detect_fields (line 228) | def detect_fields(cls, ds) -> tuple[list[str], bool]: method get_detected_fields (line 243) | def get_detected_fields(cls, ds) -> tuple[list[str], bool] | None: method set_detected_fields (line 255) | def set_detected_fields(cls, ds, fields, single_precision): method purge_detected_fields (line 267) | def purge_detected_fields(cls, ds): method level_count (line 278) | def level_count(self): method field_list (line 289) | def field_list(self): method single_precision (line 294) | def single_precision(self): method offset (line 299) | def offset(self): method load_fields_from_yt_config (line 344) | def load_fields_from_yt_config(cls) -> tuple[list[str], bool]: class HydroFieldFileHandler (line 369) | class HydroFieldFileHandler(FieldFileHandler): method detect_fields (line 385) | def detect_fields(cls, ds) -> tuple[list[str], bool]: class GravFieldFileHandler (line 544) | class GravFieldFileHandler(FieldFileHandler): method detect_fields (line 557) | def detect_fields(cls, ds) -> tuple[list[str], bool]: class RTFieldFileHandler (line 594) | class RTFieldFileHandler(FieldFileHandler): method detect_fields (line 611) | def detect_fields(cls, ds): method get_rt_parameters (line 723) | def get_rt_parameters(cls, ds): FILE: yt/frontends/ramses/fields.py class RAMSESFieldInfo (line 99) | class RAMSESFieldInfo(FieldInfoContainer): method setup_particle_fields (line 180) | def setup_particle_fields(self, ptype): method setup_fluid_fields (line 218) | def setup_fluid_fields(self): method create_gravity_fields (line 278) | def create_gravity_fields(self): method create_magnetic_fields (line 289) | def create_magnetic_fields(self): method create_rt_fields (line 326) | def create_rt_fields(self): method create_cooling_fields (line 423) | def create_cooling_fields(self) -> bool: FILE: yt/frontends/ramses/hilbert.py function hilbert3d (line 51) | def hilbert3d( function get_intersecting_cpus (line 70) | def get_intersecting_cpus( function get_cpu_list_cuboid (line 130) | def get_cpu_list_cuboid( FILE: yt/frontends/ramses/io.py function convert_ramses_ages (line 27) | def convert_ramses_ages(ds, conformal_ages): function convert_ramses_conformal_time_to_physical_time (line 39) | def convert_ramses_conformal_time_to_physical_time( function _ramses_particle_binary_file_handler (line 80) | def _ramses_particle_binary_file_handler( function _ramses_particle_csv_file_handler (line 128) | def _ramses_particle_csv_file_handler( class IOHandlerRAMSES (line 178) | class IOHandlerRAMSES(BaseIOHandler): method _read_fluid_selection (line 181) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_coords (line 229) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 250) | def _read_particle_fields(self, chunks, ptf, selector): method _read_particle_subset (line 289) | def _read_particle_subset(self, subset, fields): function _read_part_binary_file_descriptor (line 313) | def _read_part_binary_file_descriptor(fname: Union[str, "os.PathLike[str... function _read_part_csv_file_descriptor (line 370) | def _read_part_csv_file_descriptor(fname: Union[str, "os.PathLike[str]"]): function _read_fluid_file_descriptor (line 421) | def _read_fluid_file_descriptor(fname: Union[str, "os.PathLike[str]"], *... FILE: yt/frontends/ramses/particle_handlers.py function get_particle_handlers (line 32) | def get_particle_handlers(): function register_particle_handler (line 36) | def register_particle_handler(ph): class ParticleFileHandler (line 40) | class ParticleFileHandler(abc.ABC, HandlerMixin): method __init_subclass__ (line 93) | def __init_subclass__(cls, *args, **kwargs): method __init__ (line 105) | def __init__(self, domain): method read_header (line 118) | def read_header(self): method field_offsets (line 138) | def field_offsets(self) -> dict[FieldKey, int]: method field_types (line 145) | def field_types(self) -> dict[FieldKey, str]: method local_particle_count (line 152) | def local_particle_count(self) -> int: method header (line 159) | def header(self) -> dict[str, Any]: method handle_field (line 165) | def handle_field(self, field: FieldKey, data_dict: dict[FieldKey, np.n... class DefaultParticleFileHandler (line 192) | class DefaultParticleFileHandler(ParticleFileHandler): method read_header (line 222) | def read_header(self): method birth_file_fname (line 335) | def birth_file_fname(self): method has_birth_file (line 346) | def has_birth_file(self): method handle_field (line 349) | def handle_field(self, field: FieldKey, data_dict: dict[FieldKey, np.n... class SinkParticleFileHandler (line 377) | class SinkParticleFileHandler(ParticleFileHandler): method read_header (line 412) | def read_header(self): class SinkParticleFileHandlerCsv (line 466) | class SinkParticleFileHandlerCsv(ParticleFileHandler): method read_header (line 476) | def read_header(self): method handle_field (line 495) | def handle_field(self, field: FieldKey, data_dict: dict[FieldKey, np.n... FILE: yt/frontends/ramses/tests/test_file_sanitizer.py function generate_paths (line 16) | def generate_paths(create): function valid_path_tuples (line 57) | def valid_path_tuples(): function invalid_path_tuples (line 62) | def invalid_path_tuples(): function test_valid_sanitizing (line 66) | def test_valid_sanitizing(valid_path_tuples): function test_invalid_sanitizing (line 77) | def test_invalid_sanitizing(valid_path_tuples, invalid_path_tuples): FILE: yt/frontends/ramses/tests/test_hilbert.py function test_hilbert3d (line 9) | def test_hilbert3d(): function test_get_cpu_list (line 31) | def test_get_cpu_list(): FILE: yt/frontends/ramses/tests/test_outputs.py function test_output_00080 (line 36) | def test_output_00080(): function test_RAMSESDataset (line 56) | def test_RAMSESDataset(): function test_RAMSES_alternative_load (line 61) | def test_RAMSES_alternative_load(): function test_units_override (line 70) | def test_units_override(): function test_non_cosmo_detection (line 78) | def test_non_cosmo_detection(): function test_unit_non_cosmo (line 90) | def test_unit_non_cosmo(): function test_cosmo_detection (line 105) | def test_cosmo_detection(): function test_unit_cosmo (line 117) | def test_unit_cosmo(): function test_extra_fields (line 139) | def test_extra_fields(): function test_extra_fields_2 (line 157) | def test_extra_fields_2(): function test_ramses_rt (line 180) | def test_ramses_rt(): function test_ramses_sink (line 232) | def test_ramses_sink(): function test_new_format (line 286) | def test_new_format(): function test_ramses_part_count (line 316) | def test_ramses_part_count(): function test_custom_particle_def (line 325) | def test_custom_particle_def(): function test_grav_detection (line 356) | def test_grav_detection(): function test_ramses_field_detection (line 381) | def test_ramses_field_detection(): function test_formation_time (line 410) | def test_formation_time(): function test_cooling_fields (line 444) | def test_cooling_fields(): function test_ramses_mixed_files (line 486) | def test_ramses_mixed_files(): function test_ramses_empty_record (line 504) | def test_ramses_empty_record(): function test_namelist_reading (line 517) | def test_namelist_reading(): function test_namelist_reading_should_not_fail (line 531) | def test_namelist_reading_should_not_fail(): function test_magnetic_field_aliasing (line 542) | def test_magnetic_field_aliasing(): function test_field_accession (line 559) | def test_field_accession(): function test_ghost_zones (line 578) | def test_ghost_zones(): function test_max_level (line 609) | def test_max_level(): function test_invalid_max_level (line 624) | def test_invalid_max_level(): function test_print_stats (line 646) | def test_print_stats(): function test_reading_order (line 656) | def test_reading_order(): function override_self_shielding (line 697) | def override_self_shielding(root: Path, section: str, val: bool): function test_self_shielding_logic (line 723) | def test_self_shielding_logic(): function test_self_shielding_loading (line 763) | def test_self_shielding_loading(): function test_order_does_not_matter (line 801) | def test_order_does_not_matter(): FILE: yt/frontends/ramses/tests/test_outputs_pytest.py function custom_ramses_fields_conf (line 28) | def custom_ramses_fields_conf(): function test_field_config_1 (line 41) | def test_field_config_1(custom_ramses_fields_conf): function test_field_config_2 (line 51) | def test_field_config_2(custom_ramses_fields_conf): function test_warning_T2 (line 62) | def test_warning_T2(): FILE: yt/frontends/rockstar/data_structures.py class RockstarBinaryFile (line 20) | class RockstarBinaryFile(HaloCatalogFile): method __init__ (line 28) | def __init__(self, ds, io, filename, file_id, range): method _read_member (line 50) | def _read_member( method _read_particle_positions (line 65) | def _read_particle_positions(self, ptype: str, f=None): class RockstarIndex (line 89) | class RockstarIndex(ParticleIndex): method get_member (line 90) | def get_member(self, ihalo: int): class RockstarDataset (line 99) | class RockstarDataset(ParticleDataset): method __init__ (line 105) | def __init__( method _parse_parameter_file (line 121) | def _parse_parameter_file(self): method _set_code_unit_attributes (line 155) | def _set_code_unit_attributes(self): method _is_valid (line 163) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method halo (line 174) | def halo(self, ptype, particle_identifier): class RockstarHaloContainer (line 183) | class RockstarHaloContainer: method __init__ (line 184) | def __init__(self, ptype, particle_identifier, *, parent_ds, halo_ds): method __repr__ (line 195) | def __repr__(self): method __getitem__ (line 198) | def __getitem__(self, key): method ihalo (line 217) | def ihalo(self): method mass (line 227) | def mass(self): method position (line 231) | def position(self): method velocity (line 235) | def velocity(self): method member_ids (line 239) | def member_ids(self): FILE: yt/frontends/rockstar/fields.py class RockstarFieldInfo (line 10) | class RockstarFieldInfo(FieldInfoContainer): FILE: yt/frontends/rockstar/io.py function _can_load_with_format (line 12) | def _can_load_with_format( class IOHandlerRockstarBinary (line 31) | class IOHandlerRockstarBinary(BaseParticleIOHandler): method __init__ (line 34) | def __init__(self, *args, **kwargs): method detect_rockstar_format (line 42) | def detect_rockstar_format( method _read_fluid_selection (line 55) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_coords (line 58) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 73) | def _read_particle_fields(self, chunks, ptf, selector): method _yield_coordinates (line 96) | def _yield_coordinates(self, data_file): method _count_particles (line 108) | def _count_particles(self, data_file): method _identify_fields (line 115) | def _identify_fields(self, data_file): FILE: yt/frontends/rockstar/tests/test_outputs.py function test_fields_r1 (line 24) | def test_fields_r1(): function test_RockstarDataset (line 32) | def test_RockstarDataset(): function test_particle_selection (line 37) | def test_particle_selection(): function test_halo_loading (line 44) | def test_halo_loading(): FILE: yt/frontends/sdf/data_structures.py class SDFFile (line 22) | class SDFFile(ParticleFile): class SDFDataset (line 26) | class SDFDataset(ParticleDataset): method __init__ (line 37) | def __init__( method _parse_parameter_file (line 85) | def _parse_parameter_file(self): method midx (line 140) | def midx(self): method _set_code_unit_attributes (line 151) | def _set_code_unit_attributes(self): method _is_valid (line 174) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/sdf/fields.py class SDFFieldInfo (line 4) | class SDFFieldInfo(FieldInfoContainer): method __init__ (line 10) | def __init__(self, ds, field_list): FILE: yt/frontends/sdf/io.py class IOHandlerSDF (line 7) | class IOHandlerSDF(BaseParticleIOHandler): method _handle (line 11) | def _handle(self): method _read_fluid_selection (line 14) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_coords (line 17) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 33) | def _read_particle_fields(self, chunks, ptf, selector): method _identify_fields (line 55) | def _identify_fields(self, data_file): method _count_particles (line 60) | def _count_particles(self, data_file): class IOHandlerHTTPSDF (line 71) | class IOHandlerHTTPSDF(IOHandlerSDF): method _read_particle_coords (line 74) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 95) | def _read_particle_fields(self, chunks, ptf, selector): method _count_particles (line 129) | def _count_particles(self, data_file): class IOHandlerSIndexSDF (line 133) | class IOHandlerSIndexSDF(IOHandlerSDF): method _read_particle_coords (line 136) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 142) | def _read_particle_fields(self, chunks, ptf, selector): method _count_particles (line 169) | def _count_particles(self, data_file): method _identify_fields (line 184) | def _identify_fields(self, data_file): class IOHandlerSIndexHTTPSDF (line 190) | class IOHandlerSIndexHTTPSDF(IOHandlerSIndexSDF): FILE: yt/frontends/sph/data_structures.py class SPHDataset (line 10) | class SPHDataset(ParticleDataset): method __init__ (line 17) | def __init__( method num_neighbors (line 45) | def num_neighbors(self): method num_neighbors (line 49) | def num_neighbors(self, value): method sph_smoothing_style (line 55) | def sph_smoothing_style(self): method sph_smoothing_style (line 59) | def sph_smoothing_style(self, value): method use_sph_normalization (line 70) | def use_sph_normalization(self): method use_sph_normalization (line 74) | def use_sph_normalization(self, value): class SPHParticleIndex (line 80) | class SPHParticleIndex(ParticleIndex): method _initialize_index (line 81) | def _initialize_index(self): method _generate_kdtree (line 91) | def _generate_kdtree(self, fname): method kdtree (line 127) | def kdtree(self): FILE: yt/frontends/sph/fields.py class SPHFieldInfo (line 6) | class SPHFieldInfo(FieldInfoContainer): method setup_particle_fields (line 36) | def setup_particle_fields(self, ptype, *args, **kwargs): method setup_fluid_index_fields (line 40) | def setup_fluid_index_fields(self): FILE: yt/frontends/sph/io.py class IOHandlerSPH (line 12) | class IOHandlerSPH(BaseParticleIOHandler): FILE: yt/frontends/stream/data_structures.py class StreamGrid (line 49) | class StreamGrid(AMRGridPatch): method __init__ (line 57) | def __init__(self, id, index): method set_filename (line 68) | def set_filename(self, filename): method Parent (line 72) | def Parent(self): method Children (line 78) | def Children(self): class StreamStretchedGrid (line 82) | class StreamStretchedGrid(StretchedGrid): method __init__ (line 85) | def __init__(self, id, index): method Parent (line 93) | def Parent(self): method Children (line 99) | def Children(self): class StreamHandler (line 103) | class StreamHandler: method __init__ (line 104) | def __init__( method get_fields (line 146) | def get_fields(self): method get_particle_type (line 149) | def get_particle_type(self, field): class StreamHierarchy (line 156) | class StreamHierarchy(GridIndex): method __init__ (line 159) | def __init__(self, ds, dataset_type=None): method _count_grids (line 168) | def _count_grids(self): method _icoords_to_fcoords (line 171) | def _icoords_to_fcoords(self, icoords, ires, axes=None): method _parse_index (line 191) | def _parse_index(self): method _reconstruct_parent_child (line 235) | def _reconstruct_parent_child(self): method _initialize_grid_arrays (line 260) | def _initialize_grid_arrays(self): method _detect_output_fields (line 264) | def _detect_output_fields(self): method _populate_grid_objects (line 272) | def _populate_grid_objects(self): method _setup_data_io (line 277) | def _setup_data_io(self): method _reset_particle_count (line 283) | def _reset_particle_count(self): method update_data (line 288) | def update_data(self, data): class StreamDataset (line 322) | class StreamDataset(Dataset): method __init__ (line 327) | def __init__( method filename (line 376) | def filename(self): method unique_identifier (line 380) | def unique_identifier(self) -> str: method _parse_parameter_file (line 383) | def _parse_parameter_file(self): method _set_units (line 411) | def _set_units(self): method _set_code_unit_attributes (line 414) | def _set_code_unit_attributes(self): method _is_valid (line 447) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: method _skip_cache (line 451) | def _skip_cache(self): method _find_particle_types (line 454) | def _find_particle_types(self): class StreamDictFieldHandler (line 463) | class StreamDictFieldHandler(UserDict): method all_fields (line 467) | def all_fields(self): class StreamParticleIndex (line 475) | class StreamParticleIndex(SPHParticleIndex): method __init__ (line 476) | def __init__(self, ds, dataset_type=None): method _setup_data_io (line 480) | def _setup_data_io(self): method update_data (line 486) | def update_data(self, data): class StreamParticleFile (line 530) | class StreamParticleFile(ParticleFile): class StreamParticlesDataset (line 534) | class StreamParticlesDataset(StreamDataset): method __init__ (line 543) | def __init__( method add_sph_fields (line 571) | def add_sph_fields(self, n_neighbors=32, kernel="cubic", sph_ptype="io"): function hexahedral_connectivity (line 668) | def hexahedral_connectivity(xgrid, ygrid, zgrid): class StreamHexahedralMesh (line 736) | class StreamHexahedralMesh(SemiStructuredMesh): class StreamHexahedralHierarchy (line 741) | class StreamHexahedralHierarchy(UnstructuredIndex): method __init__ (line 742) | def __init__(self, ds, dataset_type=None): method _initialize_mesh (line 746) | def _initialize_mesh(self): method _setup_data_io (line 753) | def _setup_data_io(self): method _detect_output_fields (line 759) | def _detect_output_fields(self): class StreamHexahedralDataset (line 763) | class StreamHexahedralDataset(StreamDataset): class StreamOctreeSubset (line 769) | class StreamOctreeSubset(OctreeSubset): method __init__ (line 773) | def __init__(self, base_region, ds, oct_handler, num_zones=2, num_ghos... method oct_handler (line 797) | def oct_handler(self): method retrieve_ghost_zones (line 800) | def retrieve_ghost_zones(self, ngz, fields, smoothed=False): method _fill_no_ghostzones (line 816) | def _fill_no_ghostzones(self, content, dest, selector, offset): method _fill_with_ghostzones (line 832) | def _fill_with_ghostzones(self, content, dest, selector, offset): method fill (line 857) | def fill(self, content, dest, selector, offset): class StreamOctreeHandler (line 864) | class StreamOctreeHandler(OctreeIndex): method __init__ (line 865) | def __init__(self, ds, dataset_type=None): method _setup_data_io (line 870) | def _setup_data_io(self): method _initialize_oct_handler (line 876) | def _initialize_oct_handler(self): method _identify_base_chunk (line 889) | def _identify_base_chunk(self, dobj): method _chunk_all (line 903) | def _chunk_all(self, dobj): method _chunk_spatial (line 907) | def _chunk_spatial(self, dobj, ngz, sort=None, preload_fields=None): method _chunk_io (line 919) | def _chunk_io(self, dobj, cache=True, local_only=False): method _setup_classes (line 924) | def _setup_classes(self): method _detect_output_fields (line 928) | def _detect_output_fields(self): class StreamOctreeDataset (line 937) | class StreamOctreeDataset(StreamDataset): method __init__ (line 944) | def __init__( class StreamUnstructuredMesh (line 964) | class StreamUnstructuredMesh(UnstructuredMesh): method __init__ (line 967) | def __init__(self, *args, **kwargs): class StreamUnstructuredIndex (line 972) | class StreamUnstructuredIndex(UnstructuredIndex): method __init__ (line 973) | def __init__(self, ds, dataset_type=None): method _initialize_mesh (line 977) | def _initialize_mesh(self): method _setup_data_io (line 987) | def _setup_data_io(self): method _detect_output_fields (line 993) | def _detect_output_fields(self): class StreamUnstructuredMeshDataset (line 999) | class StreamUnstructuredMeshDataset(StreamDataset): method _find_particle_types (line 1004) | def _find_particle_types(self): FILE: yt/frontends/stream/definitions.py function assign_particle_data (line 17) | def assign_particle_data(ds, pdata, bbox): function process_data (line 145) | def process_data(data, grid_dims=None, allow_callables=True): function set_particle_types (line 256) | def set_particle_types(data): FILE: yt/frontends/stream/fields.py class StreamFieldInfo (line 7) | class StreamFieldInfo(FieldInfoContainer): method setup_fluid_fields (line 90) | def setup_fluid_fields(self): method add_output_field (line 133) | def add_output_field(self, name, sampling_type, **kwargs): FILE: yt/frontends/stream/io.py class IOHandlerStream (line 8) | class IOHandlerStream(BaseIOHandler): method __init__ (line 12) | def __init__(self, ds): method _read_data_set (line 17) | def _read_data_set(self, grid, field): method _read_fluid_selection (line 28) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_coords (line 54) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 71) | def _read_particle_fields(self, chunks, ptf, selector): method _read_exception (line 94) | def _read_exception(self): class StreamParticleIOHandler (line 98) | class StreamParticleIOHandler(BaseParticleIOHandler): method __init__ (line 102) | def __init__(self, ds): method _read_particle_coords (line 106) | def _read_particle_coords(self, chunks, ptf): method _read_smoothing_length (line 121) | def _read_smoothing_length(self, chunks, ptf, ptype): method _read_particle_data_file (line 126) | def _read_particle_data_file(self, data_file, ptf, selector=None): method _yield_coordinates (line 155) | def _yield_coordinates(self, data_file, needed_ptype=None): method _get_smoothing_length (line 182) | def _get_smoothing_length(self, data_file, dtype, shape): method _count_particles (line 186) | def _count_particles(self, data_file): method _identify_fields (line 201) | def _identify_fields(self, data_file): class IOHandlerStreamHexahedral (line 205) | class IOHandlerStreamHexahedral(BaseIOHandler): method __init__ (line 209) | def __init__(self, ds): method _read_fluid_selection (line 213) | def _read_fluid_selection(self, chunks, selector, fields, size): class IOHandlerStreamOctree (line 240) | class IOHandlerStreamOctree(BaseIOHandler): method __init__ (line 244) | def __init__(self, ds): method _read_fluid_selection (line 248) | def _read_fluid_selection(self, chunks, selector, fields, size): class IOHandlerStreamUnstructured (line 268) | class IOHandlerStreamUnstructured(BaseIOHandler): method __init__ (line 271) | def __init__(self, ds): method _read_fluid_selection (line 275) | def _read_fluid_selection(self, chunks, selector, fields, size): FILE: yt/frontends/stream/misc.py function _validate_cell_widths (line 6) | def _validate_cell_widths( FILE: yt/frontends/stream/tests/test_callable_grids.py function test_load_hdf5_file (line 29) | def test_load_hdf5_file(): function _grid_data_function (line 58) | def _grid_data_function(grid, field_name): function test_load_callable (line 89) | def test_load_callable(): function test_load_uniform_grid_callable (line 109) | def test_load_uniform_grid_callable(): FILE: yt/frontends/stream/tests/test_outputs.py class TestEmptyLoad (line 17) | class TestEmptyLoad(unittest.TestCase): method setUp (line 18) | def setUp(self): method tearDown (line 29) | def tearDown(self): function test_dimensionless_field_units (line 34) | def test_dimensionless_field_units(): function test_inconsistent_field_shape (line 47) | def test_inconsistent_field_shape(): function test_parameters (line 78) | def test_parameters(): FILE: yt/frontends/stream/tests/test_stream_amrgrids.py function test_qt_overflow (line 8) | def test_qt_overflow(): function test_refine_by (line 33) | def test_refine_by(): function test_validation (line 56) | def test_validation(): FILE: yt/frontends/stream/tests/test_stream_hexahedral.py function test_stream_hexahedral (line 11) | def test_stream_hexahedral(): FILE: yt/frontends/stream/tests/test_stream_octree.py function test_octree (line 35) | def test_octree(): FILE: yt/frontends/stream/tests/test_stream_particles.py function test_stream_particles (line 12) | def test_stream_particles(): function test_load_particles_types (line 169) | def test_load_particles_types(): function test_load_particles_sph_types (line 223) | def test_load_particles_sph_types(): function test_load_particles_with_data_source (line 270) | def test_load_particles_with_data_source(): function test_add_sph_fields (line 298) | def test_add_sph_fields(): function test_particles_outside_domain (line 309) | def test_particles_outside_domain(): function test_stream_sph_projection (line 329) | def test_stream_sph_projection(): function test_stream_non_cartesian_particles (line 339) | def test_stream_non_cartesian_particles(loader): function test_stream_non_cartesian_particles_amr (line 371) | def test_stream_non_cartesian_particles_amr(): FILE: yt/frontends/stream/tests/test_stream_species.py function test_stream_species (line 7) | def test_stream_species(): FILE: yt/frontends/stream/tests/test_stream_stretched.py function test_variable_dx (line 8) | def test_variable_dx(): function data_cell_widths_N16 (line 60) | def data_cell_widths_N16(): function test_cell_width_type (line 77) | def test_cell_width_type(data_cell_widths_N16): function test_cell_width_dimensionality (line 93) | def test_cell_width_dimensionality(data_cell_widths_N16): function test_cell_width_with_nproc (line 115) | def test_cell_width_with_nproc(data_cell_widths_N16): FILE: yt/frontends/stream/tests/test_stream_unstructured.py function test_multi_mesh (line 6) | def test_multi_mesh(): function test_multi_field (line 53) | def test_multi_field(): function test_units (line 77) | def test_units(): FILE: yt/frontends/stream/tests/test_update_data.py function test_update_data_grid (line 7) | def test_update_data_grid(): function test_update_data_particle (line 22) | def test_update_data_particle(): FILE: yt/frontends/swift/data_structures.py class SwiftParticleFile (line 12) | class SwiftParticleFile(ParticleFile): class SwiftDataset (line 16) | class SwiftDataset(SPHDataset): method __init__ (line 28) | def __init__( method _set_code_unit_attributes (line 47) | def _set_code_unit_attributes(self): method _get_info_attributes (line 76) | def _get_info_attributes(self, dataset): method _parse_parameter_file (line 90) | def _parse_parameter_file(self): method _is_valid (line 193) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/swift/fields.py class SwiftFieldInfo (line 4) | class SwiftFieldInfo(SPHFieldInfo): method __init__ (line 5) | def __init__(self, ds, field_list, slice_info=None): method setup_particle_fields (line 16) | def setup_particle_fields(self, ptype, *args, **kwargs): method setup_gas_particle_fields (line 22) | def setup_gas_particle_fields(self, ptype): FILE: yt/frontends/swift/io.py class IOHandlerSwift (line 7) | class IOHandlerSwift(IOHandlerSPH): method __init__ (line 10) | def __init__(self, ds, *args, **kwargs): method _read_fluid_selection (line 13) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_coords (line 20) | def _read_particle_coords(self, chunks, ptf): method _yield_coordinates (line 40) | def _yield_coordinates(self, sub_file, needed_ptype=None): method _get_smoothing_length (line 59) | def _get_smoothing_length(self, sub_file, pdtype=None, pshape=None): method _read_particle_data_file (line 79) | def _read_particle_data_file(self, sub_file, ptf, selector=None): method _count_particles (line 122) | def _count_particles(self, data_file): method _identify_fields (line 134) | def _identify_fields(self, data_file): FILE: yt/frontends/swift/tests/test_outputs.py function test_non_cosmo_dataset (line 17) | def test_non_cosmo_dataset(): function test_non_cosmo_dataset_selection (line 57) | def test_non_cosmo_dataset_selection(): function test_cosmo_dataset (line 65) | def test_cosmo_dataset(): function test_cosmo_dataset_selection (line 110) | def test_cosmo_dataset_selection(): FILE: yt/frontends/tipsy/data_structures.py class TipsyFile (line 16) | class TipsyFile(ParticleFile): method __init__ (line 17) | def __init__(self, ds, io, filename, file_id, range=None): method _calculate_offsets (line 25) | def _calculate_offsets(self, field_list, pcounts=None): class TipsyDataset (line 29) | class TipsyDataset(SPHDataset): method __init__ (line 46) | def __init__( method __str__ (line 113) | def __str__(self): method _parse_parameter_file (line 116) | def _parse_parameter_file(self): method _set_derived_attrs (line 224) | def _set_derived_attrs(self): method _set_code_unit_attributes (line 233) | def _set_code_unit_attributes(self): method _validate_header (line 294) | def _validate_header(filename): method _is_valid (line 336) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/tipsy/fields.py class TipsyFieldInfo (line 4) | class TipsyFieldInfo(SPHFieldInfo): method __init__ (line 30) | def __init__(self, ds, field_list, slice_info=None): FILE: yt/frontends/tipsy/io.py class IOHandlerTipsyBinary (line 13) | class IOHandlerTipsyBinary(IOHandlerSPH): method __init__ (line 46) | def __init__(self, *args, **kwargs): method _read_fluid_selection (line 50) | def _read_fluid_selection(self, chunks, selector, fields, size): method _fill_fields (line 53) | def _fill_fields(self, fields, vals, hsml, mask, data_file): method _read_particle_coords (line 90) | def _read_particle_coords(self, chunks, ptf): method hsml_filename (line 114) | def hsml_filename(self): method _generate_smoothing_length (line 117) | def _generate_smoothing_length(self, index): method _read_smoothing_length (line 142) | def _read_smoothing_length(self, data_file, count): method _get_smoothing_length (line 149) | def _get_smoothing_length(self, data_file, dtype, shape): method _read_particle_data_file (line 152) | def _read_particle_data_file(self, data_file, ptf, selector=None): method _update_domain (line 223) | def _update_domain(self, data_file): method _yield_coordinates (line 292) | def _yield_coordinates(self, data_file, needed_ptype=None): method _count_particles (line 319) | def _count_particles(self, data_file): method _compute_dtypes (line 335) | def _compute_dtypes(cls, field_dtypes, endian="<"): method _create_dtypes (line 350) | def _create_dtypes(self, data_file): method _identify_fields (line 425) | def _identify_fields(self, data_file): method _calculate_particle_offsets (line 428) | def _calculate_particle_offsets(self, data_file, pcounts): method _calculate_particle_offsets_aux (line 461) | def _calculate_particle_offsets_aux(self, data_file): FILE: yt/frontends/tipsy/tests/test_outputs.py function test_pkdgrav (line 37) | def test_pkdgrav(): function test_gasoline_dmonly (line 48) | def test_gasoline_dmonly(): function test_tipsy_galaxy (line 85) | def test_tipsy_galaxy(): function test_TipsyDataset (line 105) | def test_TipsyDataset(): function test_tipsy_index (line 111) | def test_tipsy_index(): function test_tipsy_smoothing_length (line 118) | def test_tipsy_smoothing_length(): FILE: yt/frontends/ytdata/data_structures.py class SavedDataset (line 40) | class SavedDataset(Dataset): method _parse_parameter_file (line 48) | def _parse_parameter_file(self): method _with_parameter_file_open (line 127) | def _with_parameter_file_open(self, f): method set_units (line 132) | def set_units(self): method _set_code_unit_attributes (line 139) | def _set_code_unit_attributes(self): class YTDataset (line 171) | class YTDataset(SavedDataset): method _with_parameter_file_open (line 191) | def _with_parameter_file_open(self, f): method create_field_info (line 198) | def create_field_info(self): method _setup_gas_alias (line 221) | def _setup_gas_alias(self): method _setup_override_fields (line 224) | def _setup_override_fields(self): class YTDataHDF5File (line 228) | class YTDataHDF5File(ParticleFile): method __init__ (line 229) | def __init__(self, ds, io, filename, file_id, range): class YTDataContainerDataset (line 236) | class YTDataContainerDataset(YTDataset): method __init__ (line 246) | def __init__( method _parse_parameter_file (line 264) | def _parse_parameter_file(self): method _setup_gas_alias (line 272) | def _setup_gas_alias(self): method data (line 283) | def data(self): method _is_valid (line 303) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class YTDataLightRayDataset (line 323) | class YTDataLightRayDataset(YTDataContainerDataset): method _parse_parameter_file (line 328) | def _parse_parameter_file(self): method _restore_light_ray_solution (line 332) | def _restore_light_ray_solution(self): method _is_valid (line 356) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class YTSpatialPlotDataset (line 370) | class YTSpatialPlotDataset(YTDataContainerDataset): method __init__ (line 376) | def __init__(self, *args, **kwargs): method _parse_parameter_file (line 379) | def _parse_parameter_file(self): method _is_valid (line 391) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class YTGrid (line 411) | class YTGrid(AMRGridPatch): method __init__ (line 414) | def __init__(self, gid, index, filename=None): method __getitem__ (line 422) | def __getitem__(self, key): method Parent (line 434) | def Parent(self): method Children (line 438) | def Children(self): class YTDataHierarchy (line 442) | class YTDataHierarchy(GridIndex): method __init__ (line 443) | def __init__(self, ds, dataset_type=None): method _count_grids (line 450) | def _count_grids(self): method _parse_index (line 453) | def _parse_index(self): method _detect_output_fields (line 473) | def _detect_output_fields(self): class YTGridHierarchy (line 486) | class YTGridHierarchy(YTDataHierarchy): method _populate_grid_objects (line 489) | def _populate_grid_objects(self): class YTGridDataset (line 495) | class YTGridDataset(YTDataset): method __init__ (line 506) | def __init__(self, filename, unit_system="cgs"): method _parse_parameter_file (line 510) | def _parse_parameter_file(self): method _setup_gas_alias (line 562) | def _setup_gas_alias(self): method _is_valid (line 570) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class YTNonspatialGrid (line 587) | class YTNonspatialGrid(AMRGridPatch): method __init__ (line 590) | def __init__(self, gid, index, filename=None): method __getitem__ (line 598) | def __getitem__(self, key): method get_data (line 607) | def get_data(self, fields=None): method Parent (line 702) | def Parent(self): method Children (line 706) | def Children(self): class YTNonspatialHierarchy (line 710) | class YTNonspatialHierarchy(YTDataHierarchy): method _populate_grid_objects (line 713) | def _populate_grid_objects(self): method _read_fluid_fields (line 721) | def _read_fluid_fields(self, fields, dobj, chunk=None): class YTNonspatialDataset (line 732) | class YTNonspatialDataset(YTGridDataset): method _parse_parameter_file (line 743) | def _parse_parameter_file(self): method _set_derived_attrs (line 749) | def _set_derived_attrs(self): method _setup_classes (line 762) | def _setup_classes(self): method print_key_parameters (line 767) | def print_key_parameters(self): method _is_valid (line 791) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class YTProfileDataset (line 805) | class YTProfileDataset(YTNonspatialDataset): method __init__ (line 811) | def __init__(self, filename, unit_system="cgs"): method profile (line 817) | def profile(self): method _parse_parameter_file (line 830) | def _parse_parameter_file(self): method _setup_gas_alias (line 881) | def _setup_gas_alias(self): method create_field_info (line 887) | def create_field_info(self): method _set_derived_attrs (line 894) | def _set_derived_attrs(self): method print_key_parameters (line 898) | def print_key_parameters(self): method _is_valid (line 911) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: class YTClumpContainer (line 925) | class YTClumpContainer(TreeContainer): method __init__ (line 926) | def __init__( method add_child (line 938) | def add_child(self, child): method __repr__ (line 944) | def __repr__(self): method __getitem__ (line 947) | def __getitem__(self, field): class YTClumpTreeDataset (line 960) | class YTClumpTreeDataset(YTNonspatialDataset): method __init__ (line 965) | def __init__(self, filename, unit_system="cgs"): method _load_tree (line 969) | def _load_tree(self): method leaves (line 988) | def leaves(self): method _is_valid (line 992) | def _is_valid(cls, filename: str, *args, **kwargs) -> bool: FILE: yt/frontends/ytdata/fields.py class YTDataContainerFieldInfo (line 9) | class YTDataContainerFieldInfo(FieldInfoContainer): method __init__ (line 14) | def __init__(self, ds, field_list): method add_fake_grid_fields (line 18) | def add_fake_grid_fields(self): class YTGridFieldInfo (line 40) | class YTGridFieldInfo(FieldInfoContainer): FILE: yt/frontends/ytdata/io.py class IOHandlerYTNonspatialhdf5 (line 10) | class IOHandlerYTNonspatialhdf5(BaseIOHandler): method _read_fluid_selection (line 15) | def _read_fluid_selection(self, g, selector, fields): class IOHandlerYTGridHDF5 (line 43) | class IOHandlerYTGridHDF5(BaseIOHandler): method _read_fluid_selection (line 48) | def _read_fluid_selection(self, chunks, selector, fields, size): method _read_particle_coords (line 119) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 144) | def _read_particle_fields(self, chunks, ptf, selector): class IOHandlerYTDataContainerHDF5 (line 172) | class IOHandlerYTDataContainerHDF5(BaseIOHandler): method _read_fluid_selection (line 175) | def _read_fluid_selection(self, chunks, selector, fields, size): method _yield_coordinates (line 178) | def _yield_coordinates(self, data_file): method _read_particle_coords (line 192) | def _read_particle_coords(self, chunks, ptf): method _read_particle_data_file (line 211) | def _read_particle_data_file(self, data_file, ptf, selector): method _count_particles (line 239) | def _count_particles(self, data_file): method _identify_fields (line 249) | def _identify_fields(self, data_file): class IOHandlerYTSpatialPlotHDF5 (line 264) | class IOHandlerYTSpatialPlotHDF5(IOHandlerYTDataContainerHDF5): method _read_particle_coords (line 267) | def _read_particle_coords(self, chunks, ptf): method _read_particle_fields (line 283) | def _read_particle_fields(self, chunks, ptf, selector): function _get_position_array (line 304) | def _get_position_array(ptype, f, ax, index_mask=None): function _get_position_array_units (line 314) | def _get_position_array_units(ptype, f, ax): FILE: yt/frontends/ytdata/tests/test_data_reload.py function test_save_as_data_unit_system (line 9) | def test_save_as_data_unit_system(tmp_path): FILE: yt/frontends/ytdata/tests/test_old_outputs.py function test_old_datacontainer_data (line 46) | def test_old_datacontainer_data(): function test_old_grid_datacontainer_data (line 70) | def test_old_grid_datacontainer_data(): function test_old_spatial_data (line 104) | def test_old_spatial_data(): function test_old_profile_data (line 119) | def test_old_profile_data(): function test_old_nonspatial_data (line 183) | def test_old_nonspatial_data(): FILE: yt/frontends/ytdata/tests/test_outputs.py function make_tempdir (line 28) | def make_tempdir(): function compare_unit_attributes (line 35) | def compare_unit_attributes(ds1, ds2): class YTDataFieldTest (line 47) | class YTDataFieldTest(AnswerTestingTest): method __init__ (line 51) | def __init__(self, ds_fn, field, decimals=10, geometric=True): method run (line 61) | def run(self): method compare (line 70) | def compare(self, new_result, old_result): function test_datacontainer_data (line 88) | def test_datacontainer_data(): function test_grid_datacontainer_data (line 113) | def test_grid_datacontainer_data(): function test_spatial_data (line 161) | def test_spatial_data(): function test_profile_data (line 179) | def test_profile_data(): function test_nonspatial_data (line 247) | def test_nonspatial_data(): FILE: yt/frontends/ytdata/tests/test_unit.py function test_old_plot_data (line 25) | def test_old_plot_data(): function test_plot_data (line 56) | def test_plot_data(): function test_non_square_frb (line 89) | def test_non_square_frb(): FILE: yt/frontends/ytdata/utilities.py function save_as_dataset (line 6) | def save_as_dataset(ds, filename, data, field_types=None, extra_attrs=No... function _hdf5_yt_array (line 152) | def _hdf5_yt_array(fh, field, ds=None): function _yt_array_hdf5 (line 186) | def _yt_array_hdf5(fh, field, data): function _yt_array_hdf5_attr (line 216) | def _yt_array_hdf5_attr(fh, attr, val): FILE: yt/funcs.py function is_sequence (line 36) | def is_sequence(obj): function iter_fields (line 51) | def iter_fields(field_or_fields): function ensure_numpy_array (line 84) | def ensure_numpy_array(obj): function read_struct (line 100) | def read_struct(f, fmt): function just_one (line 108) | def just_one(obj): function compare_dicts (line 113) | def compare_dicts(dict1, dict2): function humanize_time (line 134) | def humanize_time(secs): function get_memory_usage (line 148) | def get_memory_usage(subtract_share=False): function time_execution (line 172) | def time_execution(func): function print_tb (line 192) | def print_tb(func): function rootonly (line 213) | def rootonly(func): function pdb_run (line 235) | def pdb_run(func): function insert_ipython (line 267) | def insert_ipython(num_up=1): class TqdmProgressBar (line 297) | class TqdmProgressBar: method __init__ (line 300) | def __init__(self, title, maxval): method update (line 306) | def update(self, i=None): method finish (line 313) | def finish(self): class DummyProgressBar (line 317) | class DummyProgressBar: method __init__ (line 320) | def __init__(self, *args, **kwargs): method update (line 323) | def update(self, *args, **kwargs): method finish (line 326) | def finish(self, *args, **kwargs): function get_pbar (line 330) | def get_pbar(title, maxval): function only_on_root (line 347) | def only_on_root(func, *args, **kwargs): function is_root (line 364) | def is_root(): function signal_print_traceback (line 379) | def signal_print_traceback(signo, frame): function signal_problem (line 383) | def signal_problem(signo, frame): function signal_ipython (line 387) | def signal_ipython(signo, frame): function paste_traceback (line 391) | def paste_traceback(exc_type, exc, tb): function paste_traceback_detailed (line 412) | def paste_traceback_detailed(exc_type, exc, tb): function _rdbeta (line 438) | def _rdbeta(key): class NoCUDAException (line 449) | class NoCUDAException(Exception): class YTEmptyClass (line 453) | class YTEmptyClass: function update_git (line 457) | def update_git(path): function rebuild_modules (line 511) | def rebuild_modules(path, f): function get_git_version (line 528) | def get_git_version(path): function get_yt_version (line 544) | def get_yt_version(): function get_version_stack (line 557) | def get_version_stack(): function get_script_contents (line 569) | def get_script_contents(): function download_file (line 583) | def download_file(url, filename): function fancy_download_file (line 591) | def fancy_download_file(url, filename, requests=None): function simple_download_file (line 615) | def simple_download_file(url, filename): function bb_apicall (line 630) | def bb_apicall(endpoint, data, use_pass=True): function fix_length (line 650) | def fix_length(length, ds): function parallel_profile (line 670) | def parallel_profile(prefix): function get_num_threads (line 704) | def get_num_threads(): function fix_axis (line 713) | def fix_axis(axis, ds): function get_output_filename (line 717) | def get_output_filename(name, keyword, suffix): function ensure_dir_exists (line 762) | def ensure_dir_exists(path): function ensure_dir (line 772) | def ensure_dir(path): function validate_width_tuple (line 787) | def validate_width_tuple(width): function camelcase_to_underscore (line 804) | def camelcase_to_underscore(name): function set_intersection (line 809) | def set_intersection(some_list): function memory_checker (line 820) | def memory_checker(interval=15, dest=None): function enable_plugins (line 862) | def enable_plugins(plugin_filename=None): function subchunk_count (line 911) | def subchunk_count(n_total, chunk_size): function fix_unitary (line 919) | def fix_unitary(u): function get_hash (line 926) | def get_hash(infile, algorithm="md5", BLOCKSIZE=65536): function get_brewer_cmap (line 980) | def get_brewer_cmap(cmap): function matplotlib_style_context (line 993) | def matplotlib_style_context(style="yt.default", after_reset=False): function toggle_interactivity (line 1016) | def toggle_interactivity(): function get_interactivity (line 1031) | def get_interactivity(): function setdefaultattr (line 1035) | def setdefaultattr(obj, name, value): function parse_h5_attr (line 1045) | def parse_h5_attr(f, attr): function obj_length (line 1057) | def obj_length(v): function array_like_field (line 1066) | def array_like_field(data, x, field): function _full_type_name (line 1083) | def _full_type_name(obj: object = None, /, *, cls: type | None = None) -... function validate_3d_array (line 1092) | def validate_3d_array(obj): function validate_float (line 1100) | def validate_float(obj): function validate_sequence (line 1151) | def validate_sequence(obj): function validate_field_key (line 1158) | def validate_field_key(key): function is_valid_field_key (line 1172) | def is_valid_field_key(key): function validate_object (line 1181) | def validate_object(obj, data_type): function validate_axis (line 1189) | def validate_axis(ds, axis): function validate_center (line 1200) | def validate_center(center): function parse_center_array (line 1221) | def parse_center_array(center, ds, axis: int | None = None): function sglob (line 1344) | def sglob(pattern): function dictWithFactory (line 1351) | def dictWithFactory(factory: Callable[[Any], Any]) -> type: function levenshtein_distance (line 1388) | def levenshtein_distance(seq1, seq2, max_dist=None): function validate_moment (line 1443) | def validate_moment(moment, weight_field): function setdefault_mpl_metadata (line 1455) | def setdefault_mpl_metadata(save_kwargs: dict[str, Any], name: str) -> N... FILE: yt/geometry/coordinates/cartesian_coordinates.py function _sample_ray (line 31) | def _sample_ray(ray, npoints, field): function all_data (line 68) | def all_data(data, ptype, fields, kdtree=False): class CartesianCoordinateHandler (line 92) | class CartesianCoordinateHandler(CoordinateHandler): method setup_fields (line 96) | def setup_fields(self, registry): method _register_volume (line 135) | def _register_volume(self, registry): method _check_fields (line 151) | def _check_fields(self, registry): method pixelize (line 164) | def pixelize( method pixelize_line (line 252) | def pixelize_line(self, field, start_point, end_point, npoints): method _ortho_pixelize (line 316) | def _ortho_pixelize( method _oblique_pixelize (line 670) | def _oblique_pixelize(self, data_source, field, bounds, size, antialias): method convert_from_cartesian (line 797) | def convert_from_cartesian(self, coord): method convert_to_cartesian (line 800) | def convert_to_cartesian(self, coord): method convert_to_cylindrical (line 803) | def convert_to_cylindrical(self, coord): method convert_from_cylindrical (line 807) | def convert_from_cylindrical(self, coord): method convert_to_spherical (line 811) | def convert_to_spherical(self, coord): method convert_from_spherical (line 814) | def convert_from_spherical(self, coord): method period (line 821) | def period(self): FILE: yt/geometry/coordinates/coordinate_handler.py function _unknown_coord (line 15) | def _unknown_coord(data): function _get_coord_fields (line 19) | def _get_coord_fields(axi, units="code_length"): function _get_vert_fields (line 31) | def _get_vert_fields(axi, units="code_length"): function _setup_dummy_cartesian_coords_and_widths (line 39) | def _setup_dummy_cartesian_coords_and_widths(registry, axes: tuple[str]): function _setup_polar_coordinates (line 47) | def _setup_polar_coordinates(registry, axis_id): function validate_sequence_width (line 104) | def validate_sequence_width(width, ds, unit=None): class CoordinateHandler (line 133) | class CoordinateHandler(abc.ABC): method __init__ (line 137) | def __init__(self, ds, ordering: AxisOrder | None = None): method setup_fields (line 145) | def setup_fields(self): method pixelize (line 150) | def pixelize( method pixelize (line 164) | def pixelize( method pixelize (line 180) | def pixelize( method pixelize_line (line 197) | def pixelize_line(self, field, start_point, end_point, npoints): method distance (line 200) | def distance(self, start, end): method convert_from_cartesian (line 206) | def convert_from_cartesian(self, coord): method convert_to_cartesian (line 210) | def convert_to_cartesian(self, coord): method convert_to_cylindrical (line 214) | def convert_to_cylindrical(self, coord): method convert_from_cylindrical (line 218) | def convert_from_cylindrical(self, coord): method convert_to_spherical (line 222) | def convert_to_spherical(self, coord): method convert_from_spherical (line 226) | def convert_from_spherical(self, coord): method data_projection (line 230) | def data_projection(self): method data_transform (line 234) | def data_transform(self): method axis_name (line 238) | def axis_name(self): method axis_id (line 247) | def axis_id(self): method image_axis_name (line 254) | def image_axis_name(self): method x_axis (line 263) | def x_axis(self): method y_axis (line 271) | def y_axis(self): method period (line 280) | def period(self): method sanitize_depth (line 283) | def sanitize_depth(self, depth): method sanitize_width (line 297) | def sanitize_width(self, axis, width, depth): method sanitize_center (line 328) | def sanitize_center(self, center, axis): function cartesian_to_cylindrical (line 335) | def cartesian_to_cylindrical(coord, center=(0, 0, 0)): function cylindrical_to_cartesian (line 347) | def cylindrical_to_cartesian(coord, center=(0, 0, 0)): function _get_polar_bounds (line 357) | def _get_polar_bounds(self: CoordinateHandler, axes: tuple[str, str]): FILE: yt/geometry/coordinates/cylindrical_coordinates.py class CylindricalCoordinateHandler (line 22) | class CylindricalCoordinateHandler(CoordinateHandler): method __init__ (line 26) | def __init__(self, ds, ordering=None): method setup_fields (line 33) | def setup_fields(self, registry): method pixelize (line 81) | def pixelize( method pixelize_line (line 121) | def pixelize_line(self, field, start_point, end_point, npoints): method _ortho_pixelize (line 124) | def _ortho_pixelize( method _cyl_pixelize (line 147) | def _cyl_pixelize(self, data_source, field, bounds, size, antialias): method image_axis_name (line 167) | def image_axis_name(self): method convert_from_cartesian (line 184) | def convert_from_cartesian(self, coord): method convert_to_cartesian (line 187) | def convert_to_cartesian(self, coord): method convert_to_cylindrical (line 190) | def convert_to_cylindrical(self, coord): method convert_from_cylindrical (line 193) | def convert_from_cylindrical(self, coord): method convert_to_spherical (line 196) | def convert_to_spherical(self, coord): method convert_from_spherical (line 199) | def convert_from_spherical(self, coord): method period (line 203) | def period(self): method _polar_bounds (line 207) | def _polar_bounds(self): method sanitize_center (line 210) | def sanitize_center(self, center, axis): method sanitize_width (line 235) | def sanitize_width(self, axis, width, depth): FILE: yt/geometry/coordinates/geographic_coordinates.py class GeographicCoordinateHandler (line 13) | class GeographicCoordinateHandler(CoordinateHandler): method __init__ (line 17) | def __init__(self, ds, ordering=None): method setup_fields (line 26) | def setup_fields(self, registry): method _setup_radial_fields (line 185) | def _setup_radial_fields(self, registry): method _retrieve_radial_offset (line 205) | def _retrieve_radial_offset(self, data_source=None): method pixelize (line 222) | def pixelize( method pixelize_line (line 251) | def pixelize_line(self, field, start_point, end_point, npoints): method _ortho_pixelize (line 254) | def _ortho_pixelize( method _cyl_pixelize (line 284) | def _cyl_pixelize(self, data_source, field, bounds, size, antialias, d... method convert_from_cartesian (line 317) | def convert_from_cartesian(self, coord): method convert_to_cartesian (line 320) | def convert_to_cartesian(self, coord): method convert_to_cylindrical (line 347) | def convert_to_cylindrical(self, coord): method convert_from_cylindrical (line 350) | def convert_from_cylindrical(self, coord): method convert_to_spherical (line 353) | def convert_to_spherical(self, coord): method convert_from_spherical (line 356) | def convert_from_spherical(self, coord): method image_axis_name (line 362) | def image_axis_name(self): method data_projection (line 397) | def data_projection(self): method data_transform (line 413) | def data_transform(self): method period (line 427) | def period(self): method sanitize_center (line 430) | def sanitize_center(self, center, axis): method sanitize_width (line 452) | def sanitize_width(self, axis, width, depth): class InternalGeographicCoordinateHandler (line 473) | class InternalGeographicCoordinateHandler(GeographicCoordinateHandler): method _setup_radial_fields (line 477) | def _setup_radial_fields(self, registry): method _retrieve_radial_offset (line 500) | def _retrieve_radial_offset(self, data_source=None): method sanitize_center (line 523) | def sanitize_center(self, center, axis): method sanitize_width (line 548) | def sanitize_width(self, axis, width, depth): function _latitude_to_colatitude (line 575) | def _latitude_to_colatitude(lat_vals): FILE: yt/geometry/coordinates/polar_coordinates.py class PolarCoordinateHandler (line 4) | class PolarCoordinateHandler(CylindricalCoordinateHandler): FILE: yt/geometry/coordinates/spec_cube_coordinates.py class SpectralCubeCoordinateHandler (line 5) | class SpectralCubeCoordinateHandler(CartesianCoordinateHandler): method __init__ (line 8) | def __init__(self, ds, ordering=None): method setup_fields (line 44) | def setup_fields(self, registry): method convert_to_cylindrical (line 89) | def convert_to_cylindrical(self, coord): method convert_from_cylindrical (line 92) | def convert_from_cylindrical(self, coord): method image_axis_name (line 96) | def image_axis_name(self): FILE: yt/geometry/coordinates/spherical_coordinates.py class SphericalCoordinateHandler (line 16) | class SphericalCoordinateHandler(CoordinateHandler): method __init__ (line 20) | def __init__(self, ds, ordering=None): method setup_fields (line 28) | def setup_fields(self, registry): method pixelize (line 84) | def pixelize( method pixelize_line (line 123) | def pixelize_line(self, field, start_point, end_point, npoints): method _ortho_pixelize (line 126) | def _ortho_pixelize( method _cyl_pixelize (line 147) | def _cyl_pixelize(self, data_source, field, bounds, size, antialias, d... method convert_from_cartesian (line 177) | def convert_from_cartesian(self, coord): method convert_to_cartesian (line 180) | def convert_to_cartesian(self, coord): method convert_to_cylindrical (line 202) | def convert_to_cylindrical(self, coord): method convert_from_cylindrical (line 205) | def convert_from_cylindrical(self, coord): method convert_to_spherical (line 208) | def convert_to_spherical(self, coord): method convert_from_spherical (line 211) | def convert_from_spherical(self, coord): method image_axis_name (line 217) | def image_axis_name(self): method period (line 248) | def period(self): method _poloidal_bounds (line 252) | def _poloidal_bounds(self): method _conic_bounds (line 291) | def _conic_bounds(self): method _aitoff_bounds (line 295) | def _aitoff_bounds(self): method sanitize_center (line 362) | def sanitize_center(self, center, axis): method sanitize_width (line 382) | def sanitize_width(self, axis, width, depth): FILE: yt/geometry/coordinates/tests/test_axial_pixelization.py function test_axial_pixelization (line 5) | def test_axial_pixelization(): FILE: yt/geometry/coordinates/tests/test_cartesian_coordinates.py function test_cartesian_coordinates (line 12) | def test_cartesian_coordinates(): FILE: yt/geometry/coordinates/tests/test_cylindrical_coordinates.py function test_cylindrical_coordinates (line 12) | def test_cylindrical_coordinates(): FILE: yt/geometry/coordinates/tests/test_geographic_coordinates.py function test_geographic_coordinates (line 15) | def test_geographic_coordinates(geometry): function test_geographic_conversions (line 77) | def test_geographic_conversions(geometry): function test_geographic_conversions_with_units (line 124) | def test_geographic_conversions_with_units(geometry): FILE: yt/geometry/coordinates/tests/test_polar_coordinates.py function test_cylindrical_coordinates (line 13) | def test_cylindrical_coordinates(): FILE: yt/geometry/coordinates/tests/test_sanitize_center.py function reusable_fake_dataset (line 11) | def reusable_fake_dataset(): function test_invalid_center_type_default_error (line 42) | def test_invalid_center_type_default_error(reusable_fake_dataset, user_i... function test_invalid_center_special_cases (line 112) | def test_invalid_center_special_cases( FILE: yt/geometry/coordinates/tests/test_sph_pixelization.py function test_sph_moment (line 26) | def test_sph_moment(): function test_sph_projection_basic1 (line 53) | def test_sph_projection_basic1(): function test_sph_projection_basic2 (line 82) | def test_sph_projection_basic2(): function get_dataset_sphrefine (line 114) | def get_dataset_sphrefine(reflevel: int = 1): function getdata_test_gridproj2 (line 150) | def getdata_test_gridproj2(): function test_sph_gridproj_reseffect1 (line 173) | def test_sph_gridproj_reseffect1(): function test_sph_gridproj_reseffect2 (line 191) | def test_sph_gridproj_reseffect2(): FILE: yt/geometry/coordinates/tests/test_sph_pixelization_pytestonly.py function test_sph_proj_general_alongaxes (line 22) | def test_sph_proj_general_alongaxes( function test_sph_slice_general_alongaxes (line 167) | def test_sph_slice_general_alongaxes( function test_sph_slice_general_offaxis (line 315) | def test_sph_slice_general_offaxis( function test_sph_grid (line 469) | def test_sph_grid( FILE: yt/geometry/coordinates/tests/test_spherical_coordinates.py function test_spherical_coordinates (line 12) | def test_spherical_coordinates(): FILE: yt/geometry/geometry_enum.py class Geometry (line 11) | class Geometry(StrEnum): method __str__ (line 20) | def __str__(self): FILE: yt/geometry/geometry_handler.py class Index (line 21) | class Index(ParallelAnalysisInterface, abc.ABC): method __init__ (line 27) | def __init__(self, ds, dataset_type): method _detect_output_fields (line 49) | def _detect_output_fields(self): method _icoords_to_fcoords (line 52) | def _icoords_to_fcoords( method _initialize_state_variables (line 65) | def _initialize_state_variables(self): method _initialize_data_storage (line 71) | def _initialize_data_storage(self): method __create_data_file (line 114) | def __create_data_file(self, fn): method _setup_data_io (line 120) | def _setup_data_io(self): method print_stats (line 126) | def print_stats(self): method save_data (line 130) | def save_data( method _reload_data_file (line 160) | def _reload_data_file(self, *args, **kwargs): method get_data (line 167) | def get_data(self, node, name): method _get_particle_type_counts (line 192) | def _get_particle_type_counts(self): method _close_data_file (line 196) | def _close_data_file(self): method _split_fields (line 202) | def _split_fields(self, fields): method _read_particle_fields (line 217) | def _read_particle_fields(self, fields, dobj, chunk=None): method _read_fluid_fields (line 232) | def _read_fluid_fields(self, fields, dobj, chunk=None): method _chunk (line 249) | def _chunk(self, dobj, chunking_style, ngz=0, **kwargs): function cacheable_property (line 265) | def cacheable_property(func): class YTDataChunk (line 285) | class YTDataChunk: method __init__ (line 286) | def __init__( method _accumulate_values (line 304) | def _accumulate_values(self, method): method fcoords (line 325) | def fcoords(self): method icoords (line 344) | def icoords(self): method fwidth (line 361) | def fwidth(self): method ires (line 381) | def ires(self): method tcoords (line 398) | def tcoords(self): method dtcoords (line 403) | def dtcoords(self): method fcoords_vertex (line 420) | def fcoords_vertex(self): class ChunkDataCache (line 437) | class ChunkDataCache: method __init__ (line 438) | def __init__(self, base_iter, preload_fields, geometry_handler, max_le... method __iter__ (line 450) | def __iter__(self): method __next__ (line 453) | def __next__(self): function is_curvilinear (line 473) | def is_curvilinear(geo): FILE: yt/geometry/grid_geometry_handler.py class GridIndex (line 19) | class GridIndex(Index, abc.ABC): method _setup_geometry (line 32) | def _setup_geometry(self): method _count_grids (line 49) | def _count_grids(self): method _parse_index (line 53) | def _parse_index(self): method _populate_grid_objects (line 57) | def _populate_grid_objects(self): method __del__ (line 60) | def __del__(self): method parameters (line 69) | def parameters(self): method _detect_output_fields_backup (line 72) | def _detect_output_fields_backup(self): method select_grids (line 76) | def select_grids(self, level): method get_levels (line 82) | def get_levels(self): method _initialize_grid_arrays (line 86) | def _initialize_grid_arrays(self): method clear_all_data (line 98) | def clear_all_data(self): method get_smallest_dx (line 107) | def get_smallest_dx(self): method _get_particle_type_counts (line 113) | def _get_particle_type_counts(self): method _initialize_level_stats (line 116) | def _initialize_level_stats(self): method grid_corners (line 134) | def grid_corners(self): method lock_grids_to_parents (line 181) | def lock_grids_to_parents(self): method print_stats (line 198) | def print_stats(self): method _find_field_values_at_points (line 239) | def _find_field_values_at_points(self, fields, coords): method _find_points (line 276) | def _find_points(self, x, y, z): method _get_grid_tree (line 292) | def _get_grid_tree(self): method convert (line 321) | def convert(self, unit): method _identify_base_chunk (line 324) | def _identify_base_chunk(self, dobj): method _count_selection (line 352) | def _count_selection(self, dobj, grids=None, fast_index=None): method _chunk_all (line 360) | def _chunk_all(self, dobj, cache=True, fast_index=None): method _chunk_spatial (line 365) | def _chunk_spatial(self, dobj, ngz, sort=None, preload_fields=None): method _chunk_io (line 392) | def _chunk_io( method _icoords_to_fcoords (line 448) | def _icoords_to_fcoords( method _add_mesh_sampling_particle_field (line 465) | def _add_mesh_sampling_particle_field(self, deposit_field, ftype, ptype): function _grid_sort_id (line 501) | def _grid_sort_id(g): function _grid_sort_mixed (line 505) | def _grid_sort_mixed(g): FILE: yt/geometry/oct_geometry_handler.py class OctreeIndex (line 8) | class OctreeIndex(Index): method _setup_geometry (line 11) | def _setup_geometry(self): method get_smallest_dx (line 15) | def get_smallest_dx(self): method convert (line 24) | def convert(self, unit): method _add_mesh_sampling_particle_field (line 27) | def _add_mesh_sampling_particle_field(self, deposit_field, ftype, ptype): method _icoords_to_fcoords (line 120) | def _icoords_to_fcoords( FILE: yt/geometry/particle_geometry_handler.py function validate_index_order (line 19) | def validate_index_order(index_order): class ParticleIndexInfo (line 35) | class ParticleIndexInfo: method __init__ (line 36) | def __init__(self, order1, order2, filename, mutable_index): method order1 (line 45) | def order1(self): method order2 (line 49) | def order2(self): method order2 (line 53) | def order2(self, value): method order2_orig (line 61) | def order2_orig(self): class ParticleIndex (line 65) | class ParticleIndex(Index): method __init__ (line 68) | def __init__(self, ds, dataset_type): method _setup_geometry (line 75) | def _setup_geometry(self): method get_smallest_dx (line 78) | def get_smallest_dx(self): method _get_particle_type_counts (line 84) | def _get_particle_type_counts(self): method convert (line 91) | def convert(self, unit): method chunksize (line 95) | def chunksize(self): method data_files (line 102) | def data_files(self): method data_files (line 110) | def data_files(self, value): method total_particles (line 116) | def total_particles(self): method _setup_filenames (line 125) | def _setup_filenames(self): method _initialize_index (line 155) | def _initialize_index(self): method _order2_update (line 251) | def _order2_update(self, max_hsml): method _initialize_coarse_index (line 263) | def _initialize_coarse_index(self): method _initialize_refined_index (line 291) | def _initialize_refined_index(self): method _detect_output_fields (line 356) | def _detect_output_fields(self): method _identify_base_chunk (line 381) | def _identify_base_chunk(self, dobj): method _chunk_all (line 426) | def _chunk_all(self, dobj): method _chunk_spatial (line 430) | def _chunk_spatial(self, dobj, ngz, sort=None, preload_fields=None): method _chunk_io (line 440) | def _chunk_io(self, dobj, cache=True, local_only=False): method _generate_hash (line 445) | def _generate_hash(self): method _initialize_frontend_specific (line 476) | def _initialize_frontend_specific(self): FILE: yt/geometry/tests/test_ewah_write_load.py function test_ewah_write_load (line 7) | def test_ewah_write_load(tmp_path): FILE: yt/geometry/tests/test_geometries.py function test_testable_geometries (line 21) | def test_testable_geometries(geometry): FILE: yt/geometry/tests/test_grid_container.py function setup_test_ds (line 9) | def setup_test_ds(): function test_grid_tree (line 58) | def test_grid_tree(): function test_find_points (line 81) | def test_find_points(): function test_grid_arrays_view (line 137) | def test_grid_arrays_view(): FILE: yt/geometry/tests/test_grid_index.py function test_icoords_to_ires (line 4) | def test_icoords_to_ires(): FILE: yt/geometry/tests/test_particle_deposit.py function test_cic_deposit (line 9) | def test_cic_deposit(): function test_one_zone_octree_deposit (line 24) | def test_one_zone_octree_deposit(): function test_mesh_sampling (line 40) | def test_mesh_sampling(): function test_mesh_sampling_for_filtered_particles (line 59) | def test_mesh_sampling_for_filtered_particles(): function test_mesh_sampling_with_indexing (line 90) | def test_mesh_sampling_with_indexing(): function test_mesh_sampling_vs_field_value_at_point (line 111) | def test_mesh_sampling_vs_field_value_at_point(): FILE: yt/geometry/tests/test_particle_octree.py function test_add_particles_random (line 28) | def test_add_particles_random(): class FakeDS (line 56) | class FakeDS: class FakeRegion (line 65) | class FakeRegion: method __init__ (line 66) | def __init__(self, nfiles, periodic=False): method set_edges (line 81) | def set_edges(self, file_id, dx=0.1): class FakeBoxRegion (line 92) | class FakeBoxRegion: method __init__ (line 93) | def __init__(self, nfiles, left_edge, right_edge): method set_edges (line 104) | def set_edges(self, center, width): function FakeBitmap (line 113) | def FakeBitmap( function test_bitmap_no_collisions (line 181) | def test_bitmap_no_collisions(): function test_bitmap_collisions (line 231) | def test_bitmap_collisions(): function test_bitmap_save_load (line 281) | def test_bitmap_save_load(): function test_bitmap_select (line 310) | def test_bitmap_select(): function cell_centers (line 402) | def cell_centers(order, left_edge, right_edge): function fake_decomp_random (line 414) | def fake_decomp_random(npart, nfiles, ifile, DLE, DRE, buff=0.0): function fake_decomp_sliced (line 426) | def fake_decomp_sliced(npart, nfiles, ifile, DLE, DRE, buff=0.0): function makeall_decomp_hilbert_gaussian (line 448) | def makeall_decomp_hilbert_gaussian( function fake_decomp_hilbert_gaussian (line 530) | def fake_decomp_hilbert_gaussian( function fake_decomp_hilbert_uniform (line 568) | def fake_decomp_hilbert_uniform( function fake_decomp_morton (line 609) | def fake_decomp_morton( function fake_decomp_grid (line 650) | def fake_decomp_grid(npart, nfiles, ifile, DLE, DRE, buff=0.0, verbose=F... function yield_fake_decomp (line 665) | def yield_fake_decomp(decomp, npart, nfiles, DLE, DRE, **kws): function fake_decomp (line 671) | def fake_decomp( FILE: yt/geometry/tests/test_pickleable_selections.py function test_pickleability (line 9) | def test_pickleability(): FILE: yt/geometry/unstructured_mesh_handler.py class UnstructuredIndex (line 11) | class UnstructuredIndex(Index): method __init__ (line 16) | def __init__(self, ds, dataset_type): method _setup_geometry (line 24) | def _setup_geometry(self): method get_smallest_dx (line 28) | def get_smallest_dx(self): method convert (line 40) | def convert(self, unit): method _initialize_mesh (line 43) | def _initialize_mesh(self): method _identify_base_chunk (line 46) | def _identify_base_chunk(self, dobj): method _count_selection (line 53) | def _count_selection(self, dobj, meshes=None): method _chunk_all (line 59) | def _chunk_all(self, dobj, cache=True): method _chunk_spatial (line 63) | def _chunk_spatial(self, dobj, ngz, sort=None, preload_fields=None): method _chunk_io (line 78) | def _chunk_io(self, dobj, cache=True, local_only=False): FILE: yt/geometry/vectorized_ops.h type v4df (line 1) | typedef double v4df __attribute__ ((vector_size(32))); FILE: yt/loaders.py function load (line 56) | def load(fn: Union[str, "os.PathLike[str]"], *args, hint: str | None = N... function load_simulation (line 149) | def load_simulation(fn, simulation_type, find_outputs=False): function _sanitize_axis_order_args (line 187) | def _sanitize_axis_order_args( function load_uniform_grid (line 204) | def load_uniform_grid( function load_amr_grids (line 450) | def load_amr_grids( function load_particles (line 689) | def load_particles( function load_hexahedral_mesh (line 883) | def load_hexahedral_mesh( function load_octree (line 1041) | def load_octree( function load_unstructured_mesh (line 1224) | def load_unstructured_mesh( function _get_sample_data (line 1486) | def _get_sample_data( function load_sample (line 1627) | def load_sample( function _mount_helper (line 1688) | def _mount_helper( function load_archive (line 1713) | def load_archive( function load_hdf5_file (line 1817) | def load_hdf5_file( FILE: yt/sample_data/api.py function _parse_byte_size (line 25) | def _parse_byte_size(s: str): function _get_sample_data_registry (line 82) | def _get_sample_data_registry(): function get_data_registry_table (line 93) | def get_data_registry_table(): function _get_test_data_dir_path (line 146) | def _get_test_data_dir_path(): function lookup_on_disk_data (line 158) | def lookup_on_disk_data(fn) -> Path: function get_download_cache_dir (line 190) | def get_download_cache_dir(): function _get_pooch_instance (line 197) | def _get_pooch_instance(): function _download_sample_data_file (line 212) | def _download_sample_data_file( FILE: yt/startup_tasks.py function turn_on_parallelism (line 22) | def turn_on_parallelism(): class SetExceptionHandling (line 58) | class SetExceptionHandling(argparse.Action): method __call__ (line 59) | def __call__(self, parser, namespace, values, option_string=None): class SetConfigOption (line 80) | class SetConfigOption(argparse.Action): method __call__ (line 81) | def __call__(self, parser, namespace, values, option_string=None): class YTParser (line 89) | class YTParser(argparse.ArgumentParser): method error (line 90) | def error(self, message): function print_help (line 161) | def print_help(*args, **kwargs): FILE: yt/test_fake_amr_ds_particle_positions_within_domain.py function test_fake_amr_ds_particles_within_grid_bounds (line 4) | def test_fake_amr_ds_particles_within_grid_bounds(): FILE: yt/testing.py function _deprecated_assert_func (line 42) | def _deprecated_assert_func(func): class _Dummy (line 55) | class _Dummy(unittest.TestCase): method nop (line 56) | def nop(self): function assert_rel_equal (line 66) | def assert_rel_equal(a1, a2, decimals, err_msg="", verbose=True): function cubicspline_python (line 94) | def cubicspline_python( function integrate_kernel (line 121) | def integrate_kernel( function distancematrix (line 164) | def distancematrix( function amrspace (line 205) | def amrspace(extent, levels=7, cells=8): function _check_field_unit_args_helper (line 323) | def _check_field_unit_args_helper(args: dict, default_args: dict): function fake_random_ds (line 347) | def fake_random_ds( function fake_amr_ds (line 441) | def fake_amr_ds( function fake_particle_ds (line 511) | def fake_particle_ds( function fake_tetrahedral_ds (line 559) | def fake_tetrahedral_ds(): function fake_hexahedral_ds (line 583) | def fake_hexahedral_ds(fields=None): function small_fake_hexahedral_ds (line 609) | def small_fake_hexahedral_ds(): function fake_stretched_ds (line 635) | def fake_stretched_ds(N=16): function fake_vr_orientation_test_ds (line 655) | def fake_vr_orientation_test_ds(N=96, scale=1): function fake_sph_orientation_ds (line 743) | def fake_sph_orientation_ds(): function fake_sph_grid_ds (line 775) | def fake_sph_grid_ds(hsml_factor=1.0): function constantmass (line 819) | def constantmass(i: int, j: int, k: int) -> float: function fake_sph_flexible_grid_ds (line 829) | def fake_sph_flexible_grid_ds( function fake_random_sph_ds (line 962) | def fake_random_sph_ds( function construct_octree_mask (line 1033) | def construct_octree_mask(prng=RandomState(0x1D3D3D3), refined=None): #... function fake_octree_ds (line 1058) | def fake_octree_ds( function add_noise_fields (line 1107) | def add_noise_fields(ds): function expand_keywords (line 1133) | def expand_keywords(keywords, full=False): function skip (line 1244) | def skip(reason: str): function skipif (line 1264) | def skipif(condition: bool, reason: str): function requires_module (line 1275) | def requires_module(module): function requires_module_pytest (line 1286) | def requires_module_pytest(*module_names): function requires_file (line 1320) | def requires_file(req_file): function disable_dataset_cache (line 1329) | def disable_dataset_cache(func): function units_override_check (line 1345) | def units_override_check(fn): function check_results (line 1424) | def check_results(func): function periodicity_cases (line 1536) | def periodicity_cases(ds): function run_nose (line 1549) | def run_nose( function assert_allclose_units (line 1606) | def assert_allclose_units(actual, desired, rtol=1e-7, atol=0, **kwargs): function assert_fname (line 1671) | def assert_fname(fname): function requires_backend (line 1703) | def requires_backend(backend): function requires_external_executable (line 1723) | def requires_external_executable(*names): class TempDirTest (line 1730) | class TempDirTest(unittest.TestCase): method setUp (line 1736) | def setUp(self): method tearDown (line 1741) | def tearDown(self): class ParticleSelectionComparison (line 1746) | class ParticleSelectionComparison: method __init__ (line 1755) | def __init__(self, ds): method compare_dobj_selection (line 1778) | def compare_dobj_selection(self, dobj): method run_defaults (line 1806) | def run_defaults(self): function _deprecated_numpy_testing_reexport (line 1881) | def _deprecated_numpy_testing_reexport(func): function assert_array_equal (line 1902) | def assert_array_equal(): ... function assert_almost_equal (line 1906) | def assert_almost_equal(): ... function assert_equal (line 1910) | def assert_equal(): ... function assert_array_less (line 1914) | def assert_array_less(): ... function assert_string_equal (line 1918) | def assert_string_equal(): ... function assert_array_almost_equal_nulp (line 1922) | def assert_array_almost_equal_nulp(): ... function assert_allclose (line 1926) | def assert_allclose(): ... function assert_raises (line 1930) | def assert_raises(): ... function assert_approx_equal (line 1934) | def assert_approx_equal(): ... function assert_array_almost_equal (line 1938) | def assert_array_almost_equal(): ... FILE: yt/tests/test_external_frontends.py class MockEntryPoint (line 11) | class MockEntryPoint: method load (line 13) | def load(cls): function mock_external_frontend (line 35) | def mock_external_frontend(monkeypatch): function test_external_frontend (line 50) | def test_external_frontend(tmp_path): FILE: yt/tests/test_funcs.py function test_validate_axis (line 17) | def test_validate_axis(): function test_validate_center (line 34) | def test_validate_center(): function test_just_one (line 64) | def test_just_one(): function test_levenshtein (line 74) | def test_levenshtein(): function test_simple_download_file (line 109) | def test_simple_download_file(): FILE: yt/tests/test_load_archive.py function data_registry (line 16) | def data_registry(): function tmp_data_dir (line 21) | def tmp_data_dir(tmp_path): function test_load_archive (line 56) | def test_load_archive( function test_load_invalid_archive (line 108) | def test_load_invalid_archive(tmp_data_dir, data_registry): FILE: yt/tests/test_load_errors.py function tmp_data_dir (line 17) | def tmp_data_dir(tmp_path): function test_load_not_a_file (line 29) | def test_load_not_a_file(tmp_path): function test_load_simulation_not_a_file (line 36) | def test_load_simulation_not_a_file(simtype, tmp_path): function tmp_path_with_empty_file (line 46) | def tmp_path_with_empty_file(tmp_path): function test_load_unidentified_data_dir (line 52) | def test_load_unidentified_data_dir(tmp_path_with_empty_file): function test_load_unidentified_data_file (line 58) | def test_load_unidentified_data_file(tmp_path_with_empty_file): function test_load_simulation_unidentified_data_dir (line 64) | def test_load_simulation_unidentified_data_dir(tmp_path_with_empty_file): function test_load_simulation_unidentified_data_file (line 70) | def test_load_simulation_unidentified_data_file(tmp_path_with_empty_file): function ambiguous_dataset_classes (line 80) | def ambiguous_dataset_classes(): function test_load_ambiguous_data (line 123) | def test_load_ambiguous_data(tmp_path): function test_load_ambiguous_data_with_hint (line 152) | def test_load_ambiguous_data_with_hint(hint, expected_type, tmp_path): function catchall_dataset_class (line 172) | def catchall_dataset_class(): function test_depr_load_keyword (line 202) | def test_depr_load_keyword(tmp_path): function invalid_dataset_class_with_missing_requirements (line 210) | def invalid_dataset_class_with_missing_requirements(): function test_all_invalid_with_missing_requirements (line 241) | def test_all_invalid_with_missing_requirements(tmp_path): function valid_dataset_class_with_missing_requirements (line 261) | def valid_dataset_class_with_missing_requirements(): function test_single_valid_with_missing_requirements (line 292) | def test_single_valid_with_missing_requirements(tmp_path): FILE: yt/tests/test_load_sample.py function tmp_data_dir (line 21) | def tmp_data_dir(tmp_path): function capturable_logger (line 31) | def capturable_logger(caplog): function test_load_sample_small_dataset (line 80) | def test_load_sample_small_dataset( function test_load_sample_timeout (line 120) | def test_load_sample_timeout(tmp_data_dir, caplog): function test_registry_integrity (line 131) | def test_registry_integrity(): function sound_subreg (line 137) | def sound_subreg(): function test_registry_byte_size_dtype (line 145) | def test_registry_byte_size_dtype(sound_subreg): function test_registry_byte_size_sign (line 152) | def test_registry_byte_size_sign(sound_subreg): function test_unknown_filename (line 157) | def test_unknown_filename(): function test_typo_filename (line 164) | def test_typo_filename(): function fake_data_dir_in_a_vaccum (line 176) | def fake_data_dir_in_a_vaccum(tmp_path): function test_data_dir_broken (line 194) | def test_data_dir_broken(): function test_filename_none (line 207) | def test_filename_none(capsys): FILE: yt/tests/test_testing.py function test_requires_inactive_backend (line 11) | def test_requires_inactive_backend(): function test_requires_active_backend (line 26) | def test_requires_active_backend(): FILE: yt/tests/test_version.py function test_parse_version_info (line 18) | def test_parse_version_info(version_str, expected): function test_version_tuple_comp (line 23) | def test_version_tuple_comp(): FILE: yt/units/__init__.py class UnitContainer (line 32) | class UnitContainer: method __init__ (line 57) | def __init__(self, registry): method __dir__ (line 61) | def __dir__(self): method __getattr__ (line 66) | def __getattr__(self, item): function display_ytarray (line 75) | def display_ytarray(arr): function _wrap_display_ytarray (line 119) | def _wrap_display_ytarray(arr): FILE: yt/units/_numpy_wrapper_functions.py function _validate_numpy_wrapper_units (line 13) | def _validate_numpy_wrapper_units(v, arrs): function uconcatenate (line 25) | def uconcatenate(arrs, axis=0): function ucross (line 46) | def ucross(arr1, arr2, registry=None, axisa=-1, axisb=-1, axisc=-1, axis... function uintersect1d (line 59) | def uintersect1d(arr1, arr2, assume_unique=False): function uunion1d (line 80) | def uunion1d(arr1, arr2): function unorm (line 101) | def unorm(data, ord=None, axis=None, keepdims=False): function udot (line 121) | def udot(op1, op2): function uvstack (line 142) | def uvstack(arrs): function uhstack (line 161) | def uhstack(arrs): function ustack (line 185) | def ustack(arrs, axis=0): FILE: yt/units/physical_constants.py class _ConstantContainer (line 9) | class _ConstantContainer: method __init__ (line 29) | def __init__(self, registry): method __dir__ (line 33) | def __dir__(self): method __getattr__ (line 37) | def __getattr__(self, item): FILE: yt/units/tests/test_magnetic_code_units.py function test_magnetic_code_units (line 7) | def test_magnetic_code_units(): FILE: yt/units/unit_symbols.py class _SymbolContainer (line 9) | class _SymbolContainer: method __init__ (line 31) | def __init__(self, registry): method __dir__ (line 35) | def __dir__(self): method __getattr__ (line 41) | def __getattr__(self, item): FILE: yt/units/unit_systems.py function create_code_unit_system (line 4) | def create_code_unit_system(unit_registry, current_mks_unit=None): FILE: yt/utilities/amr_kdtree/amr_kdtools.py function receive_and_reduce (line 6) | def receive_and_reduce(comm, incoming_rank, image, add_to_front, *, use_... function send_to_parent (line 42) | def send_to_parent(comm, outgoing_rank, image): function scatter_image (line 47) | def scatter_image(comm, root, image): FILE: yt/utilities/amr_kdtree/amr_kdtree.py function _apply_log (line 53) | def _apply_log(data, log_changed, log_new): class Tree (line 63) | class Tree: method __init__ (line 64) | def __init__( method add_grids (line 100) | def add_grids(self, grids): method build (line 109) | def build(self): method check_tree (line 120) | def check_tree(self): method sum_cells (line 142) | def sum_cells(self, all_cells=False): class AMRKDTree (line 161) | class AMRKDTree(ParallelAnalysisInterface): method __init__ (line 172) | def __init__(self, ds, min_level=None, max_level=None, data_source=None): method set_fields (line 207) | def set_fields(self, fields, log_fields, no_ghost, force=False): method initialize_source (line 239) | def initialize_source(self, fields, log_fields, no_ghost): method traverse (line 248) | def traverse(self, viewpoint=None): method slice_traverse (line 252) | def slice_traverse(self, viewpoint=None): method get_node (line 268) | def get_node(self, nodeid): method locate_node (line 280) | def locate_node(self, pos): method get_reduce_owners (line 283) | def get_reduce_owners(self): method reduce_tree_images (line 297) | def reduce_tree_images(self, image, viewpoint, *, use_opacity=True): method get_brick_data (line 325) | def get_brick_data(self, node): method locate_neighbors (line 376) | def locate_neighbors(self, grid, ci): method locate_neighbors_from_position (line 433) | def locate_neighbors_from_position(self, position): method store_kd_bricks (line 466) | def store_kd_bricks(self, fn=None): method load_kd_bricks (line 490) | def load_kd_bricks(self, fn=None): method join_parallel_trees (line 526) | def join_parallel_trees(self): method get_node_arrays (line 544) | def get_node_arrays(self): method rebuild_tree_from_array (line 589) | def rebuild_tree_from_array( method count_volume (line 632) | def count_volume(self): method count_cells (line 635) | def count_cells(self): FILE: yt/utilities/answer_testing/answer_tests.py function grid_hierarchy (line 21) | def grid_hierarchy(ds): function parentage_relationships (line 31) | def parentage_relationships(ds): function grid_values (line 47) | def grid_values(ds, field): function projection_values (line 62) | def projection_values(ds, axis, field, weight_field, dobj_type): function field_values (line 87) | def field_values(ds, field, obj_type=None, particle_type=False): function pixelized_projection_values (line 109) | def pixelized_projection_values(ds, axis, field, weight_field=None, dobj... function small_patch_amr (line 137) | def small_patch_amr(ds, field, weight, axis, ds_obj): function big_patch_amr (line 155) | def big_patch_amr(ds, field, weight, axis, ds_obj): function generic_array (line 171) | def generic_array(func, args=None, kwargs=None): function sph_answer (line 179) | def sph_answer(ds, ds_str_repr, ds_nparticles, field, weight, ds_obj, ax... function get_field_size_and_mean (line 209) | def get_field_size_and_mean(ds, field, geometric): function plot_window_attribute (line 217) | def plot_window_attribute( function phase_plot_attribute (line 242) | def phase_plot_attribute( function generic_image (line 268) | def generic_image(img_fname): function axial_pixelization (line 281) | def axial_pixelization(ds): function extract_connected_sets (line 304) | def extract_connected_sets(ds_fn, data_source, field, num_levels, min_va... function VR_image_comparison (line 321) | def VR_image_comparison(scene): FILE: yt/utilities/answer_testing/framework.py class AnswerTesting (line 58) | class AnswerTesting(Plugin): method options (line 62) | def options(self, parser, env=os.environ): method my_version (line 101) | def my_version(self, version=None): method configure (line 112) | def configure(self, options, conf): method finalize (line 185) | def finalize(self, result=None): method help (line 190) | def help(self): class AnswerTestStorage (line 194) | class AnswerTestStorage: method __init__ (line 195) | def __init__(self, reference_name=None, answer_name=None): method dump (line 200) | def dump(self, result_storage, result): method get (line 203) | def get(self, ds_name, default=None): class AnswerTestCloudStorage (line 207) | class AnswerTestCloudStorage(AnswerTestStorage): method get (line 208) | def get(self, ds_name, default=None): method progress_callback (line 238) | def progress_callback(self, current, total): method dump (line 241) | def dump(self, result_storage): class AnswerTestLocalStorage (line 264) | class AnswerTestLocalStorage(AnswerTestStorage): method dump (line 265) | def dump(self, result_storage): method get (line 282) | def get(self, ds_name, default=None): function temp_cwd (line 298) | def temp_cwd(cwd): function can_run_ds (line 305) | def can_run_ds(ds_fn, file_check=False): function data_dir_load (line 328) | def data_dir_load(ds_fn, cls=None, args=None, kwargs=None): function data_dir_load_v2 (line 344) | def data_dir_load_v2(fn, *args, **kwargs): function sim_dir_load (line 351) | def sim_dir_load(sim_fn, path=None, sim_type="Enzo", find_outputs=False): class AnswerTestingTest (line 361) | class AnswerTestingTest: method __init__ (line 370) | def __init__(self, ds_fn): method __call__ (line 378) | def __call__(self): method storage_name (line 424) | def storage_name(self): method compare (line 429) | def compare(self, new_result, old_result): method create_plot (line 432) | def create_plot(self, ds, plot_type, plot_field, plot_axis, plot_kwarg... method sim_center (line 444) | def sim_center(self): method max_dens_location (line 451) | def max_dens_location(self): method entire_simulation (line 459) | def entire_simulation(self): method description (line 466) | def description(self): class FieldValuesTest (line 480) | class FieldValuesTest(AnswerTestingTest): method __init__ (line 484) | def __init__(self, ds_fn, field, obj_type=None, particle_type=False, d... method run (line 491) | def run(self): method compare (line 505) | def compare(self, new_result, old_result): class AllFieldValuesTest (line 530) | class AllFieldValuesTest(AnswerTestingTest): method __init__ (line 534) | def __init__(self, ds_fn, field, obj_type=None, decimals=None): method run (line 540) | def run(self): method compare (line 544) | def compare(self, new_result, old_result): class ProjectionValuesTest (line 558) | class ProjectionValuesTest(AnswerTestingTest): method __init__ (line 562) | def __init__( method run (line 572) | def run(self): method compare (line 584) | def compare(self, new_result, old_result): class PixelizedProjectionValuesTest (line 619) | class PixelizedProjectionValuesTest(AnswerTestingTest): method __init__ (line 623) | def __init__(self, ds_fn, axis, field, weight_field=None, obj_type=None): method _get_frb (line 630) | def _get_frb(self, obj): method run (line 637) | def run(self): method compare (line 652) | def compare(self, new_result, old_result): class PixelizedParticleProjectionValuesTest (line 667) | class PixelizedParticleProjectionValuesTest(PixelizedProjectionValuesTest): method _get_frb (line 668) | def _get_frb(self, obj): class GridValuesTest (line 675) | class GridValuesTest(AnswerTestingTest): method __init__ (line 679) | def __init__(self, ds_fn, field): method run (line 683) | def run(self): method compare (line 690) | def compare(self, new_result, old_result): class VerifySimulationSameTest (line 702) | class VerifySimulationSameTest(AnswerTestingTest): method __init__ (line 706) | def __init__(self, simulation_obj): method run (line 709) | def run(self): method compare (line 713) | def compare(self, new_result, old_result): class GridHierarchyTest (line 729) | class GridHierarchyTest(AnswerTestingTest): method run (line 733) | def run(self): method compare (line 742) | def compare(self, new_result, old_result): class ParentageRelationshipsTest (line 751) | class ParentageRelationshipsTest(AnswerTestingTest): method run (line 755) | def run(self): method compare (line 770) | def compare(self, new_result, old_result): function dump_images (line 785) | def dump_images(new_result, old_result, decimals=10): function ensure_image_comparability (line 802) | def ensure_image_comparability(a, b): function compare_image_lists (line 829) | def compare_image_lists(new_result, old_result, decimals): class PlotWindowAttributeTest (line 869) | class PlotWindowAttributeTest(AnswerTestingTest): method __init__ (line 880) | def __init__( method run (line 907) | def run(self): method compare (line 923) | def compare(self, new_result, old_result): class PhasePlotAttributeTest (line 927) | class PhasePlotAttributeTest(AnswerTestingTest): method __init__ (line 931) | def __init__( method create_plot (line 953) | def create_plot( method run (line 966) | def run(self): method compare (line 984) | def compare(self, new_result, old_result): class GenericArrayTest (line 988) | class GenericArrayTest(AnswerTestingTest): method __init__ (line 992) | def __init__(self, ds_fn, array_func, args=None, kwargs=None, decimals... method run (line 1000) | def run(self): method compare (line 1011) | def compare(self, new_result, old_result): class AxialPixelizationTest (line 1035) | class AxialPixelizationTest(AnswerTestingTest): method __init__ (line 1042) | def __init__(self, ds_fn, decimals=None): method run (line 1047) | def run(self): method compare (line 1066) | def compare(self, new_result, old_result): function requires_answer_testing (line 1086) | def requires_answer_testing(): function requires_ds (line 1093) | def requires_ds(ds_fn, big_data=False, file_check=False): function small_patch_amr (line 1098) | def small_patch_amr(ds_fn, fields, input_center="max", input_weight=("ga... function big_patch_amr (line 1115) | def big_patch_amr(ds_fn, fields, input_center="max", input_weight=("gas"... function _particle_answers (line 1131) | def _particle_answers( function nbody_answer (line 1154) | def nbody_answer(ds, ds_str_repr, ds_nparticles, fields, center="c"): function sph_answer (line 1165) | def sph_answer(ds, ds_str_repr, ds_nparticles, fields, center="c"): function create_obj (line 1176) | def create_obj(ds, obj_type): FILE: yt/utilities/answer_testing/level_sets_tests.py class ExtractConnectedSetsTest (line 7) | class ExtractConnectedSetsTest(AnswerTestingTest): method __init__ (line 11) | def __init__(self, ds_fn, data_source, field, num_levels, min_val, max... method run (line 19) | def run(self): method compare (line 35) | def compare(self, new_result, old_result): FILE: yt/utilities/answer_testing/testing_utilities.py function _streamline_for_io (line 21) | def _streamline_for_io(params): function _iterable_to_string (line 68) | def _iterable_to_string(iterable): function _hash_results (line 100) | def _hash_results(results): function _hash_dict (line 125) | def _hash_dict(data): function generate_hash (line 161) | def generate_hash(data): function _save_result (line 199) | def _save_result(data, output_file): function _save_raw_arrays (line 215) | def _save_raw_arrays(arrays, answer_file, func_name): function _parse_raw_answer_dict (line 255) | def _parse_raw_answer_dict(d, h5grp): function _compare_raw_arrays (line 265) | def _compare_raw_arrays(arrays, answer_file, func_name): function can_run_ds (line 295) | def can_run_ds(ds_fn, file_check=False): function can_run_sim (line 314) | def can_run_sim(sim_fn, sim_type, file_check=False): function data_dir_load (line 331) | def data_dir_load(ds_fn, cls=None, args=None, kwargs=None): function requires_ds (line 356) | def requires_ds(ds_fn, file_check=False): function requires_sim (line 383) | def requires_sim(sim_fn, sim_type, file_check=False): function _create_plot_window_attribute_plot (line 410) | def _create_plot_window_attribute_plot(ds, plot_type, field, axis, pkwar... function _create_phase_plot_attribute_plot (line 440) | def _create_phase_plot_attribute_plot( function get_parameterization (line 475) | def get_parameterization(fname): FILE: yt/utilities/chemical_formulas.py class ChemicalFormula (line 7) | class ChemicalFormula: method __init__ (line 8) | def __init__(self, formula_string): method __repr__ (line 33) | def __repr__(self): function compute_mu (line 37) | def compute_mu(ion_state): FILE: yt/utilities/command_line.py function _fix_ds (line 46) | def _fix_ds(arg, *args, **kwargs): function _add_arg (line 58) | def _add_arg(sc, arg): function _print_failed_source_update (line 79) | def _print_failed_source_update(reinstall=False): function _print_installation_information (line 107) | def _print_installation_information(path): class FileStreamer (line 130) | class FileStreamer: method __init__ (line 135) | def __init__(self, f, final_size=None): method __iter__ (line 142) | def __iter__(self): class YTCommandSubtype (line 159) | class YTCommandSubtype(type): method __init__ (line 160) | def __init__(cls, name, b, d): class YTCommand (line 187) | class YTCommand(metaclass=YTCommandSubtype): method run (line 196) | def run(cls, args): class GetParameterFiles (line 228) | class GetParameterFiles(argparse.Action): method __call__ (line 229) | def __call__(self, parser, namespace, values, option_string=None): class YTInstInfoCmd (line 637) | class YTInstInfoCmd(YTCommand): method __call__ (line 661) | def __call__(self, opts): class YTLoadCmd (line 676) | class YTLoadCmd(YTCommand): method __call__ (line 685) | def __call__(self, args): class YTMapserverCmd (line 705) | class YTMapserverCmd(YTCommand): method __call__ (line 741) | def __call__(self, args): class YTPastebinCmd (line 811) | class YTPastebinCmd(YTCommand): method __call__ (line 870) | def __call__(self, args): class YTPastebinGrabCmd (line 884) | class YTPastebinGrabCmd(YTCommand): method __call__ (line 891) | def __call__(self, args): class YTPlotCmd (line 897) | class YTPlotCmd(YTCommand): method __call__ (line 940) | def __call__(self, args): class YTRPDBCmd (line 998) | class YTRPDBCmd(YTCommand): method __call__ (line 1018) | def __call__(self, args): class YTStatsCmd (line 1024) | class YTStatsCmd(YTCommand): method __call__ (line 1055) | def __call__(self, args): class YTUpdateCmd (line 1080) | class YTUpdateCmd(YTCommand): method __call__ (line 1088) | def __call__(self, opts): class YTDeleteImageCmd (line 1101) | class YTDeleteImageCmd(YTCommand): method __call__ (line 1109) | def __call__(self, args): class YTUploadImageCmd (line 1137) | class YTUploadImageCmd(YTCommand): method __call__ (line 1145) | def __call__(self, args): class YTUploadFileCmd (line 1188) | class YTUploadFileCmd(YTCommand): method __call__ (line 1196) | def __call__(self, args): class YTConfigLocalConfigHandler (line 1206) | class YTConfigLocalConfigHandler: method load_config (line 1207) | def load_config(self, args) -> None: class YTConfigGetCmd (line 1273) | class YTConfigGetCmd(YTCommand, YTConfigLocalConfigHandler): method __call__ (line 1283) | def __call__(self, args): class YTConfigSetCmd (line 1291) | class YTConfigSetCmd(YTCommand, YTConfigLocalConfigHandler): method __call__ (line 1302) | def __call__(self, args): class YTConfigRemoveCmd (line 1315) | class YTConfigRemoveCmd(YTCommand, YTConfigLocalConfigHandler): method __call__ (line 1325) | def __call__(self, args): class YTConfigListCmd (line 1333) | class YTConfigListCmd(YTCommand, YTConfigLocalConfigHandler): method __call__ (line 1339) | def __call__(self, args): class YTConfigPrintPath (line 1347) | class YTConfigPrintPath(YTCommand, YTConfigLocalConfigHandler): method __call__ (line 1353) | def __call__(self, args): class YTSearchCmd (line 1359) | class YTSearchCmd(YTCommand): method __call__ (line 1392) | def __call__(self, args): class YTDownloadData (line 1422) | class YTDownloadData(YTCommand): method __call__ (line 1465) | def __call__(self, args): method get_list (line 1499) | def get_list(self): function run_main (line 1516) | def run_main(): FILE: yt/utilities/configuration_tree.py class ConfigNode (line 1) | class ConfigNode: method __init__ (line 2) | def __init__(self, key, parent=None): method add (line 7) | def add(self, key, child): method update (line 11) | def update(self, other, extra_data=None): method get_child (line 22) | def get_child(self, key, constructor=None): method add_child (line 31) | def add_child(self, key): method remove_child (line 34) | def remove_child(self, key): method upsert_from_list (line 37) | def upsert_from_list(self, keys, value, extra_data=None): method get_from_list (line 56) | def get_from_list(self, key_list): method get (line 64) | def get(self, *keys): method get_leaf (line 67) | def get_leaf(self, *keys, callback=lambda leaf: leaf.value): method pop_leaf (line 71) | def pop_leaf(self, keys): method get_deepest_leaf (line 76) | def get_deepest_leaf(self, *keys, callback=lambda leaf: leaf.value): method serialize (line 102) | def serialize(self): method from_dict (line 109) | def from_dict(other, parent=None, **kwa): method _as_dict_with_count (line 118) | def _as_dict_with_count(self, callback): method as_dict (line 133) | def as_dict(self, callback=lambda child: child.value): method __repr__ (line 137) | def __repr__(self): method __contains__ (line 140) | def __contains__(self, item): method _repr_json_ (line 145) | def _repr_json_(self): class ConfigLeaf (line 149) | class ConfigLeaf: method __init__ (line 150) | def __init__(self, key, parent: ConfigNode, value, extra_data=None): method serialize (line 156) | def serialize(self): method get_tree (line 159) | def get_tree(self): method value (line 169) | def value(self): method value (line 173) | def value(self, new_value): method __repr__ (line 189) | def __repr__(self): FILE: yt/utilities/configure.py function config_dir (line 14) | def config_dir(): class YTConfig (line 22) | class YTConfig: method __init__ (line 23) | def __init__(self, defaults=None): method get (line 28) | def get(self, section, *keys, callback=None): method get_most_specific (line 36) | def get_most_specific(self, section, *keys, **kwargs): method update (line 47) | def update(self, new_values, metadata=None): method has_section (line 52) | def has_section(self, section): method add_section (line 59) | def add_section(self, section): method remove_section (line 62) | def remove_section(self, section): method set (line 69) | def set(self, *args, metadata=None): method remove (line 77) | def remove(self, *args): method read (line 80) | def read(self, file_names): method write (line 104) | def write(self, file_handler): method get_global_config_file (line 128) | def get_global_config_file(): method get_local_config_file (line 132) | def get_local_config_file(): method __setitem__ (line 143) | def __setitem__(self, args, value): method __getitem__ (line 147) | def __getitem__(self, key): method __contains__ (line 151) | def __contains__(self, item): method _repr_json_ (line 156) | def _repr_json_(self): function _cast_bool_helper (line 163) | def _cast_bool_helper(value): function _expand_all (line 172) | def _expand_all(s): function _cast_value_helper (line 176) | def _cast_value_helper(value, types=(_cast_bool_helper, int, float, _exp... function get_config (line 185) | def get_config(section, option): function set_config (line 190) | def set_config(section, option, value, config_file): function write_config (line 199) | def write_config(config_file): function rm_config (line 203) | def rm_config(section, option, config_file): FILE: yt/utilities/cosmology.py class Cosmology (line 15) | class Cosmology: method __init__ (line 69) | def __init__( method hubble_distance (line 111) | def hubble_distance(self): method comoving_radial_distance (line 120) | def comoving_radial_distance(self, z_i, z_f): method comoving_transverse_distance (line 145) | def comoving_transverse_distance(self, z_i, z_f): method comoving_volume (line 189) | def comoving_volume(self, z_i, z_f): method angular_diameter_distance (line 265) | def angular_diameter_distance(self, z_i, z_f): method angular_scale (line 291) | def angular_scale(self, z_i, z_f): method luminosity_distance (line 315) | def luminosity_distance(self, z_i, z_f): method lookback_time (line 341) | def lookback_time(self, z_i, z_f): method critical_density (line 365) | def critical_density(self, z): method hubble_parameter (line 388) | def hubble_parameter(self, z): method age_integrand (line 407) | def age_integrand(self, z): method expansion_factor (line 410) | def expansion_factor(self, z): method inverse_expansion_factor (line 436) | def inverse_expansion_factor(self, z): method path_length_function (line 439) | def path_length_function(self, z): method path_length (line 442) | def path_length(self, z_i, z_f): method t_from_a (line 445) | def t_from_a(self, a): method t_from_z (line 481) | def t_from_z(self, z): method a_from_t (line 501) | def a_from_t(self, t): method z_from_t (line 562) | def z_from_t(self, t): method get_dark_factor (line 584) | def get_dark_factor(self, z): method arr (line 614) | def arr(self): method quan (line 623) | def quan(self): function trapzint (line 630) | def trapzint(f, a, b, bins=10000): function trapezoid_int (line 644) | def trapezoid_int(f, a, b, bins=10000): function trapezoid_cumulative_integral (line 651) | def trapezoid_cumulative_integral(f, x): class InterpTable (line 660) | class InterpTable: method __init__ (line 665) | def __init__(self, x, y): method __call__ (line 669) | def __call__(self, val): FILE: yt/utilities/decompose.py function SIEVE_PRIMES (line 4) | def SIEVE_PRIMES(x): function decompose_to_primes (line 8) | def decompose_to_primes(max_prime): function decompose_array (line 20) | def decompose_array(shape, psize, bbox, *, cell_widths=None): function evaluate_domain_decomposition (line 27) | def evaluate_domain_decomposition(n_d, pieces, ldom): function factorize_number (line 52) | def factorize_number(pieces): function get_psize (line 67) | def get_psize(n_d, pieces): function split_array (line 106) | def split_array(gle, gre, shape, psize, *, cell_widths=None): FILE: yt/utilities/exceptions.py class YTException (line 9) | class YTException(Exception): class YTUnidentifiedDataType (line 16) | class YTUnidentifiedDataType(YTException): method __init__ (line 17) | def __init__(self, filename, *args, **kwargs): method __str__ (line 22) | def __str__(self): class YTAmbiguousDataType (line 49) | class YTAmbiguousDataType(YTUnidentifiedDataType): method __init__ (line 50) | def __init__(self, filename, candidates): method __str__ (line 54) | def __str__(self): class YTAxesNotOrthogonalError (line 65) | class YTAxesNotOrthogonalError(YTException): method __init__ (line 66) | def __init__(self, axes): method __str__ (line 69) | def __str__(self): class YTNoDataInObjectError (line 73) | class YTNoDataInObjectError(YTException): method __init__ (line 74) | def __init__(self, obj): method __str__ (line 77) | def __str__(self): class YTFieldNotFound (line 84) | class YTFieldNotFound(YTException): method __init__ (line 85) | def __init__(self, field, ds): method _get_suggestions (line 89) | def _get_suggestions(self) -> list[FieldKey]: method __str__ (line 136) | def __str__(self): class YTParticleTypeNotFound (line 150) | class YTParticleTypeNotFound(YTException): method __init__ (line 151) | def __init__(self, fname, ds): method __str__ (line 155) | def __str__(self): class YTSceneFieldNotFound (line 159) | class YTSceneFieldNotFound(YTException): class YTCouldNotGenerateField (line 163) | class YTCouldNotGenerateField(YTFieldNotFound): method __str__ (line 164) | def __str__(self): class YTFieldTypeNotFound (line 168) | class YTFieldTypeNotFound(YTException): method __init__ (line 169) | def __init__(self, ftype, ds=None): method __str__ (line 173) | def __str__(self): class YTSimulationNotIdentified (line 184) | class YTSimulationNotIdentified(YTException): method __init__ (line 185) | def __init__(self, sim_type): method __str__ (line 188) | def __str__(self): class YTCannotParseFieldDisplayName (line 197) | class YTCannotParseFieldDisplayName(YTException): method __init__ (line 198) | def __init__(self, field_name, display_name, mathtext_error): method __str__ (line 203) | def __str__(self): class YTCannotParseUnitDisplayName (line 210) | class YTCannotParseUnitDisplayName(YTException): method __init__ (line 211) | def __init__(self, field_name, unit_name, mathtext_error): method __str__ (line 216) | def __str__(self): class InvalidSimulationTimeSeries (line 223) | class InvalidSimulationTimeSeries(YTException): method __init__ (line 224) | def __init__(self, message): method __str__ (line 227) | def __str__(self): class MissingParameter (line 231) | class MissingParameter(YTException): method __init__ (line 232) | def __init__(self, ds, parameter): method __str__ (line 236) | def __str__(self): class NoStoppingCondition (line 240) | class NoStoppingCondition(YTException): method __init__ (line 241) | def __init__(self, ds): method __str__ (line 244) | def __str__(self): class YTNotInsideNotebook (line 248) | class YTNotInsideNotebook(YTException): method __str__ (line 249) | def __str__(self): class YTCoordinateNotImplemented (line 253) | class YTCoordinateNotImplemented(YTException): method __str__ (line 254) | def __str__(self): class YTUnitNotRecognized (line 262) | class YTUnitNotRecognized(YTException): method __init__ (line 263) | def __init__(self, unit): method __str__ (line 266) | def __str__(self): class YTFieldUnitError (line 270) | class YTFieldUnitError(YTException): method __init__ (line 271) | def __init__(self, field_info, returned_units): method __str__ (line 277) | def __str__(self): class YTFieldUnitParseError (line 281) | class YTFieldUnitParseError(YTException): method __init__ (line 282) | def __init__(self, field_info): method __str__ (line 287) | def __str__(self): class YTSpatialFieldUnitError (line 291) | class YTSpatialFieldUnitError(YTException): method __init__ (line 292) | def __init__(self, field): method __str__ (line 299) | def __str__(self): class YTHubRegisterError (line 303) | class YTHubRegisterError(YTException): method __str__ (line 304) | def __str__(self): class YTNoFilenamesMatchPattern (line 311) | class YTNoFilenamesMatchPattern(YTException): method __init__ (line 312) | def __init__(self, pattern): method __str__ (line 315) | def __str__(self): class YTNoOldAnswer (line 319) | class YTNoOldAnswer(YTException): method __init__ (line 320) | def __init__(self, path): method __str__ (line 323) | def __str__(self): class YTNoAnswerNameSpecified (line 327) | class YTNoAnswerNameSpecified(YTException): method __init__ (line 328) | def __init__(self, message=None): method __str__ (line 338) | def __str__(self): class YTCloudError (line 342) | class YTCloudError(YTException): method __init__ (line 343) | def __init__(self, path): method __str__ (line 346) | def __str__(self): class YTEllipsoidOrdering (line 352) | class YTEllipsoidOrdering(YTException): method __init__ (line 353) | def __init__(self, ds, A, B, C): method __str__ (line 359) | def __str__(self): class EnzoTestOutputFileNonExistent (line 363) | class EnzoTestOutputFileNonExistent(YTException): method __init__ (line 364) | def __init__(self, filename): method __str__ (line 368) | def __str__(self): class YTNoAPIKey (line 375) | class YTNoAPIKey(YTException): method __init__ (line 376) | def __init__(self, service, config_name): method __str__ (line 380) | def __str__(self): class YTTooManyVertices (line 391) | class YTTooManyVertices(YTException): method __init__ (line 392) | def __init__(self, nv, fn): method __str__ (line 396) | def __str__(self): class YTInvalidWidthError (line 402) | class YTInvalidWidthError(YTException): method __init__ (line 403) | def __init__(self, width): method __str__ (line 406) | def __str__(self): class YTFieldNotParseable (line 410) | class YTFieldNotParseable(YTException): method __init__ (line 411) | def __init__(self, field): method __str__ (line 414) | def __str__(self): class YTDataSelectorNotImplemented (line 418) | class YTDataSelectorNotImplemented(YTException): method __init__ (line 419) | def __init__(self, class_name): method __str__ (line 422) | def __str__(self): class YTParticleDepositionNotImplemented (line 426) | class YTParticleDepositionNotImplemented(YTException): method __init__ (line 427) | def __init__(self, class_name): method __str__ (line 430) | def __str__(self): class YTDomainOverflow (line 434) | class YTDomainOverflow(YTException): method __init__ (line 435) | def __init__(self, mi, ma, dle, dre): method __str__ (line 441) | def __str__(self): class YTIntDomainOverflow (line 448) | class YTIntDomainOverflow(YTException): method __init__ (line 449) | def __init__(self, dims, dd): method __str__ (line 453) | def __str__(self): class YTIllDefinedFilter (line 457) | class YTIllDefinedFilter(YTException): method __init__ (line 458) | def __init__(self, filter, s1, s2): method __str__ (line 463) | def __str__(self): class YTIllDefinedParticleFilter (line 470) | class YTIllDefinedParticleFilter(YTException): method __init__ (line 471) | def __init__(self, filter, missing): method __str__ (line 475) | def __str__(self): class YTIllDefinedBounds (line 484) | class YTIllDefinedBounds(YTException): method __init__ (line 485) | def __init__(self, lb, ub): method __str__ (line 489) | def __str__(self): class YTObjectNotImplemented (line 496) | class YTObjectNotImplemented(YTException): method __init__ (line 497) | def __init__(self, ds, obj_name): method __str__ (line 501) | def __str__(self): class YTParticleOutputFormatNotImplemented (line 505) | class YTParticleOutputFormatNotImplemented(YTException): method __str__ (line 506) | def __str__(self): class YTFileNotParseable (line 510) | class YTFileNotParseable(YTException): method __init__ (line 511) | def __init__(self, fname, line): method __str__ (line 515) | def __str__(self): class YTRockstarMultiMassNotSupported (line 519) | class YTRockstarMultiMassNotSupported(YTException): method __init__ (line 520) | def __init__(self, mi, ma, ptype): method __str__ (line 525) | def __str__(self): class YTTooParallel (line 531) | class YTTooParallel(YTException): method __str__ (line 532) | def __str__(self): class YTElementTypeNotRecognized (line 536) | class YTElementTypeNotRecognized(YTException): method __init__ (line 537) | def __init__(self, dim, num_nodes): method __str__ (line 541) | def __str__(self): class YTDuplicateFieldInProfile (line 545) | class YTDuplicateFieldInProfile(YTException): method __init__ (line 546) | def __init__(self, field, new_spec, old_spec): method __str__ (line 551) | def __str__(self): class YTInvalidPositionArray (line 559) | class YTInvalidPositionArray(YTException): method __init__ (line 560) | def __init__(self, shape, dimensions): method __str__ (line 564) | def __str__(self): class YTIllDefinedCutRegion (line 570) | class YTIllDefinedCutRegion(YTException): method __init__ (line 571) | def __init__(self, conditions): method __str__ (line 574) | def __str__(self): class YTMixedCutRegion (line 583) | class YTMixedCutRegion(YTException): method __init__ (line 584) | def __init__(self, conditions, field): method __str__ (line 588) | def __str__(self): class YTGDFAlreadyExists (line 596) | class YTGDFAlreadyExists(YTException): method __init__ (line 597) | def __init__(self, filename): method __str__ (line 600) | def __str__(self): class YTNonIndexedDataContainer (line 604) | class YTNonIndexedDataContainer(YTException): method __init__ (line 605) | def __init__(self, cont): method __str__ (line 608) | def __str__(self): class YTGDFUnknownGeometry (line 619) | class YTGDFUnknownGeometry(YTException): method __init__ (line 620) | def __init__(self, geometry): method __str__ (line 623) | def __str__(self): class YTInvalidUnitEquivalence (line 630) | class YTInvalidUnitEquivalence(YTException): method __init__ (line 631) | def __init__(self, equiv, unit1, unit2): method __str__ (line 636) | def __str__(self): class YTPlotCallbackError (line 640) | class YTPlotCallbackError(YTException): method __init__ (line 641) | def __init__(self, callback): method __str__ (line 644) | def __str__(self): class YTUnsupportedPlotCallback (line 648) | class YTUnsupportedPlotCallback(YTPlotCallbackError): method __init__ (line 649) | def __init__(self, callback: str, plot_type: str) -> None: method __str__ (line 653) | def __str__(self): class YTPixelizeError (line 657) | class YTPixelizeError(YTException): method __init__ (line 658) | def __init__(self, message): method __str__ (line 661) | def __str__(self): class YTDimensionalityError (line 665) | class YTDimensionalityError(YTException): method __init__ (line 666) | def __init__(self, wrong, right): method __str__ (line 670) | def __str__(self): class YTInvalidShaderType (line 674) | class YTInvalidShaderType(YTException): method __init__ (line 675) | def __init__(self, source): method __str__ (line 678) | def __str__(self): class YTInvalidFieldType (line 682) | class YTInvalidFieldType(YTException): method __init__ (line 683) | def __init__(self, fields): method __str__ (line 686) | def __str__(self): class YTUnknownUniformKind (line 699) | class YTUnknownUniformKind(YTException): method __init__ (line 700) | def __init__(self, kind): method __str__ (line 703) | def __str__(self): class YTUnknownUniformSize (line 707) | class YTUnknownUniformSize(YTException): method __init__ (line 708) | def __init__(self, size_spec): method __str__ (line 711) | def __str__(self): class YTDataTypeUnsupported (line 715) | class YTDataTypeUnsupported(YTException): method __init__ (line 716) | def __init__(self, this, supported): method __str__ (line 720) | def __str__(self): class YTBoundsDefinitionError (line 726) | class YTBoundsDefinitionError(YTException): method __init__ (line 727) | def __init__(self, message, bounds): method __str__ (line 731) | def __str__(self): function screen_one_element_list (line 737) | def screen_one_element_list(lis): class YTIllDefinedProfile (line 743) | class YTIllDefinedProfile(YTException): method __init__ (line 744) | def __init__(self, bin_fields, fields, weight_field, is_pfield): method __str__ (line 755) | def __str__(self): class YTProfileDataShape (line 780) | class YTProfileDataShape(YTException): method __init__ (line 781) | def __init__(self, field1, shape1, field2, shape2): method __str__ (line 787) | def __str__(self): class YTBooleanObjectError (line 794) | class YTBooleanObjectError(YTException): method __init__ (line 795) | def __init__(self, bad_object): method __str__ (line 798) | def __str__(self): class YTBooleanObjectsWrongDataset (line 804) | class YTBooleanObjectsWrongDataset(YTException): method __init__ (line 805) | def __init__(self): method __str__ (line 808) | def __str__(self): class YTIllDefinedAMR (line 812) | class YTIllDefinedAMR(YTException): method __init__ (line 813) | def __init__(self, level, axis): method __str__ (line 817) | def __str__(self): class YTIllDefinedParticleData (line 824) | class YTIllDefinedParticleData(YTException): class YTIllDefinedAMRData (line 828) | class YTIllDefinedAMRData(YTException): class YTInconsistentGridFieldShape (line 832) | class YTInconsistentGridFieldShape(YTException): method __init__ (line 833) | def __init__(self, shapes): method __str__ (line 836) | def __str__(self): class YTInconsistentParticleFieldShape (line 843) | class YTInconsistentParticleFieldShape(YTException): method __init__ (line 844) | def __init__(self, ptype, shapes): method __str__ (line 848) | def __str__(self): class YTInconsistentGridFieldShapeGridDims (line 856) | class YTInconsistentGridFieldShapeGridDims(YTException): method __init__ (line 857) | def __init__(self, shapes, grid_dims): method __str__ (line 861) | def __str__(self): class YTCommandRequiresModule (line 871) | class YTCommandRequiresModule(YTException): method __init__ (line 872) | def __init__(self, module: str): method __str__ (line 875) | def __str__(self): class YTModuleRemoved (line 885) | class YTModuleRemoved(YTException): method __init__ (line 886) | def __init__(self, name, new_home=None, info=None): class YTArrayTooLargeToDisplay (line 895) | class YTArrayTooLargeToDisplay(YTException): method __init__ (line 896) | def __init__(self, size, max_size): method __str__ (line 900) | def __str__(self): class YTConfigurationError (line 907) | class YTConfigurationError(YTException): class GenerationInProgress (line 911) | class GenerationInProgress(Exception): method __init__ (line 912) | def __init__(self, fields): class MountError (line 916) | class MountError(Exception): method __init__ (line 917) | def __init__(self, message): FILE: yt/utilities/file_handler.py function valid_hdf5_signature (line 7) | def valid_hdf5_signature(fn: str, /) -> bool: function warn_h5py (line 17) | def warn_h5py(fn): class HDF5FileHandler (line 28) | class HDF5FileHandler: method __init__ (line 31) | def __init__(self, filename): method __getitem__ (line 34) | def __getitem__(self, key): method __contains__ (line 37) | def __contains__(self, item): method __len__ (line 40) | def __len__(self): method attrs (line 44) | def attrs(self): method keys (line 47) | def keys(self): method items (line 50) | def items(self): method close (line 53) | def close(self): class FITSFileHandler (line 58) | class FITSFileHandler(HDF5FileHandler): method __init__ (line 59) | def __init__(self, filename): method __del__ (line 72) | def __del__(self): method close (line 79) | def close(self): function valid_netcdf_signature (line 83) | def valid_netcdf_signature(fn: str, /) -> bool: function valid_netcdf_classic_signature (line 95) | def valid_netcdf_classic_signature(filename): function warn_netcdf (line 110) | def warn_netcdf(fn): class NetCDF4FileHandler (line 130) | class NetCDF4FileHandler: method __init__ (line 131) | def __init__(self, filename): method open_ds (line 135) | def open_ds(self, **kwargs): FILE: yt/utilities/flagging_methods.py class RegisteredFlaggingMethod (line 8) | class RegisteredFlaggingMethod(type): method __init__ (line 9) | def __init__(cls, name, b, d): class FlaggingMethod (line 13) | class FlaggingMethod: method __init_subclass__ (line 16) | def __init_subclass__(cls, *args, **kwargs): class OverDensity (line 22) | class OverDensity(FlaggingMethod): method __init__ (line 25) | def __init__(self, over_density): method __call__ (line 28) | def __call__(self, grid): class FlaggingGrid (line 33) | class FlaggingGrid: method __init__ (line 34) | def __init__(self, grid, methods): method find_subgrids (line 44) | def find_subgrids(self): class ProtoSubgrid (line 73) | class ProtoSubgrid: method __init__ (line 74) | def __init__(self, flagged_base, left_index, dimensions, offset=(0, 0,... method compute_signatures (line 84) | def compute_signatures(self): method acceptable (line 92) | def acceptable(self): method shrink (line 95) | def shrink(self): method find_by_zero_signature (line 115) | def find_by_zero_signature(self, dim): method find_by_second_derivative (line 139) | def find_by_second_derivative(self): method __str__ (line 173) | def __str__(self): FILE: yt/utilities/fortran_utils.py function read_attrs (line 8) | def read_attrs(f, attrs, endian="="): function read_cattrs (line 85) | def read_cattrs(f, attrs, endian="="): function read_vector (line 150) | def read_vector(f, d, endian="="): function skip (line 203) | def skip(f, n=1, endian="="): function peek_record_size (line 248) | def peek_record_size(f, endian="="): function read_record (line 270) | def read_record(f, rspec, endian="="): FILE: yt/utilities/grid_data_format/conversion/conversion_abc.py class Converter (line 1) | class Converter: method __init__ (line 2) | def __init__(self, basename, outname=None): method convert (line 6) | def convert(self): FILE: yt/utilities/grid_data_format/conversion/conversion_athena.py class AthenaDistributedConverter (line 20) | class AthenaDistributedConverter(Converter): method __init__ (line 21) | def __init__(self, basename, outname=None, source_dir=None, field_conv... method parse_line (line 38) | def parse_line(self, line, grid): method write_gdf_field (line 68) | def write_gdf_field(self, fn, grid_number, field, data): method read_and_write_index (line 84) | def read_and_write_index(self, basename, ddn, gdf_name): method read_and_write_data (line 205) | def read_and_write_data(self, basename, ddn, gdf_name): method convert (line 301) | def convert(self, index=True, data=True): class AthenaConverter (line 310) | class AthenaConverter(Converter): method __init__ (line 311) | def __init__(self, basename, outname=None, field_conversions=None): method parse_line (line 325) | def parse_line(self, line, grid): method read_grid (line 349) | def read_grid(self, filename): method write_to_gdf (line 410) | def write_to_gdf(self, fn, grid): method convert (line 505) | def convert(self): FILE: yt/utilities/grid_data_format/tests/test_writer.py function setup_module (line 17) | def setup_module(): function test_write_gdf (line 25) | def test_write_gdf(): FILE: yt/utilities/grid_data_format/writer.py function write_to_gdf (line 17) | def write_to_gdf( function save_field (line 92) | def save_field(ds, fields, field_parameters=None): function _write_fields_to_gdf (line 127) | def _write_fields_to_gdf( function _get_backup_file (line 209) | def _get_backup_file(ds): function _create_new_gdf (line 236) | def _create_new_gdf( FILE: yt/utilities/hierarchy_inspection.py function find_lowest_subclasses (line 13) | def find_lowest_subclasses(candidates: list[type[T]]) -> list[type[T]]: function get_classes_with_missing_requirements (line 35) | def get_classes_with_missing_requirements() -> dict[type[Dataset], list[... FILE: yt/utilities/initial_conditions.py class FluidOperator (line 4) | class FluidOperator: method apply (line 5) | def apply(self, ds): class TopHatSphere (line 10) | class TopHatSphere(FluidOperator): method __init__ (line 11) | def __init__(self, radius, center, fields): method __call__ (line 16) | def __call__(self, grid, sub_select=None): class CoredSphere (line 28) | class CoredSphere(FluidOperator): method __init__ (line 29) | def __init__(self, core_radius, radius, center, fields): method __call__ (line 35) | def __call__(self, grid, sub_select=None): class BetaModelSphere (line 50) | class BetaModelSphere(FluidOperator): method __init__ (line 51) | def __init__(self, beta, core_radius, radius, center, fields): method __call__ (line 58) | def __call__(self, grid, sub_select=None): class NFWModelSphere (line 72) | class NFWModelSphere(FluidOperator): method __init__ (line 73) | def __init__(self, scale_radius, radius, center, fields): method __call__ (line 79) | def __call__(self, grid, sub_select=None): class RandomFluctuation (line 93) | class RandomFluctuation(FluidOperator): method __init__ (line 94) | def __init__(self, fields): method __call__ (line 97) | def __call__(self, grid, sub_select=None): FILE: yt/utilities/io_handler.py function _make_io_key (line 18) | def _make_io_key(args, *_args, **kwargs): class BaseIOHandler (line 24) | class BaseIOHandler: method __init_subclass__ (line 32) | def __init_subclass__(cls, *args, **kwargs): method __init__ (line 41) | def __init__(self, ds): method preload (line 52) | def preload(self, chunk, fields: list[FieldKey], max_size): method peek (line 55) | def peek(self, grid, field): method push (line 58) | def push(self, grid, field, data): method _field_in_backup (line 63) | def _field_in_backup(self, grid, backup_file, field_name): method _read_data_set (line 77) | def _read_data_set(self, grid, field): method _read_data (line 94) | def _read_data(self, grid, field): method _read_fluid_selection (line 97) | def _read_fluid_selection( method io_iter (line 127) | def io_iter(self, chunks, fields: list[FieldKey]): method _read_data_slice (line 134) | def _read_data_slice(self, grid, field, axis, coord): method _read_field_names (line 142) | def _read_field_names(self, grid): method _read_exception (line 146) | def _read_exception(self): method _read_chunk_data (line 149) | def _read_chunk_data(self, chunk, fields): method _read_particle_coords (line 152) | def _read_particle_coords( method _read_particle_data_file (line 161) | def _read_particle_data_file(self, data_file, ptf, selector=None): method _read_particle_selection (line 166) | def _read_particle_selection( method _read_particle_fields (line 219) | def _read_particle_fields(self, chunks, ptf, selector): method _get_data_files (line 229) | def _get_data_files(chunks): method _sorted_chunk_iterator (line 237) | def _sorted_chunk_iterator(self, chunks): class BaseParticleIOHandler (line 245) | class BaseParticleIOHandler(BaseIOHandler): class IOHandlerExtracted (line 249) | class IOHandlerExtracted(BaseIOHandler): method _read_data_set (line 252) | def _read_data_set(self, grid, field): method _read_data_slice (line 255) | def _read_data_slice(self, grid, field, axis, coord): FILE: yt/utilities/lib/_octree_raytracing.hpp type GenericNode (line 20) | struct GenericNode type RayInfo (line 34) | struct RayInfo { method RayInfo (line 38) | RayInfo() {} method RayInfo (line 39) | RayInfo(int N) { type Ray (line 47) | struct Ray { method Ray (line 53) | Ray(const F* _o, const F* _d, const F _tmin, const F _tmax) : tmin(_tm... method Ray (line 67) | Ray() {} function ijk2iflat (line 73) | inline unsigned char ijk2iflat(const std::array ijk) { function iflat2ijk (line 85) | inline std::array iflat2ijk(unsigned char iflat) { class Octree (line 96) | class Octree { method Octree (line 113) | Octree(int _maxDepth, F* _DLE, F* _DRE) : method Node (line 136) | Node* insert_node(const iPos ipos, const int lvl, keyType key) { method Node (line 170) | Node* insert_node(const int* ipos, const int lvl, keyType key) { method insert_node_no_ret (line 176) | void insert_node_no_ret(const int* ipos, const int lvl, keyType key) { method cast_ray (line 199) | void cast_ray(Ray *r, keyVector &keyList, std::vector &tList) { method cast_ray (line 228) | void cast_ray(double* o, double* d, keyVector &keyList, std::vector... method Node (line 241) | Node* create_get_node(Node* parent, const int iflat) { method recursive_remove_node (line 263) | void recursive_remove_node(Node* node) { method proc_subtree (line 280) | void proc_subtree(const F tx0, const F ty0, const F tz0, method first_node (line 353) | inline unsigned char first_node(const F tx0, const F ty0, const F tz0, method next_node (line 369) | inline unsigned char next_node(const F tx, const F ty, const F tz, FILE: yt/utilities/lib/cykdtree/__init__.py function make_tree (line 5) | def make_tree(pts, **kwargs): FILE: yt/utilities/lib/cykdtree/c_kdtree.hpp function T (line 13) | T deserialize_scalar(std::istream &is) { function serialize_scalar (line 20) | void serialize_scalar(std::ostream &os, const T &scalar) { function T (line 25) | T* deserialize_pointer_array(std::istream &is, uint64_t len) { function serialize_pointer_array (line 32) | void serialize_pointer_array(std::ostream &os, const T* array, uint64_t ... class Node (line 36) | class Node { method Node (line 58) | Node() { method Node (line 71) | Node(uint32_t ndim0, double *le, double *re, bool *ple, bool *pre) { method Node (line 91) | Node(uint32_t ndim0, double *le, double *re, bool *ple, bool *pre, method Node (line 121) | Node(uint32_t ndim0, double *le, double *re, bool *ple, bool *pre, method Node (line 155) | Node(std::istream &is) { method serialize (line 184) | void serialize(std::ostream &os) { method Node (line 253) | Node* copy() { method update_ids (line 296) | void update_ids(uint32_t add_to) { method print_neighbors (line 309) | void print_neighbors() { method add_neighbors (line 331) | void add_neighbors(Node* curr, uint32_t dim) { method clear_neighbors (line 351) | void clear_neighbors() { method is_left_node (line 359) | bool is_left_node(Node *lnode, uint32_t ldim) { method select_unique_neighbors (line 372) | void select_unique_neighbors() { method join_neighbors (line 390) | void join_neighbors() { method check_overlap (line 410) | bool check_overlap(Node other, uint32_t dim) { function write_tree_nodes (line 421) | void write_tree_nodes(std::ostream &os, Node* node) { function Node (line 435) | Node* read_tree_nodes(std::istream &is, method Node (line 58) | Node() { method Node (line 71) | Node(uint32_t ndim0, double *le, double *re, bool *ple, bool *pre) { method Node (line 91) | Node(uint32_t ndim0, double *le, double *re, bool *ple, bool *pre, method Node (line 121) | Node(uint32_t ndim0, double *le, double *re, bool *ple, bool *pre, method Node (line 155) | Node(std::istream &is) { method serialize (line 184) | void serialize(std::ostream &os) { method Node (line 253) | Node* copy() { method update_ids (line 296) | void update_ids(uint32_t add_to) { method print_neighbors (line 309) | void print_neighbors() { method add_neighbors (line 331) | void add_neighbors(Node* curr, uint32_t dim) { method clear_neighbors (line 351) | void clear_neighbors() { method is_left_node (line 359) | bool is_left_node(Node *lnode, uint32_t ldim) { method select_unique_neighbors (line 372) | void select_unique_neighbors() { method join_neighbors (line 390) | void join_neighbors() { method check_overlap (line 410) | bool check_overlap(Node other, uint32_t dim) { function free_tree_nodes (line 478) | void free_tree_nodes(Node* node) { class KDTree (line 487) | class KDTree method KDTree (line 513) | KDTree(double *pts, uint64_t *idx, uint64_t n, uint32_t m, method KDTree (line 573) | KDTree(double *pts, uint64_t *idx, uint64_t n, uint32_t m, uint32_t le... method KDTree (line 625) | KDTree(std::istream &is) method serialize (line 652) | void serialize(std::ostream &os) method consolidate_edges (line 690) | void consolidate_edges(double *leaves_le, double *leaves_re) { method build_tree (line 701) | void build_tree(double* all_pts) { method finalize_neighbors (line 741) | void finalize_neighbors() { method clear_neighbors (line 755) | void clear_neighbors() { method set_neighbors_periodic (line 761) | void set_neighbors_periodic() method add_neighbors_periodic (line 784) | void add_neighbors_periodic(Node *leaf, Node *prev, uint32_t d0) { method Node (line 820) | Node* build(uint64_t Lidx, uint64_t n, method Node (line 915) | Node* search(double* pos0, bool dont_wrap = false) method get_neighbor_ids (line 954) | std::vector get_neighbor_ids(double* pos) FILE: yt/utilities/lib/cykdtree/c_utils.cpp function isEqual (line 10) | bool isEqual(double f1, double f2) { function argmax_pts_dim (line 42) | uint64_t argmax_pts_dim(double *pts, uint64_t *idx, function argmin_pts_dim (line 57) | uint64_t argmin_pts_dim(double *pts, uint64_t *idx, function quickSort (line 73) | void quickSort(double *pts, uint64_t *idx, function insertSort (line 87) | void insertSort(double *pts, uint64_t *idx, function pivot (line 106) | int64_t pivot(double *pts, uint64_t *idx, function partition_given_pivot (line 136) | int64_t partition_given_pivot(double *pts, uint64_t *idx, function partition (line 161) | int64_t partition(double *pts, uint64_t *idx, function select (line 181) | int64_t select(double *pts, uint64_t *idx, function split (line 205) | uint32_t split(double *all_pts, uint64_t *all_idx, FILE: yt/utilities/lib/cykdtree/plot.py function _plot2D_root (line 4) | def _plot2D_root( function plot2D_serial (line 125) | def plot2D_serial(tree, pts=None, label_boxes=False, **kwargs): FILE: yt/utilities/lib/cykdtree/tests/__init__.py function assert_less_equal (line 13) | def assert_less_equal(x, y): function call_subprocess (line 38) | def call_subprocess(np, func, args, kwargs): function iter_dict (line 68) | def iter_dict(dicts): function parametrize (line 79) | def parametrize(**pargs): function make_points_neighbors (line 129) | def make_points_neighbors(periodic=False): function make_points (line 156) | def make_points(npts, ndim, leafsize=10, distrib="rand", seed=100): function run_test (line 190) | def run_test( FILE: yt/utilities/lib/cykdtree/tests/scaling.py function stats_run (line 13) | def stats_run( function time_run (line 61) | def time_run( function strong_scaling (line 97) | def strong_scaling( function weak_scaling (line 168) | def weak_scaling( FILE: yt/utilities/lib/cykdtree/tests/test_kdtree.py function test_PyKDTree (line 18) | def test_PyKDTree(npts=100, ndim=2, periodic=False, use_sliding_midpoint... function test_PyKDTree_errors (line 30) | def test_PyKDTree_errors(): function test_search (line 36) | def test_search(npts=100, ndim=2, periodic=False): function test_search_errors (line 48) | def test_search_errors(npts=100, ndim=2): function test_neighbors (line 55) | def test_neighbors(periodic=False): function test_get_neighbor_ids (line 80) | def test_get_neighbor_ids(npts=100, ndim=2, periodic=False): function time_tree_construction (line 90) | def time_tree_construction(Ntime, LStime, ndim=2): function time_neighbor_search (line 98) | def time_neighbor_search(Ntime, LStime, ndim=2): function test_save_load (line 107) | def test_save_load(): FILE: yt/utilities/lib/cykdtree/tests/test_plot.py function test_plot2D_serial (line 8) | def test_plot2D_serial(): FILE: yt/utilities/lib/cykdtree/tests/test_utils.py function test_max_pts (line 8) | def test_max_pts(): function test_min_pts (line 14) | def test_min_pts(): function test_argmax_pts_dim (line 21) | def test_argmax_pts_dim(N=10, ndim=2, Lidx=0, Ridx=9): function test_argmin_pts_dim (line 30) | def test_argmin_pts_dim(N=10, ndim=2, Lidx=0, Ridx=9): function test_quickSort (line 39) | def test_quickSort(N=10, ndim=2): function test_insertSort (line 50) | def test_insertSort(N=10, ndim=2): function test_pivot (line 61) | def test_pivot(N=10, ndim=2): function test_partition (line 76) | def test_partition(N=10, ndim=2): function test_partition_given_pivot (line 92) | def test_partition_given_pivot(N=10, ndim=2): function test_select (line 111) | def test_select(N=10, ndim=2): function test_split (line 132) | def test_split(N=10, ndim=2, use_sliding_midpoint=False): FILE: yt/utilities/lib/cykdtree/windows/stdint.h type int_least8_t (line 99) | typedef int8_t int_least8_t; type int_least16_t (line 100) | typedef int16_t int_least16_t; type int_least32_t (line 101) | typedef int32_t int_least32_t; type int_least64_t (line 102) | typedef int64_t int_least64_t; type uint_least8_t (line 103) | typedef uint8_t uint_least8_t; type uint_least16_t (line 104) | typedef uint16_t uint_least16_t; type uint_least32_t (line 105) | typedef uint32_t uint_least32_t; type uint_least64_t (line 106) | typedef uint64_t uint_least64_t; type int_fast8_t (line 109) | typedef int8_t int_fast8_t; type int_fast16_t (line 110) | typedef int16_t int_fast16_t; type int_fast32_t (line 111) | typedef int32_t int_fast32_t; type int_fast64_t (line 112) | typedef int64_t int_fast64_t; type uint_fast8_t (line 113) | typedef uint8_t uint_fast8_t; type uint_fast16_t (line 114) | typedef uint16_t uint_fast16_t; type uint_fast32_t (line 115) | typedef uint32_t uint_fast32_t; type uint_fast64_t (line 116) | typedef uint64_t uint_fast64_t; type intmax_t (line 128) | typedef int64_t intmax_t; type uintmax_t (line 129) | typedef uint64_t uintmax_t; FILE: yt/utilities/lib/fixed_interpolator.cpp function npy_float64 (line 15) | npy_float64 fast_interpolate(int ds[3], int ci[3], npy_float64 dp[3], function npy_float64 (line 34) | npy_float64 offset_interpolate(int ds[3], npy_float64 dp[3], npy_float64... function offset_fill (line 54) | void offset_fill(int ds[3], npy_float64 *data, npy_float64 gridval[8]) function vertex_interp (line 66) | void vertex_interp(npy_float64 v1, npy_float64 v2, npy_float64 isovalue, function npy_float64 (line 91) | npy_float64 trilinear_interpolate(int ds[3], int ci[3], npy_float64 dp[3], function eval_gradient (line 116) | void eval_gradient(int ds[3], npy_float64 dp[3], FILE: yt/utilities/lib/octree_raytracing.py class OctreeRayTracing (line 9) | class OctreeRayTracing: method __init__ (line 19) | def __init__(self, data_source): method vertex_centered_data (line 43) | def vertex_centered_data(self, field): method set_fields (line 70) | def set_fields(self, fields, log_fields, no_ghost, force=False): method cast_rays (line 92) | def cast_rays(self, vp_pos, vp_dir): FILE: yt/utilities/lib/origami_tags.c function isneg (line 5) | int isneg(int h) { function par (line 9) | int par(int i, int j, int k, int ng) { function compute_tags (line 13) | int compute_tags(int ng, double boxsize, double **r, int np, FILE: yt/utilities/lib/platform_dep_math.hpp function __isnormal (line 10) | inline bool __isnormal(double x) { function __isnormal (line 16) | inline bool __isnormal(double x) { FILE: yt/utilities/lib/tests/test_allocation_container.py function test_bitmask_pool (line 6) | def test_bitmask_pool(): FILE: yt/utilities/lib/tests/test_alt_ray_tracers.py function setup_module (line 13) | def setup_module(): function teardown_module (line 27) | def teardown_module(): function check_monotonic_inc (line 60) | def check_monotonic_inc(arr): function check_bounds (line 64) | def check_bounds(arr, blower, bupper): function test_cylindrical_ray_trace (line 69) | def test_cylindrical_ray_trace(): FILE: yt/utilities/lib/tests/test_bitarray.py function test_inout_bitarray (line 7) | def test_inout_bitarray(): function test_set_range (line 112) | def test_set_range(): FILE: yt/utilities/lib/tests/test_bounding_volume_hierarchy.py function get_rays (line 9) | def get_rays(camera): function test_bounding_volume_hierarchy (line 28) | def test_bounding_volume_hierarchy(): FILE: yt/utilities/lib/tests/test_element_mappings.py function check_all_vertices (line 18) | def check_all_vertices(sampler, vertices, field_values): function test_P1Sampler1D (line 28) | def test_P1Sampler1D(): function test_P1Sampler2D (line 35) | def test_P1Sampler2D(): function test_P1Sampler3D (line 42) | def test_P1Sampler3D(): function test_Q1Sampler2D (line 52) | def test_Q1Sampler2D(): function test_Q2Sampler2D (line 60) | def test_Q2Sampler2D(): function test_Q1Sampler3D (line 80) | def test_Q1Sampler3D(): function test_S2Sampler3D (line 110) | def test_S2Sampler3D(): function test_W1Sampler3D (line 164) | def test_W1Sampler3D(): function test_T2Sampler2D (line 181) | def test_T2Sampler2D(): function test_Tet2Sampler3D (line 191) | def test_Tet2Sampler3D(): FILE: yt/utilities/lib/tests/test_fill_region.py function test_fill_region (line 9) | def test_fill_region(): FILE: yt/utilities/lib/tests/test_geometry_utils.py function test_spread_bits (line 22) | def test_spread_bits(): function test_compact_bits (line 36) | def test_compact_bits(): function test_spread_and_compact_bits (line 50) | def test_spread_and_compact_bits(): function test_lsz (line 60) | def test_lsz(): function test_lsb (line 112) | def test_lsb(): function test_bitwise_addition (line 148) | def test_bitwise_addition(): function test_get_morton_indices (line 178) | def test_get_morton_indices(): function test_get_morton_points (line 196) | def test_get_morton_points(): function test_compare_morton (line 205) | def test_compare_morton(): function test_get_morton_neighbors_coarse (line 235) | def test_get_morton_neighbors_coarse(): function test_get_morton_neighbors_refined (line 373) | def test_get_morton_neighbors_refined(): function test_morton_neighbor (line 651) | def test_morton_neighbor(): function test_get_morton_neighbors (line 698) | def test_get_morton_neighbors(): function test_dist (line 919) | def test_dist(): function test_knn_direct (line 936) | def test_knn_direct(seed=1): function test_obtain_position_vector (line 956) | def test_obtain_position_vector(): function test_obtain_relative_velocity_vector (line 972) | def test_obtain_relative_velocity_vector(): FILE: yt/utilities/lib/tests/test_nn.py function test_bounded_priority_queue (line 14) | def test_bounded_priority_queue(): function test_bounded_priority_queue_pid (line 20) | def test_bounded_priority_queue_pid(): function test_neighbor_list (line 28) | def test_neighbor_list(): FILE: yt/utilities/lib/tests/test_ragged_arrays.py function test_index_unop (line 16) | def test_index_unop(): FILE: yt/utilities/lib/tests/test_sample.py function test_sample (line 7) | def test_sample(): FILE: yt/utilities/lib/tsearch.c type node (line 16) | typedef struct node_t { type node_t (line 30) | struct node_t type node_t (line 32) | struct node_t type node_t (line 42) | struct node_t type node_t (line 45) | struct node_t type node_t (line 58) | struct node_t type node_t (line 60) | struct node_t type node_t (line 85) | struct node_t type node_t (line 85) | struct node_t type node_t (line 86) | struct node_t type node_t (line 92) | struct node_t type node_t (line 96) | struct node_t type node_t (line 98) | struct node_t type node_t (line 99) | struct node_t type node_t (line 103) | struct node_t type node_t (line 110) | struct node_t FILE: yt/utilities/linear_interpolators.py class UnilinearFieldInterpolator (line 7) | class UnilinearFieldInterpolator: method __init__ (line 8) | def __init__(self, table, boundaries, field_names, truncate=False): method __call__ (line 47) | def __call__(self, data_object): class BilinearFieldInterpolator (line 68) | class BilinearFieldInterpolator: method __init__ (line 69) | def __init__(self, table, boundaries, field_names, truncate=False): method __call__ (line 118) | def __call__(self, data_object): class TrilinearFieldInterpolator (line 146) | class TrilinearFieldInterpolator: method __init__ (line 147) | def __init__(self, table, boundaries, field_names, truncate=False): method __call__ (line 203) | def __call__(self, data_object): class QuadrilinearFieldInterpolator (line 246) | class QuadrilinearFieldInterpolator: method __init__ (line 247) | def __init__(self, table, boundaries, field_names, truncate=False): method __call__ (line 307) | def __call__(self, data_object): function get_centers (line 357) | def get_centers(ds, filename, center_cols, radius_col, unit="1"): FILE: yt/utilities/lodgeit.py function fail (line 41) | def fail(msg, code): function load_default_settings (line 47) | def load_default_settings(): function make_utf8 (line 87) | def make_utf8(text, encoding): function get_xmlrpc_service (line 109) | def get_xmlrpc_service(): function copy_url (line 124) | def copy_url(url): function open_webbrowser (line 160) | def open_webbrowser(url): function language_exists (line 167) | def language_exists(language): function get_mimetype (line 174) | def get_mimetype(data, filename): function print_languages (line 189) | def print_languages(): function download_paste (line 206) | def download_paste(uid): function create_paste (line 216) | def create_paste(code, language, filename, mimetype, private): function compile_paste (line 225) | def compile_paste(filenames, langopt): function main (line 261) | def main( FILE: yt/utilities/logger.py function set_log_level (line 11) | def set_log_level(level): class DuplicateFilter (line 41) | class DuplicateFilter(logging.Filter): method filter (line 46) | def filter(self, record): class DeprecatedFieldFilter (line 57) | class DeprecatedFieldFilter(logging.Filter): method __init__ (line 60) | def __init__(self, name=""): method filter (line 64) | def filter(self, record): function add_coloring_to_emit_ansi (line 82) | def add_coloring_to_emit_ansi(fn): function colorize_logging (line 109) | def colorize_logging(): function uncolorize_logging (line 115) | def uncolorize_logging(): function disable_stream_logging (line 123) | def disable_stream_logging(): function _runtime_configuration (line 130) | def _runtime_configuration(ytcfg: YTConfig) -> None: FILE: yt/utilities/math_utils.py function periodic_position (line 43) | def periodic_position(pos, ds): function periodic_dist (line 68) | def periodic_dist(a, b, period, periodicity=(True, True, True)): function periodic_ray (line 134) | def periodic_ray(start, end, left=None, right=None): function euclidean_dist (line 231) | def euclidean_dist(a, b): function rotate_vector_3D (line 270) | def rotate_vector_3D(a, dim, angle): function modify_reference_frame (line 341) | def modify_reference_frame(CoM, L, P=None, V=None): function compute_rotational_velocity (line 461) | def compute_rotational_velocity(CoM, L, P, V): function compute_parallel_velocity (line 518) | def compute_parallel_velocity(CoM, L, P, V): function compute_radial_velocity (line 566) | def compute_radial_velocity(CoM, L, P, V): function compute_cylindrical_radius (line 620) | def compute_cylindrical_radius(CoM, L, P, V): function ortho_find (line 670) | def ortho_find(vec1): function quartiles (line 778) | def quartiles(a, axis=None, out=None, overwrite_input=False): function get_perspective_matrix (line 882) | def get_perspective_matrix(fovy, aspect, z_near, z_far): function get_orthographic_matrix (line 954) | def get_orthographic_matrix(maxr, aspect, z_near, z_far): function get_lookat_matrix (line 1017) | def get_lookat_matrix(eye, center, up): function get_translate_matrix (line 1072) | def get_translate_matrix(dx, dy, dz): function get_scale_matrix (line 1108) | def get_scale_matrix(dx, dy, dz): function get_rotation_matrix (line 1140) | def get_rotation_matrix(theta, rot_vector): function quaternion_mult (line 1210) | def quaternion_mult(q1, q2): function quaternion_to_rotation_matrix (line 1224) | def quaternion_to_rotation_matrix(quaternion): function rotation_matrix_to_quaternion (line 1258) | def rotation_matrix_to_quaternion(rot_matrix): function get_sph_r (line 1322) | def get_sph_r(coords): function resize_vector (line 1329) | def resize_vector(vector, vector_array): function normalize_vector (line 1337) | def normalize_vector(vector): function get_sph_theta (line 1347) | def get_sph_theta(coords, normal): function get_sph_phi (line 1372) | def get_sph_phi(coords, normal): function get_cyl_r (line 1399) | def get_cyl_r(coords, normal): function get_cyl_z (line 1413) | def get_cyl_z(coords, normal): function get_cyl_theta (line 1426) | def get_cyl_theta(coords, normal): function get_cyl_r_component (line 1432) | def get_cyl_r_component(vectors, theta, normal): function get_cyl_theta_component (line 1450) | def get_cyl_theta_component(vectors, theta, normal): function get_cyl_z_component (line 1467) | def get_cyl_z_component(vectors, normal): function get_sph_r_component (line 1480) | def get_sph_r_component(vectors, theta, phi, normal): function get_sph_phi_component (line 1505) | def get_sph_phi_component(vectors, phi, normal): function get_sph_theta_component (line 1522) | def get_sph_theta_component(vectors, theta, phi, normal): function compute_stddev_image (line 1546) | def compute_stddev_image(buff2, buff): FILE: yt/utilities/mesh_code_generation.py class MeshCodeGenerator (line 57) | class MeshCodeGenerator: method __init__ (line 65) | def __init__(self, mesh_data): method _compute_jacobian (line 82) | def _compute_jacobian(self): method get_interpolator_definition (line 115) | def get_interpolator_definition(self): method get_interpolator_declaration (line 136) | def get_interpolator_declaration(self): FILE: yt/utilities/metadata.py function get_metadata (line 20) | def get_metadata(path, full_output=False, attrs=DEFAULT_ATTRS): FILE: yt/utilities/minimal_representation.py function _sanitize_list (line 13) | def _sanitize_list(flist): function _serialize_to_h5 (line 25) | def _serialize_to_h5(g, cdict): function _deserialize_from_h5 (line 44) | def _deserialize_from_h5(g, ds): class ContainerClass (line 66) | class ContainerClass: class MinimalRepresentation (line 70) | class MinimalRepresentation(metaclass=abc.ABCMeta): method _update_attrs (line 71) | def _update_attrs(self, obj, attr_list): method __init__ (line 80) | def __init__(self, obj): method _generate_post (line 84) | def _generate_post(self): method _attr_list (line 89) | def _attr_list(self): method _return_filtered_object (line 92) | def _return_filtered_object(self, attrs): method _attrs (line 102) | def _attrs(self): method _from_metadata (line 106) | def _from_metadata(cls, metadata): method store (line 112) | def store(self, storage): method restore (line 134) | def restore(self, storage, ds): # noqa: B027 method upload (line 137) | def upload(self): method load (line 140) | def load(self, storage): method dump (line 143) | def dump(self, storage): class FilteredRepresentation (line 147) | class FilteredRepresentation(MinimalRepresentation): method _generate_post (line 148) | def _generate_post(self): class MinimalDataset (line 152) | class MinimalDataset(MinimalRepresentation): method __init__ (line 171) | def __init__(self, obj): method _generate_post (line 176) | def _generate_post(self): class MinimalMappableData (line 182) | class MinimalMappableData(MinimalRepresentation): method _generate_post (line 192) | def _generate_post(self): method _read_chunks (line 198) | def _read_chunks(self, g, ds): class MinimalProjectionData (line 210) | class MinimalProjectionData(MinimalMappableData): method restore (line 225) | def restore(self, storage, ds): class MinimalSliceData (line 238) | class MinimalSliceData(MinimalMappableData): class MinimalImageCollectionData (line 244) | class MinimalImageCollectionData(MinimalRepresentation): method _generate_post (line 248) | def _generate_post(self): class MinimalProjectDescription (line 267) | class MinimalProjectDescription(MinimalRepresentation): method __init__ (line 271) | def __init__(self, title, url, description, category, image_url=""): method _generate_post (line 279) | def _generate_post(self): class MinimalNotebook (line 284) | class MinimalNotebook(MinimalRepresentation): method __init__ (line 288) | def __init__(self, filename, title=None): method _generate_post (line 298) | def _generate_post(self): class ImageCollection (line 304) | class ImageCollection: method __init__ (line 305) | def __init__(self, ds, name): method add_image (line 311) | def add_image(self, fn, descr): FILE: yt/utilities/nodal_data_utils.py function _get_linear_index (line 17) | def _get_linear_index(nodal_flag): function _get_indices (line 24) | def _get_indices(nodal_flag): function get_nodal_data (line 29) | def get_nodal_data(data_source, field): function get_nodal_slices (line 37) | def get_nodal_slices(shape, nodal_flag, dim): FILE: yt/utilities/on_demand_imports.py class NotAModule (line 6) | class NotAModule: method __init__ (line 13) | def __init__(self, pkg_name, exc: BaseException | None = None): method __getattr__ (line 35) | def __getattr__(self, item): method __call__ (line 38) | def __call__(self, *args, **kwargs): method __repr__ (line 41) | def __repr__(self) -> str: class OnDemand (line 48) | class OnDemand: method __init_subclass__ (line 51) | def __init_subclass__(cls): method __new__ (line 55) | def __new__(cls): method _name (line 62) | def _name(self) -> str: method __is_available__ (line 67) | def __is_available__(self) -> bool: function safe_import (line 72) | def safe_import(func): class netCDF4_imports (line 84) | class netCDF4_imports(OnDemand): method Dataset (line 86) | def Dataset(self): class astropy_imports (line 95) | class astropy_imports(OnDemand): method log (line 97) | def log(self): method pyfits (line 106) | def pyfits(self): method pywcs (line 112) | def pywcs(self): method units (line 119) | def units(self): method conv (line 126) | def conv(self): method time (line 133) | def time(self): method wcsaxes (line 140) | def wcsaxes(self): method WCS (line 147) | def WCS(self): class regions_imports (line 157) | class regions_imports(OnDemand): method Regions (line 159) | def Regions(self): class NotCartopy (line 168) | class NotCartopy(NotAModule): method __init__ (line 174) | def __init__(self, pkg_name, exc: BaseException | None = None): class cartopy_imports (line 194) | class cartopy_imports(OnDemand): method crs (line 198) | def crs(self): class pooch_imports (line 207) | class pooch_imports(OnDemand): method HTTPDownloader (line 209) | def HTTPDownloader(self): method utils (line 215) | def utils(self): method create (line 221) | def create(self): class pyart_imports (line 230) | class pyart_imports(OnDemand): method io (line 232) | def io(self): method map (line 238) | def map(self): class xarray_imports (line 247) | class xarray_imports(OnDemand): method open_dataset (line 249) | def open_dataset(self): class scipy_imports (line 258) | class scipy_imports(OnDemand): method signal (line 260) | def signal(self): method spatial (line 266) | def spatial(self): method ndimage (line 272) | def ndimage(self): method optimize (line 281) | def optimize(self): class h5py_imports (line 290) | class h5py_imports(OnDemand): method __init__ (line 291) | def __init__(self): method File (line 304) | def File(self): method Group (line 310) | def Group(self): method Dataset (line 316) | def Dataset(self): method get_config (line 322) | def get_config(self): method h5f (line 328) | def h5f(self): method h5p (line 334) | def h5p(self): method h5d (line 340) | def h5d(self): method h5s (line 346) | def h5s(self): class nose_imports (line 355) | class nose_imports(OnDemand): method run (line 357) | def run(self): class libconf_imports (line 366) | class libconf_imports(OnDemand): method load (line 368) | def load(self): class yaml_imports (line 377) | class yaml_imports(OnDemand): method load (line 379) | def load(self): method FullLoader (line 385) | def FullLoader(self): class NotMiniball (line 394) | class NotMiniball(NotAModule): method __init__ (line 395) | def __init__(self, pkg_name): class miniball_imports (line 406) | class miniball_imports(OnDemand): method Miniball (line 408) | def Miniball(self): class f90nml_imports (line 417) | class f90nml_imports(OnDemand): method read (line 419) | def read(self): method Namelist (line 425) | def Namelist(self): class requests_imports (line 434) | class requests_imports(OnDemand): method post (line 436) | def post(self): method put (line 442) | def put(self): method codes (line 448) | def codes(self): method get (line 454) | def get(self): method exceptions (line 460) | def exceptions(self): class pandas_imports (line 469) | class pandas_imports(OnDemand): method NA (line 471) | def NA(self): method DataFrame (line 477) | def DataFrame(self): method concat (line 483) | def concat(self): method read_csv (line 489) | def read_csv(self): class firefly_imports (line 498) | class firefly_imports(OnDemand): method data_reader (line 500) | def data_reader(self): method server (line 506) | def server(self): class ratarmount_imports (line 516) | class ratarmount_imports(OnDemand): method TarMount (line 518) | def TarMount(self): method fuse (line 524) | def fuse(self): FILE: yt/utilities/operator_registry.py class OperatorRegistry (line 5) | class OperatorRegistry(UserDict): method find (line 6) | def find(self, op, *args, **kwargs): FILE: yt/utilities/orientation.py function _aligned (line 7) | def _aligned(a, b): function _validate_unit_vectors (line 12) | def _validate_unit_vectors(normal_vector, north_vector): class Orientation (line 27) | class Orientation: method __init__ (line 28) | def __init__(self, normal_vector, north_vector=None, steady_north=False): method _setup_normalized_vectors (line 59) | def _setup_normalized_vectors(self, normal_vector, north_vector): FILE: yt/utilities/parallel_tools/controller_system.py class WorkSplitter (line 6) | class WorkSplitter: method __init__ (line 7) | def __init__(self, controller, group1, group2): method setup (line 13) | def setup(cls, ng1, ng2): method run (line 23) | def run(self, name): method run_controller (line 34) | def run_controller(self): method run_group1 (line 38) | def run_group1(self): method run_group2 (line 42) | def run_group2(self): FILE: yt/utilities/parallel_tools/io_runner.py class IOCommunicator (line 19) | class IOCommunicator(BaseIOHandler): method __init__ (line 20) | def __init__(self, ds, wg, pool): method initialize_data (line 43) | def initialize_data(self): method _read (line 68) | def _read(self, g, f): method wait (line 82) | def wait(self): method _send_data (line 95) | def _send_data(self, msg, dest): class IOHandlerRemote (line 103) | class IOHandlerRemote(BaseIOHandler): method __init__ (line 106) | def __init__(self, ds, wg, pool): method _read_data_set (line 114) | def _read_data_set(self, grid, field): method _read_data_slice (line 128) | def _read_data_slice(self, grid, field, axis, coord): method terminate (line 134) | def terminate(self): function remote_io (line 143) | def remote_io(ds, wg, pool): function io_nodes (line 151) | def io_nodes(fn, n_io, n_work, func, *args, **kwargs): function gq (line 174) | def gq(ds): FILE: yt/utilities/parallel_tools/parallel_analysis_interface.py class FilterAllMessages (line 37) | class FilterAllMessages(logging.Filter): method filter (line 43) | def filter(self, record): function traceback_writer_hook (line 50) | def traceback_writer_hook(file_suffix=""): function default_mpi_excepthook (line 62) | def default_mpi_excepthook(exception_type, exception_value, tb): function enable_parallelism (line 71) | def enable_parallelism(suppress_logging: bool = False, communicator=None... function get_mpi_type (line 162) | def get_mpi_type(dtype): class ObjectIterator (line 168) | class ObjectIterator: method __init__ (line 174) | def __init__(self, pobj, just_list=False, attr="_grids"): method __iter__ (line 198) | def __iter__(self): class ParallelObjectIterator (line 202) | class ParallelObjectIterator(ObjectIterator): method __init__ (line 208) | def __init__(self, pobj, just_list=False, attr="_grids", round_robin=F... method __iter__ (line 226) | def __iter__(self): function parallel_simple_proxy (line 233) | def parallel_simple_proxy(func): class ParallelDummy (line 264) | class ParallelDummy(type): method __init__ (line 272) | def __init__(cls, name, bases, d): function parallel_passthrough (line 285) | def parallel_passthrough(func): function _get_comm (line 300) | def _get_comm(args): function parallel_blocking_call (line 308) | def parallel_blocking_call(func): function parallel_root_only_then_broadcast (line 328) | def parallel_root_only_then_broadcast(func): function parallel_root_only (line 353) | def parallel_root_only(func): class Workgroup (line 382) | class Workgroup: method __init__ (line 383) | def __init__(self, size, ranks, comm, name): class ProcessorPool (line 390) | class ProcessorPool: method __init__ (line 397) | def __init__(self): method add_workgroup (line 404) | def add_workgroup(self, size=None, ranks=None, name=None): method free_workgroup (line 425) | def free_workgroup(self, workgroup): method free_all (line 435) | def free_all(self): method from_sizes (line 442) | def from_sizes(cls, sizes): method __getitem__ (line 456) | def __getitem__(self, key): class ResultsStorage (line 463) | class ResultsStorage: function parallel_objects (line 469) | def parallel_objects(objects, njobs=0, storage=None, barrier=True, dynam... function parallel_ring (line 582) | def parallel_ring(objects, generator_func, mutable=False): class CommunicationSystem (line 689) | class CommunicationSystem: method __init__ (line 692) | def __init__(self): method push (line 695) | def push(self, new_comm): method push_with_ids (line 701) | def push_with_ids(self, ids): method _update_parallel_state (line 707) | def _update_parallel_state(self, new_comm): method pop (line 713) | def pop(self): function _reconstruct_communicator (line 718) | def _reconstruct_communicator(): class Communicator (line 722) | class Communicator: method __init__ (line 728) | def __init__(self, comm=None): method __del__ (line 732) | def __del__(self): method __reduce__ (line 741) | def __reduce__(self): method barrier (line 746) | def barrier(self): method mpi_exit_test (line 752) | def mpi_exit_test(self, data=False): method par_combine_object (line 760) | def par_combine_object(self, data, op, datatype=None): method mpi_bcast (line 854) | def mpi_bcast(self, data, root=0): method preload (line 898) | def preload(self, grids, fields, io_handler): method mpi_allreduce (line 903) | def mpi_allreduce(self, data, dtype=None, op="sum"): method mpi_nonblocking_recv (line 924) | def mpi_nonblocking_recv(self, data, source, tag=0, dtype=None): method mpi_nonblocking_send (line 932) | def mpi_nonblocking_send(self, data, dest, tag=0, dtype=None): method mpi_Request_Waitall (line 940) | def mpi_Request_Waitall(self, hooks): method mpi_Request_Waititer (line 945) | def mpi_Request_Waititer(self, hooks): method mpi_Request_Testall (line 950) | def mpi_Request_Testall(self, hooks): method size (line 968) | def size(self): method rank (line 974) | def rank(self): method mpi_info_dict (line 979) | def mpi_info_dict(self, info): method claim_object (line 993) | def claim_object(self, obj): method do_not_claim_object (line 999) | def do_not_claim_object(self, obj): method write_on_root (line 1005) | def write_on_root(self, fn): method get_filename (line 1013) | def get_filename(self, prefix, rank=None): method is_mine (line 1019) | def is_mine(self, obj): method send_quadtree (line 1024) | def send_quadtree(self, target, buf, tgd, args): method recv_quadtree (line 1032) | def recv_quadtree(self, target, tgd, args): method merge_quadtree_buffers (line 1046) | def merge_quadtree_buffers(self, qt, merge_style): method send_array (line 1100) | def send_array(self, arr, dest, tag=0): method recv_array (line 1119) | def recv_array(self, source, tag=0): method alltoallv_array (line 1135) | def alltoallv_array(self, send, total_size, offsets, sizes): method probe_loop (line 1164) | def probe_loop(self, tag, callback): class ParallelAnalysisInterface (line 1178) | class ParallelAnalysisInterface: method __init__ (line 1183) | def __init__(self, comm=None): method _get_objs (line 1191) | def _get_objs(self, attr, *args, **kwargs): method _get_grids (line 1198) | def _get_grids(self, *args, **kwargs): method _get_grid_objs (line 1204) | def _get_grid_objs(self): method get_dependencies (line 1209) | def get_dependencies(self, fields): method _initialize_parallel (line 1220) | def _initialize_parallel(self): method _finalize_parallel (line 1223) | def _finalize_parallel(self): method partition_index_2d (line 1226) | def partition_index_2d(self, axis): method partition_index_3d (line 1251) | def partition_index_3d(self, ds, padding=0.0, rank_ratio=1): method partition_region_3d (line 1294) | def partition_region_3d(self, left_edge, right_edge, padding=0.0, rank... method partition_index_3d_bisection_list (line 1318) | def partition_index_3d_bisection_list(self): class GroupOwnership (line 1363) | class GroupOwnership(ParallelAnalysisInterface): method __init__ (line 1364) | def __init__(self, items): method __del__ (line 1374) | def __del__(self): method inc (line 1378) | def inc(self, n=-1): method dec (line 1390) | def dec(self, n=-1): method item (line 1405) | def item(self): method switch (line 1412) | def switch(self): FILE: yt/utilities/parallel_tools/task_queue.py class TaskQueueNonRoot (line 20) | class TaskQueueNonRoot: method __init__ (line 21) | def __init__(self, tasks, comm, subcomm): method send_result (line 27) | def send_result(self, result): method __next__ (line 34) | def __next__(self): method __iter__ (line 48) | def __iter__(self): method run (line 51) | def run(self, callable): method finalize (line 56) | def finalize(self, vals=None): class TaskQueueRoot (line 60) | class TaskQueueRoot(TaskQueueNonRoot): method __init__ (line 61) | def __init__(self, tasks, comm, njobs): method run (line 75) | def run(self, func=None): method insert_result (line 79) | def insert_result(self, source_id, rstore): method assign_task (line 83) | def assign_task(self, source_id): method handle_assignment (line 98) | def handle_assignment(self, status): function task_queue (line 111) | def task_queue(func, tasks, njobs=0): function dynamic_parallel_objects (line 143) | def dynamic_parallel_objects(tasks, njobs=0, storage=None, broadcast=True): FILE: yt/utilities/parameter_file_storage.py class NoParameterShelf (line 14) | class NoParameterShelf(Exception): class UnknownDatasetType (line 18) | class UnknownDatasetType(Exception): method __init__ (line 19) | def __init__(self, name): method __str__ (line 22) | def __str__(self): method __repr__ (line 25) | def __repr__(self): class ParameterFileStore (line 29) | class ParameterFileStore: method __new__ (line 45) | def __new__(cls, *p, **k): method __init__ (line 50) | def __init__(self, in_memory=False): method init_db (line 68) | def init_db(self): method _get_db_name (line 83) | def _get_db_name(self): method get_ds_hash (line 89) | def get_ds_hash(self, hash): method get_ds_ctid (line 93) | def get_ds_ctid(self, ctid): method _adapt_ds (line 99) | def _adapt_ds(self, ds): method _convert_ds (line 110) | def _convert_ds(self, ds_dict): method check_ds (line 128) | def check_ds(self, ds): method insert_ds (line 144) | def insert_ds(self, ds): method wipe_hash (line 149) | def wipe_hash(self, hash): method flush_db (line 159) | def flush_db(self): method get_recent (line 166) | def get_recent(self, n=10): method _write_out (line 171) | def _write_out(self): method read_db (line 189) | def read_db(self): FILE: yt/utilities/particle_generator.py class ParticleGenerator (line 8) | class ParticleGenerator: method __init__ (line 9) | def __init__(self, ds, num_particles, field_list, ptype="io"): method _set_default_fields (line 53) | def _set_default_fields(self): method has_key (line 60) | def has_key(self, key): method keys (line 66) | def keys(self): method __getitem__ (line 72) | def __getitem__(self, key): method __setitem__ (line 78) | def __setitem__(self, key, val): method __len__ (line 86) | def __len__(self): method get_for_grid (line 92) | def get_for_grid(self, grid): method _setup_particles (line 110) | def _setup_particles(self, x, y, z, setup_fields=None): method assign_indices (line 135) | def assign_indices(self, function=None, **kwargs): method map_grid_fields_to_particles (line 145) | def map_grid_fields_to_particles(self, mapping_dict): method apply_to_stream (line 184) | def apply_to_stream(self, overwrite=False, **kwargs): class FromListParticleGenerator (line 218) | class FromListParticleGenerator(ParticleGenerator): method __init__ (line 219) | def __init__(self, ds, num_particles, data, ptype="io"): class LatticeParticleGenerator (line 273) | class LatticeParticleGenerator(ParticleGenerator): method __init__ (line 274) | def __init__( class WithDensityParticleGenerator (line 349) | class WithDensityParticleGenerator(ParticleGenerator): method __init__ (line 350) | def __init__( FILE: yt/utilities/performance_counters.py class PerformanceCounters (line 12) | class PerformanceCounters: method __new__ (line 15) | def __new__(cls, *args, **kwargs): method __init__ (line 20) | def __init__(self): method __call__ (line 28) | def __call__(self, name): method call_func (line 40) | def call_func(self, func): method print_stats (line 52) | def print_stats(self): method exit (line 81) | def exit(self): class ProfilingController (line 90) | class ProfilingController: method __init__ (line 91) | def __init__(self): method profile_function (line 94) | def profile_function(self, function_name): method write_out (line 113) | def write_out(self, filename_prefix): FILE: yt/utilities/periodic_table.py class Element (line 129) | class Element: method __init__ (line 130) | def __init__(self, num, weight, name, symbol): method __repr__ (line 136) | def __repr__(self): class PeriodicTable (line 140) | class PeriodicTable: method __init__ (line 141) | def __init__(self): method __getitem__ (line 151) | def __getitem__(self, key): FILE: yt/utilities/png_writer.py function call_png_write_png (line 10) | def call_png_write_png(buffer, fileobj, dpi): function write_png (line 18) | def write_png(buffer, filename, dpi=100): function write_png_to_string (line 23) | def write_png_to_string(buffer, dpi=100): FILE: yt/utilities/rpdb.py class PdbXMLRPCServer (line 12) | class PdbXMLRPCServer(SimpleXMLRPCServer): method register_signal (line 20) | def register_signal(self, signum): method signal_handler (line 23) | def signal_handler(self, signum, frame): method shutdown (line 27) | def shutdown(self): method serve_forever (line 31) | def serve_forever(self): function rpdb_excepthook (line 37) | def rpdb_excepthook(exc_type, exc, tb): class pdb_handler (line 59) | class pdb_handler: method __init__ (line 60) | def __init__(self, tb): method execute (line 72) | def execute(self, line): class rpdb_cmd (line 79) | class rpdb_cmd(cmd.Cmd): method __init__ (line 80) | def __init__(self, proxy): method default (line 85) | def default(self, line): method do_shutdown (line 88) | def do_shutdown(self, args): method do_help (line 92) | def do_help(self, line): method postcmd (line 95) | def postcmd(self, stop, line): method postloop (line 98) | def postloop(self): function run_rpdb (line 112) | def run_rpdb(task=None): FILE: yt/utilities/sdf.py function get_thingking_deps (line 10) | def get_thingking_deps(): function _get_type (line 47) | def _get_type(vtype, tlen=None): function _lstrip (line 59) | def _lstrip(text_list): function _get_struct_vars (line 63) | def _get_struct_vars(line): function bbox_filter (line 81) | def bbox_filter(left, right, domain_width): function sphere_filter (line 102) | def sphere_filter(center, radius, domain_width): function _ensure_xyz_fields (line 122) | def _ensure_xyz_fields(fields): function spread_bitsv (line 128) | def spread_bitsv(ival, level): function get_keyv (line 136) | def get_keyv(iarr, level): class DataStruct (line 146) | class DataStruct: method __init__ (line 151) | def __init__(self, dtypes, num, filename): method set_offset (line 159) | def set_offset(self, offset): method build_memmap (line 167) | def build_memmap(self): method __del__ (line 179) | def __del__(self): method __getitem__ (line 188) | def __getitem__(self, key): class RedirectArray (line 215) | class RedirectArray: method __init__ (line 218) | def __init__(self, http_array, key): method __getitem__ (line 224) | def __getitem__(self, sl): class HTTPDataStruct (line 230) | class HTTPDataStruct(DataStruct): method __init__ (line 233) | def __init__(self, *args, **kwargs): method set_offset (line 239) | def set_offset(self, offset): method build_memmap (line 248) | def build_memmap(self): class SDFRead (line 260) | class SDFRead(UserDict): method __init__ (line 264) | def __init__(self, filename=None, header=None): method write (line 313) | def write(self, filename): method __repr__ (line 349) | def __repr__(self): method parse_header (line 359) | def parse_header(self): method parse_line (line 376) | def parse_line(self, line, ascfile): method parse_struct (line 407) | def parse_struct(self, line, ascfile): method set_offsets (line 428) | def set_offsets(self): method load_memmaps (line 435) | def load_memmaps(self): class HTTPSDFRead (line 441) | class HTTPSDFRead(SDFRead): method __init__ (line 479) | def __init__(self, *args, **kwargs): method parse_header (line 484) | def parse_header(self): function load_sdf (line 503) | def load_sdf(filename, header=None): function _shift_periodic (line 546) | def _shift_periodic(pos, left, right, domain_width): class SDFIndex (line 559) | class SDFIndex: method __init__ (line 571) | def __init__(self, sdfdata, indexdata, level=None): method _fix_rexact (line 617) | def _fix_rexact(self, rmin, rmax): method set_bounds (line 624) | def set_bounds(self): method spread_bits (line 712) | def spread_bits(self, ival, level=None): method get_key (line 720) | def get_key(self, iarr, level=None): method spread_bitsv (line 730) | def spread_bitsv(self, ival, level=None): method get_keyv (line 735) | def get_keyv(self, iarr, level=None): method get_key_slow (line 740) | def get_key_slow(self, iarr, level=None): method get_key_ijk (line 753) | def get_key_ijk(self, i1, i2, i3, level=None): method get_slice_key (line 756) | def get_slice_key(self, ind, dim="r"): method get_ind_from_key (line 762) | def get_ind_from_key(self, key, dim="r"): method get_slice_chunks (line 769) | def get_slice_chunks(self, slice_dim, slice_index): method get_ibbox_slow (line 776) | def get_ibbox_slow(self, ileft, iright): method get_ibbox (line 795) | def get_ibbox(self, ileft, iright): method get_bbox (line 862) | def get_bbox(self, left, right): method get_nparticles_bbox (line 878) | def get_nparticles_bbox(self, left, right): method get_data (line 891) | def get_data(self, chunk, fields): method get_next_nonzero_chunk (line 897) | def get_next_nonzero_chunk(self, key, stop=None): method get_previous_nonzero_chunk (line 910) | def get_previous_nonzero_chunk(self, key, stop=None): method iter_data (line 923) | def iter_data(self, inds, fields): method filter_particles (line 965) | def filter_particles(self, myiter, myfilter): method filter_bbox (line 977) | def filter_bbox(self, left, right, myiter): method filter_sphere (line 1017) | def filter_sphere(self, center, radius, myiter): method iter_filtered_bbox_fields (line 1051) | def iter_filtered_bbox_fields(self, left, right, data, pos_fields, fie... method iter_bbox_data (line 1104) | def iter_bbox_data(self, left, right, fields): method iter_sphere_data (line 1124) | def iter_sphere_data(self, center, radius, fields): method iter_ibbox_data (line 1135) | def iter_ibbox_data(self, left, right, fields): method get_contiguous_chunk (line 1140) | def get_contiguous_chunk(self, left_key, right_key, fields): method get_key_data (line 1163) | def get_key_data(self, key, fields): method iter_slice_data (line 1176) | def iter_slice_data(self, slice_dim, slice_index, fields): method get_key_bounds (line 1186) | def get_key_bounds(self, level, cell_iarr): method find_max_cell (line 1218) | def find_max_cell(self): method find_max_cell_center (line 1222) | def find_max_cell_center(self): method get_cell_data (line 1230) | def get_cell_data(self, level, cell_iarr, fields): method get_cell_bbox (line 1252) | def get_cell_bbox(self, level, cell_iarr): method iter_padded_bbox_data (line 1267) | def iter_padded_bbox_data(self, level, cell_iarr, pad, fields): method get_padded_bbox_data (line 1368) | def get_padded_bbox_data(self, level, cell_iarr, pad, fields): method get_cell_width (line 1392) | def get_cell_width(self, level): method iter_padded_bbox_keys (line 1395) | def iter_padded_bbox_keys(self, level, cell_iarr, pad): FILE: yt/utilities/tests/test_amr_kdtree.py function test_amr_kdtree_set_fields (line 9) | def test_amr_kdtree_set_fields(): FILE: yt/utilities/tests/test_chemical_formulas.py function test_formulas (line 16) | def test_formulas(): function test_default_mu (line 27) | def test_default_mu(): FILE: yt/utilities/tests/test_config.py function captureOutput (line 31) | def captureOutput(): class SysExitException (line 43) | class SysExitException(Exception): class TestYTConfig (line 47) | class TestYTConfig(unittest.TestCase): method setUp (line 48) | def setUp(self): method tearDown (line 59) | def tearDown(self): method _runYTConfig (line 67) | def _runYTConfig(self, args): method _testKeyValue (line 83) | def _testKeyValue(self, key, val_set, val_get): method _testKeyTypeError (line 94) | def _testKeyTypeError(self, key, val1, val2, expect_error): class TestYTConfigCommands (line 108) | class TestYTConfigCommands(TestYTConfig): method testConfigCommands (line 109) | def testConfigCommands(self): method tearDown (line 146) | def tearDown(self): class TestYTConfigGlobalLocal (line 152) | class TestYTConfigGlobalLocal(TestYTConfig): method setUp (line 153) | def setUp(self): method testAmbiguousConfig (line 160) | def testAmbiguousConfig(self): FILE: yt/utilities/tests/test_coordinate_conversions.py function test_spherical_coordinate_conversion (line 34) | def test_spherical_coordinate_conversion(): function test_cylindrical_coordinate_conversion (line 104) | def test_cylindrical_coordinate_conversion(): function test_spherical_coordinate_projections (line 186) | def test_spherical_coordinate_projections(): function test_cylindrical_coordinate_projections (line 212) | def test_cylindrical_coordinate_projections(): FILE: yt/utilities/tests/test_cosmology.py function z_from_t_analytic (line 15) | def z_from_t_analytic(my_time, hubble_constant=0.7, omega_matter=0.3, om... function t_from_z_analytic (line 86) | def t_from_z_analytic(z, hubble_constant=0.7, omega_matter=0.3, omega_la... function test_z_t_roundtrip (line 133) | def test_z_t_roundtrip(): function test_z_t_analytic (line 149) | def test_z_t_analytic(): function test_dark_factor (line 194) | def test_dark_factor(): function test_cosmology_calculator_answers (line 208) | def test_cosmology_calculator_answers(): function test_dataset_cosmology_calculator (line 255) | def test_dataset_cosmology_calculator(): FILE: yt/utilities/tests/test_cython_fortran_utils.py function test_raise_error_when_file_does_not_exist (line 9) | def test_raise_error_when_file_does_not_exist(): function test_read (line 14) | def test_read(tmp_path): FILE: yt/utilities/tests/test_decompose.py function test_psize_2d (line 7) | def test_psize_2d(): function test_psize_3d (line 16) | def test_psize_3d(): function test_decomposition_2d (line 21) | def test_decomposition_2d(): function test_decomposition_3d (line 56) | def test_decomposition_3d(): function test_decomposition_with_cell_widths (line 104) | def test_decomposition_with_cell_widths(): FILE: yt/utilities/tests/test_flagging_methods.py function test_over_density (line 7) | def test_over_density(): FILE: yt/utilities/tests/test_hierarchy_inspection.py class level1 (line 10) | class level1: class level1a (line 14) | class level1a: class level2 (line 18) | class level2(level1): class level3 (line 22) | class level3(level2): class level4 (line 26) | class level4(level3): function test_empty (line 30) | def test_empty(): function test_single (line 35) | def test_single(): function test_two_classes (line 41) | def test_two_classes(): function test_four_deep (line 47) | def test_four_deep(): function test_four_deep_outoforder (line 53) | def test_four_deep_outoforder(): function test_diverging_tree (line 59) | def test_diverging_tree(): function test_without_parents (line 65) | def test_without_parents(): function test_without_grandparents (line 71) | def test_without_grandparents(): FILE: yt/utilities/tests/test_interpolators.py function test_linear_interpolator_1d (line 9) | def test_linear_interpolator_1d(): function test_linear_interpolator_2d (line 26) | def test_linear_interpolator_2d(): function test_linear_interpolator_3d (line 45) | def test_linear_interpolator_3d(): function test_linear_interpolator_4d (line 70) | def test_linear_interpolator_4d(): function test_ghost_zone_extrapolation (line 107) | def test_ghost_zone_extrapolation(): function test_get_vertex_centered_data (line 153) | def test_get_vertex_centered_data(): FILE: yt/utilities/tests/test_minimal_representation.py function setup_module (line 14) | def setup_module(): function teardown_module (line 20) | def teardown_module(): function test_store (line 26) | def test_store(): FILE: yt/utilities/tests/test_on_demand_imports.py function test_access_available_module (line 6) | def test_access_available_module(): function test_access_unavailable_module (line 19) | def test_access_unavailable_module(): function test_class_invalidation (line 49) | def test_class_invalidation(): function test_base_class_instanciation (line 58) | def test_base_class_instanciation(): FILE: yt/utilities/tests/test_particle_generator.py function test_particle_generator (line 13) | def test_particle_generator(): FILE: yt/utilities/tests/test_periodic_table.py function test_element_accuracy (line 6) | def test_element_accuracy(): FILE: yt/utilities/tests/test_periodicity.py function setup_module (line 8) | def setup_module(): function test_periodicity (line 14) | def test_periodicity(): FILE: yt/utilities/tests/test_selectors.py function setup_module (line 8) | def setup_module(): function test_point_selector (line 14) | def test_point_selector(): function test_sphere_selector (line 36) | def test_sphere_selector(): function test_ellipsoid_selector (line 70) | def test_ellipsoid_selector(): function test_slice_selector (line 132) | def test_slice_selector(): function test_cutting_plane_selector (line 147) | def test_cutting_plane_selector(): FILE: yt/utilities/tests/test_set_log_level.py function setup_module (line 8) | def setup_module(): function teardown_module (line 15) | def teardown_module(): function test_valid_level (line 19) | def test_valid_level(): function test_invalid_level (line 28) | def test_invalid_level(): FILE: yt/utilities/tree_container.py class TreeContainer (line 1) | class TreeContainer: method __init__ (line 9) | def __init__(self): method __iter__ (line 12) | def __iter__(self): FILE: yt/visualization/_commons.py function get_default_font_properties (line 19) | def get_default_font_properties(): function _get_supported_image_file_formats (line 36) | def _get_supported_image_file_formats(): function _get_supported_canvas_classes (line 42) | def _get_supported_canvas_classes(): function get_canvas_class (line 53) | def get_canvas_class(suffix: str) -> type["FigureCanvasBase"]: function validate_image_name (line 67) | def validate_image_name(filename, suffix: str | None = None) -> str: function get_canvas (line 98) | def get_canvas(figure, filename): function invalidate_plot (line 109) | def invalidate_plot(f): function invalidate_data (line 119) | def invalidate_data(f): function invalidate_figure (line 130) | def invalidate_figure(f): function validate_plot (line 144) | def validate_plot(f): function _swap_axes_extents (line 166) | def _swap_axes_extents(extent: T) -> T: function _swap_arg_pair_order (line 186) | def _swap_arg_pair_order(*args): class _MPL38_SymmetricalLogLocator (line 216) | class _MPL38_SymmetricalLogLocator(SymmetricalLogLocator): method __init__ (line 220) | def __init__(self, *args, **kwargs): method tick_values (line 227) | def tick_values(self, vmin, vmax): function get_default_from_config (line 238) | def get_default_from_config(data_source, *, field, keys, defaults): function _get_units_label (line 253) | def _get_units_label(units: str) -> str: FILE: yt/visualization/_handlers.py class NormHandler (line 34) | class NormHandler: method __init__ (line 70) | def __init__( method _get_constraints (line 100) | def _get_constraints(self) -> dict[str, Any]: method has_constraints (line 108) | def has_constraints(self) -> bool: method _reset_constraints (line 111) | def _reset_constraints(self) -> None: method _reset_norm (line 121) | def _reset_norm(self) -> None: method to_float (line 127) | def to_float(self, val: un.unyt_quantity) -> float: method to_quan (line 130) | def to_quan(self, val) -> un.unyt_quantity: method display_units (line 146) | def display_units(self) -> un.Unit: method display_units (line 150) | def display_units(self, newval: Unit) -> None: method _set_quan_attr (line 153) | def _set_quan_attr(self, attr: str, newval: Quantity | float | None) -... method vmin (line 168) | def vmin(self) -> un.unyt_quantity | Literal["min"] | None: method vmin (line 172) | def vmin(self, newval: Quantity | float | Literal["min"] | None) -> None: method vmax (line 180) | def vmax(self) -> un.unyt_quantity | Literal["max"] | None: method vmax (line 184) | def vmax(self, newval: Quantity | float | Literal["max"] | None) -> None: method dynamic_range (line 192) | def dynamic_range(self) -> float | None: method dynamic_range (line 196) | def dynamic_range(self, newval: float | None) -> None: method get_dynamic_range (line 216) | def get_dynamic_range( method norm_type (line 247) | def norm_type(self) -> type[Normalize] | None: method norm_type (line 251) | def norm_type(self, newval: type[Normalize] | None) -> None: method norm (line 266) | def norm(self) -> Normalize | None: method norm (line 270) | def norm(self, newval: Normalize) -> None: method linthresh (line 280) | def linthresh(self) -> float | None: method linthresh (line 284) | def linthresh(self, newval: Quantity | float | None) -> None: method get_norm (line 294) | def get_norm(self, data: np.ndarray, *args, **kw) -> Normalize: method _guess_linthresh (line 361) | def _guess_linthresh(self, finite_plot_data): class ColorbarHandler (line 410) | class ColorbarHandler: method __init__ (line 413) | def __init__( method draw_cbar (line 428) | def draw_cbar(self) -> bool: method draw_cbar (line 432) | def draw_cbar(self, newval) -> None: method draw_minorticks (line 440) | def draw_minorticks(self) -> bool: method draw_minorticks (line 444) | def draw_minorticks(self, newval) -> None: method cmap (line 452) | def cmap(self) -> Colormap: method cmap (line 456) | def cmap(self, newval: "ColormapInput") -> None: method _set_cmap (line 459) | def _set_cmap(self, newval: "ColormapInput") -> None: method background_color (line 477) | def background_color(self) -> "ColorType": method background_color (line 481) | def background_color(self, newval: Optional["ColorType"]) -> None: method has_background_color (line 488) | def has_background_color(self) -> bool: FILE: yt/visualization/base_plot_types.py class FormatKwargs (line 41) | class FormatKwargs(TypedDict): class CallbackWrapper (line 66) | class CallbackWrapper: method __init__ (line 67) | def __init__(self, viewer, window_plot, frb, field, font_properties, f... class PlotMPL (line 104) | class PlotMPL: method __init__ (line 107) | def __init__( method _create_axes (line 148) | def _create_axes(self, axrect: tuple[float, float, float, float]) -> N... method _get_canvas_classes (line 151) | def _get_canvas_classes(self): method save (line 183) | def save(self, name, mpl_kwargs=None, canvas=None): method show (line 202) | def show(self): method _get_labels (line 208) | def _get_labels(self): method _set_font_properties (line 222) | def _set_font_properties(self, font_properties, font_color): method _repr_png_ (line 228) | def _repr_png_(self): class ImagePlotMPL (line 239) | class ImagePlotMPL(PlotMPL, ABC): method __init__ (line 244) | def __init__( method _setup_layout_constraints (line 282) | def _setup_layout_constraints( method _reset_layout (line 307) | def _reset_layout(self) -> None: method _init_image (line 313) | def _init_image(self, data, extent, aspect, *, alpha: AlphaT = None): method _set_axes (line 343) | def _set_axes(self) -> None: method _validate_axes_extent (line 391) | def _validate_axes_extent(self, extent, transform): method _get_best_layout (line 418) | def _get_best_layout(self): method _toggle_axes (line 499) | def _toggle_axes(self, choice, draw_frame=None): method _toggle_colorbar (line 526) | def _toggle_colorbar(self, choice: bool): method _get_labels (line 539) | def _get_labels(self): method hide_axes (line 549) | def hide_axes(self, *, draw_frame=None): method show_axes (line 556) | def show_axes(self): method hide_colorbar (line 563) | def hide_colorbar(self): method show_colorbar (line 570) | def show_colorbar(self): function get_multi_plot (line 578) | def get_multi_plot(nx, ny, colorbar="vertical", bw=4, dpi=300, cbar_padd... FILE: yt/visualization/color_maps.py function add_colormap (line 14) | def add_colormap(name, cdict): function register_yt_colormaps_from_cmyt (line 42) | def register_yt_colormaps_from_cmyt(): function get_colormap_lut (line 75) | def get_colormap_lut(cmap_id: tuple[str, str] | str): function show_colormaps (line 102) | def show_colormaps(subset="all", filename=None): function make_colormap (line 182) | def make_colormap(ctuple_list, name=None, interpolate=True): FILE: yt/visualization/eps_writer.py function convert_frac_to_tex (line 17) | def convert_frac_to_tex(string): function pyxize_label (line 42) | def pyxize_label(string): class DualEPS (line 54) | class DualEPS: method __init__ (line 55) | def __init__(self, figsize=(12, 12)): method hello_world (line 71) | def hello_world(self): method return_field (line 81) | def return_field(self, plot): method axis_box (line 89) | def axis_box( method axis_box_yt (line 361) | def axis_box_yt( method insert_image (line 541) | def insert_image(self, filename, pos=(0, 0), size=None): method insert_image_yt (line 577) | def insert_image_yt(self, plot, field=None, pos=(0, 0), scale=1.0): method colorbar (line 663) | def colorbar( method colorbar_yt (line 832) | def colorbar_yt(self, plot, field=None, cb_labels=None, **kwargs): method circle (line 914) | def circle( method arrow (line 950) | def arrow( method scale_line (line 1013) | def scale_line( method title_box (line 1088) | def title_box( method save_fig (line 1138) | def save_fig(self, filename="test", format="eps", resolution=250): function multiplot (line 1171) | def multiplot( function multiplot_yt (line 1498) | def multiplot_yt(ncol, nrow, plots, fields=None, **kwargs): function single_plot (line 1565) | def single_plot( function return_colormap (line 1616) | def return_colormap(cmap=None, label="", range=(0, 1), log=False): FILE: yt/visualization/fits_image.py class UnitfulHDU (line 29) | class UnitfulHDU: method __init__ (line 30) | def __init__(self, hdu): method data (line 38) | def data(self): method __repr__ (line 41) | def __repr__(self): class FITSImageData (line 46) | class FITSImageData: method __init__ (line 47) | def __init__( method _fix_current_time (line 365) | def _fix_current_time(self, ds, current_time): method _set_units (line 383) | def _set_units(self, ds, base_units): method _set_units_from_header (line 447) | def _set_units_from_header(self, header): method set_wcs (line 462) | def set_wcs(self, wcs, wcsname=None, suffix=None): method change_image_name (line 483) | def change_image_name(self, old_name, new_name): method convolve (line 500) | def convolve(self, field, kernel, **kwargs): method update_header (line 544) | def update_header(self, field, key, value): method keys (line 559) | def keys(self): method has_key (line 562) | def has_key(self, key): method values (line 565) | def values(self): method items (line 568) | def items(self): method __getitem__ (line 571) | def __getitem__(self, item): method __repr__ (line 574) | def __repr__(self): method info (line 577) | def info(self, output=None): method writeto (line 625) | def writeto(self, fileobj, fields=None, overwrite=False, **kwargs): method to_aplpy (line 651) | def to_aplpy(self, **kwargs): method get_data (line 661) | def get_data(self, field): method set_unit (line 668) | def set_unit(self, field, units): method pop (line 680) | def pop(self, key): method close (line 695) | def close(self): method from_file (line 699) | def from_file(cls, filename): method from_images (line 713) | def from_images(cls, image_list): method create_sky_wcs (line 745) | def create_sky_wcs( class FITSImageBuffer (line 827) | class FITSImageBuffer(FITSImageData): function sanitize_fits_unit (line 831) | def sanitize_fits_unit(unit): function construct_image (line 846) | def construct_image( function assert_same_wcs (line 918) | def assert_same_wcs(wcs1, wcs2): class FITSSlice (line 948) | class FITSSlice(FITSImageData): method __init__ (line 1015) | def __init__( class FITSProjection (line 1045) | class FITSProjection(FITSImageData): method __init__ (line 1117) | def __init__( class FITSParticleProjection (line 1151) | class FITSParticleProjection(FITSImageData): method __init__ (line 1237) | def __init__( class FITSParticleOffAxisProjection (line 1282) | class FITSParticleOffAxisProjection(FITSImageData): method __init__ (line 1357) | def __init__( class FITSOffAxisSlice (line 1408) | class FITSOffAxisSlice(FITSImageData): method __init__ (line 1471) | def __init__( class FITSOffAxisProjection (line 1492) | class FITSOffAxisProjection(FITSImageData): method __init__ (line 1582) | def __init__( FILE: yt/visualization/fixed_resolution.py class FixedResolutionBuffer (line 36) | class FixedResolutionBuffer: method __init__ (line 111) | def __init__( method keys (line 160) | def keys(self): method __delitem__ (line 163) | def __delitem__(self, item): method _generate_image_and_mask (line 166) | def _generate_image_and_mask(self, item) -> None: method __getitem__ (line 207) | def __getitem__(self, item): method get_image (line 211) | def get_image(self, key, /) -> ImageArray: method get_mask (line 216) | def get_mask(self, key, /) -> MaskT: method render (line 225) | def render(self, item): method _apply_filters (line 230) | def _apply_filters(self, buffer: np.ndarray) -> np.ndarray: method __setitem__ (line 235) | def __setitem__(self, item, val): method _get_data_source_fields (line 238) | def _get_data_source_fields(self): method _get_info (line 246) | def _get_info(self, item): method convert_to_pixel (line 273) | def convert_to_pixel(self, coords): method convert_distance_x (line 294) | def convert_distance_x(self, distance): method convert_distance_y (line 312) | def convert_distance_y(self, distance): method set_unit (line 330) | def set_unit(self, field, unit, equivalency=None, equivalency_kwargs=N... method export_hdf5 (line 371) | def export_hdf5(self, filename, fields=None): method to_fits_data (line 391) | def to_fits_data(self, fields=None, other_keys=None, length_unit=None,... method export_dataset (line 432) | def export_dataset(self, fields=None, nprocs=1): method save_as_dataset (line 479) | def save_as_dataset(self, filename=None, fields=None): method limits (line 560) | def limits(self): method setup_filters (line 570) | def setup_filters(self): class CylindricalFixedResolutionBuffer (line 578) | class CylindricalFixedResolutionBuffer(FixedResolutionBuffer): method __init__ (line 585) | def __init__(self, data_source, radius, buff_size, antialias=True, *, ... method _generate_image_and_mask (line 599) | def _generate_image_and_mask(self, item) -> None: class OffAxisProjectionFixedResolutionBuffer (line 617) | class OffAxisProjectionFixedResolutionBuffer(FixedResolutionBuffer): method _generate_image_and_mask (line 625) | def _generate_image_and_mask(self, item) -> None: class ParticleImageBuffer (line 697) | class ParticleImageBuffer(FixedResolutionBuffer): method __init__ (line 707) | def __init__( method _generate_image_and_mask (line 731) | def _generate_image_and_mask(self, item) -> None: method _get_data_source_fields (line 865) | def _get_data_source_fields(self): FILE: yt/visualization/fixed_resolution_filters.py function apply_filter (line 10) | def apply_filter(f): class FixedResolutionBufferFilter (line 29) | class FixedResolutionBufferFilter(ABC): method __init_subclass__ (line 35) | def __init_subclass__(cls, *args, **kwargs): method __init__ (line 58) | def __init__(self, *args, **kwargs): method apply (line 63) | def apply(self, buff: np.ndarray) -> np.ndarray: method __call__ (line 66) | def __call__(self, buff: np.ndarray) -> np.ndarray: class FixedResolutionBufferGaussBeamFilter (line 71) | class FixedResolutionBufferGaussBeamFilter(FixedResolutionBufferFilter): method __init__ (line 81) | def __init__(self, nbeam=30, sigma=2.0): method apply (line 85) | def apply(self, buff): class FixedResolutionBufferWhiteNoiseFilter (line 104) | class FixedResolutionBufferWhiteNoiseFilter(FixedResolutionBufferFilter): method __init__ (line 114) | def __init__(self, bg_lvl=None): method apply (line 117) | def apply(self, buff): FILE: yt/visualization/geo_plot_utils.py function cartopy_importer (line 35) | def cartopy_importer(transform_name): function get_mpl_transform (line 46) | def get_mpl_transform(mpl_proj) -> FunctionType | None: FILE: yt/visualization/image_writer.py function scale_image (line 15) | def scale_image(image, mi=None, ma=None): function multi_image_composite (line 42) | def multi_image_composite( function write_bitmap (line 105) | def write_bitmap(bitmap_array, filename, max_val=None, transpose=False): function write_image (line 168) | def write_image(image, filename, color_bounds=None, cmap_name=None, func... function apply_colormap (line 213) | def apply_colormap(image, color_bounds=None, cmap_name=None, func=lambda... function map_to_colors (line 256) | def map_to_colors(buff, cmap_name): function splat_points (line 273) | def splat_points(image, points_x, points_y, contribution=None, transpose... function write_projection (line 285) | def write_projection( function display_in_notebook (line 402) | def display_in_notebook(image, max_val=None): FILE: yt/visualization/line_plot.py class LineBuffer (line 16) | class LineBuffer: method __init__ (line 47) | def __init__(self, ds, start_point, end_point, npoints, label=None): method keys (line 55) | def keys(self): method __setitem__ (line 58) | def __setitem__(self, item, val): method __getitem__ (line 61) | def __getitem__(self, item): method __delitem__ (line 71) | def __delitem__(self, item): class LinePlotDictionary (line 75) | class LinePlotDictionary(PlotDictionary): method __init__ (line 76) | def __init__(self, data_source): method _sanitize_dimensions (line 80) | def _sanitize_dimensions(self, item): method __getitem__ (line 90) | def __getitem__(self, item): method __setitem__ (line 94) | def __setitem__(self, item, value): method __contains__ (line 98) | def __contains__(self, item): class LinePlot (line 103) | class LinePlot(BaseLinePlot): method __init__ (line 157) | def __init__( method _initialize_instance (line 177) | def _initialize_instance( method _get_axrect (line 198) | def _get_axrect(self): method from_lines (line 225) | def from_lines( method _setup_plots (line 274) | def _setup_plots(self): method annotate_legend (line 379) | def annotate_legend(self, field): method set_x_unit (line 389) | def set_x_unit(self, unit_name): method set_unit (line 400) | def set_unit(self, field, new_unit): method annotate_title (line 414) | def annotate_title(self, field, title): function _validate_point (line 427) | def _validate_point(point, ds, start=False): FILE: yt/visualization/mapserver/html/map.js function setFullScreen (line 1) | function setFullScreen () { FILE: yt/visualization/mapserver/pannable_map.py function exc_writeout (line 16) | def exc_writeout(f): class PannableMapServer (line 31) | class PannableMapServer: method __init__ (line 34) | def __init__(self, data, field, takelog, cmap, route_prefix=""): method lock (line 61) | def lock(self): method unlock (line 68) | def unlock(self): method map (line 71) | def map(self, field, L, x, y): method index (line 118) | def index(self, field=None): method static (line 125) | def static(self, path): method list_fields (line 135) | def list_fields(self): FILE: yt/visualization/particle_plots.py class ParticleDummyDataSource (line 24) | class ParticleDummyDataSource: method __init__ (line 31) | def __init__( method _determine_fields (line 64) | def _determine_fields(self, *args): method get_field_parameter (line 67) | def get_field_parameter(self, name, default=None): class ParticleAxisAlignedDummyDataSource (line 78) | class ParticleAxisAlignedDummyDataSource(ParticleDummyDataSource): method __init__ (line 79) | def __init__( class ParticleOffAxisDummyDataSource (line 124) | class ParticleOffAxisDummyDataSource(ParticleDummyDataSource): method __init__ (line 125) | def __init__( class ParticleProjectionPlot (line 180) | class ParticleProjectionPlot(NormalPlot): method __new__ (line 336) | def __new__( # type: ignore method _handle_normalaxis_parameters (line 353) | def _handle_normalaxis_parameters(*, normal, axis) -> None: class AxisAlignedParticleProjectionPlot (line 372) | class AxisAlignedParticleProjectionPlot(ParticleProjectionPlot, PWViewer... method __init__ (line 376) | def __init__( class OffAxisParticleProjectionPlot (line 479) | class OffAxisParticleProjectionPlot(ParticleProjectionPlot, PWViewerMPL): method __init__ (line 483) | def __init__( class ParticlePhasePlot (line 586) | class ParticlePhasePlot(PhasePlot): method __init__ (line 672) | def __init__( function ParticlePlot (line 709) | def ParticlePlot(ds, x_field, y_field, z_fields=None, color="b", *args, ... FILE: yt/visualization/plot_container.py function apply_callback (line 41) | def apply_callback(f): function accepts_all_fields (line 58) | def accepts_all_fields(func): class Unset (line 80) | class Unset: method __new__ (line 83) | def __new__(cls): class PlotDictionary (line 92) | class PlotDictionary(defaultdict): method __getitem__ (line 93) | def __getitem__(self, item): method __setitem__ (line 98) | def __setitem__(self, item, value): method __contains__ (line 103) | def __contains__(self, item): method __init__ (line 108) | def __init__(self, data_source, default_factory=None): class PlotContainer (line 113) | class PlotContainer(abc.ABC): method __init__ (line 123) | def __init__(self, data_source, figure_size=None, fontsize: float | No... method set_log (line 145) | def set_log( method get_log (line 227) | def get_log(self, field): method set_transform (line 263) | def set_transform(self, field, name: str): method set_norm (line 275) | def set_norm(self, field, norm: Normalize): method set_minorticks (line 299) | def set_minorticks(self, field, state): method _setup_plots (line 318) | def _setup_plots(self): method render (line 322) | def render(self) -> None: method _initialize_dataset (line 338) | def _initialize_dataset(self, ts): method _switch_ds (line 346) | def _switch_ds(self, new_ds, data_source=None): method __getitem__ (line 383) | def __getitem__(self, item): method _set_font_properties (line 386) | def _set_font_properties(self): method set_font (line 392) | def set_font(self, font_dict=None): method set_font_size (line 460) | def set_font_size(self, size): method _set_figure_size (line 474) | def _set_figure_size(self, size): method set_figure_size (line 486) | def set_figure_size(self, size): method save (line 501) | def save( method refresh (line 606) | def refresh(self): method show (line 611) | def show(self): method display (line 644) | def display(self, name=None, mpl_kwargs=None): method _repr_html_ (line 653) | def _repr_html_(self): method set_xlabel (line 666) | def set_xlabel(self, label): method set_ylabel (line 684) | def set_ylabel(self, label): method _get_axes_unit_labels (line 700) | def _get_axes_unit_labels(self, unit_x, unit_y): method hide_colorbar (line 759) | def hide_colorbar(self, field=None): method show_colorbar (line 799) | def show_colorbar(self, field=None): method hide_axes (line 817) | def hide_axes(self, field=None, draw_frame=None): method show_axes (line 866) | def show_axes(self, field=None): class ImagePlotContainer (line 885) | class ImagePlotContainer(PlotContainer, abc.ABC): method __init__ (line 890) | def __init__(self, data_source, figure_size, fontsize): method _get_default_handlers (line 895) | def _get_default_handlers( method set_cmap (line 938) | def set_cmap(self, field, cmap): method set_background_color (line 959) | def set_background_color(self, field, color=None): method set_zlim (line 979) | def set_zlim( method set_colorbar_minorticks (line 1051) | def set_colorbar_minorticks(self, field, state): method set_colorbar_label (line 1069) | def set_colorbar_label(self, field, label): method _get_axes_labels (line 1089) | def _get_axes_labels(self, field): class BaseLinePlot (line 1093) | class BaseLinePlot(PlotContainer, abc.ABC): method _get_axrect (line 1097) | def _get_axrect(self): method _get_plot_instance (line 1100) | def _get_plot_instance(self, field): FILE: yt/visualization/plot_modifications.py function _validate_factor_tuple (line 57) | def _validate_factor_tuple(factor) -> tuple[int, int]: class PlotCallback (line 75) | class PlotCallback(ABC): method __init_subclass__ (line 86) | def __init_subclass__(cls, *args, **kwargs): method __init__ (line 134) | def __init__(self, *args, **kwargs) -> None: method __call__ (line 138) | def __call__(self, plot: CallbackWrapper) -> Any: method _project_coords (line 141) | def _project_coords(self, plot, coord): method _convert_to_plot (line 185) | def _convert_to_plot(self, plot, coord, offset=True): method _sanitize_coord_system (line 229) | def _sanitize_coord_system(self, plot, coord, coord_system): method _physical_bounds (line 296) | def _physical_bounds(self, plot): method _plot_bounds (line 303) | def _plot_bounds(self, plot): method _pixel_scale (line 313) | def _pixel_scale(self, plot): method _set_font_properties (line 320) | def _set_font_properties(self, plot, labels, **kwargs): method _set_plot_limits (line 365) | def _set_plot_limits(self, plot, extent=None) -> None: method _sanitize_xy_order (line 386) | def _sanitize_xy_order(plot, *args): class VelocityCallback (line 412) | class VelocityCallback(PlotCallback): method __init__ (line 434) | def __init__( method __call__ (line 461) | def __call__(self, plot) -> "BaseQuiverCallback": class MagFieldCallback (line 558) | class MagFieldCallback(PlotCallback): method __init__ (line 579) | def __init__( method __call__ (line 605) | def __call__(self, plot) -> "BaseQuiverCallback": class BaseQuiverCallback (line 688) | class BaseQuiverCallback(PlotCallback, ABC): method __init__ (line 691) | def __init__( method _get_quiver_data (line 725) | def _get_quiver_data(self, plot, bounds: tuple, nx: int, ny: int): method __call__ (line 729) | def __call__(self, plot): method _finalize (line 768) | def _finalize(self, plot, X, Y, pixX, pixY, pixC): class QuiverCallback (line 806) | class QuiverCallback(BaseQuiverCallback): method __init__ (line 830) | def __init__( method _get_quiver_data (line 859) | def _get_quiver_data(self, plot, bounds: tuple, nx: int, ny: int): class ContourCallback (line 921) | class ContourCallback(PlotCallback): method __init__ (line 935) | def __init__( method __call__ (line 976) | def __call__(self, plot) -> None: class GridBoundaryCallback (line 1074) | class GridBoundaryCallback(PlotCallback): method __init__ (line 1096) | def __init__( method __call__ (line 1129) | def __call__(self, plot): class StreamlineCallback (line 1268) | class StreamlineCallback(PlotCallback): method __init__ (line 1321) | def __init__( method __call__ (line 1387) | def __call__(self, plot) -> None: class LinePlotCallback (line 1468) | class LinePlotCallback(PlotCallback): method __init__ (line 1532) | def __init__( method __call__ (line 1560) | def __call__(self, plot): class CuttingQuiverCallback (line 1570) | class CuttingQuiverCallback(BaseQuiverCallback): method _get_quiver_data (line 1585) | def _get_quiver_data(self, plot, bounds: tuple, nx: int, ny: int): class ClumpContourCallback (line 1648) | class ClumpContourCallback(PlotCallback): method __init__ (line 1657) | def __init__(self, clumps, *, plot_args=None, **kwargs): method __call__ (line 1673) | def __call__(self, plot): class ArrowCallback (line 1723) | class ArrowCallback(PlotCallback): method __init__ (line 1809) | def __init__( method __call__ (line 1844) | def __call__(self, plot): class MarkerAnnotateCallback (line 1903) | class MarkerAnnotateCallback(PlotCallback): method __init__ (line 1964) | def __init__( method __call__ (line 1985) | def __call__(self, plot): class SphereCallback (line 1996) | class SphereCallback(PlotCallback): method __init__ (line 2048) | def __init__( method __call__ (line 2073) | def __call__(self, plot): class TextLabelCallback (line 2123) | class TextLabelCallback(PlotCallback): method __init__ (line 2199) | def __init__( method __call__ (line 2218) | def __call__(self, plot): class ParticleCallback (line 2234) | class ParticleCallback(PlotCallback): method __init__ (line 2251) | def __init__( method __call__ (line 2271) | def __call__(self, plot): method _enforce_periodic (line 2337) | def _enforce_periodic( method _get_region (line 2356) | def _get_region(self, xlim, ylim, axis, data): class TitleCallback (line 2377) | class TitleCallback(PlotCallback): method __init__ (line 2384) | def __init__(self, title): method __call__ (line 2387) | def __call__(self, plot): class MeshLinesCallback (line 2395) | class MeshLinesCallback(PlotCallback): method __init__ (line 2421) | def __init__(self, *, plot_args=None, **kwargs): method promote_2d_to_3d (line 2434) | def promote_2d_to_3d(self, coords, indices, plot): method __call__ (line 2450) | def __call__(self, plot): class TriangleFacetsCallback (line 2482) | class TriangleFacetsCallback(PlotCallback): method __init__ (line 2496) | def __init__(self, triangle_vertices, *, plot_args=None, **kwargs): method __call__ (line 2510) | def __call__(self, plot): class TimestampCallback (line 2542) | class TimestampCallback(PlotCallback): method __init__ (line 2639) | def __init__( method __call__ (line 2685) | def __call__(self, plot): class ScaleCallback (line 2780) | class ScaleCallback(PlotCallback): method __init__ (line 2874) | def __init__( method __call__ (line 2918) | def __call__(self, plot): class RayCallback (line 3012) | class RayCallback(PlotCallback): method __init__ (line 3069) | def __init__(self, ray, *, arrow=False, plot_args=None, **kwargs): method _process_ray (line 3086) | def _process_ray(self): method _process_ortho_ray (line 3092) | def _process_ortho_ray(self): method _process_light_ray (line 3105) | def _process_light_ray(self, plot): method __call__ (line 3122) | def __call__(self, plot): class LineIntegralConvolutionCallback (line 3177) | class LineIntegralConvolutionCallback(PlotCallback): method __init__ (line 3236) | def __init__( method __call__ (line 3256) | def __call__(self, plot): class CellEdgesCallback (line 3317) | class CellEdgesCallback(PlotCallback): method __init__ (line 3349) | def __init__(self, line_width=0.002, alpha=1.0, color="black"): method __call__ (line 3357) | def __call__(self, plot): FILE: yt/visualization/plot_window.py function get_window_parameters (line 71) | def get_window_parameters(axis, center, width, ds): function get_oblique_window_parameters (line 85) | def get_oblique_window_parameters( function get_axes_unit (line 111) | def get_axes_unit(width, ds): function validate_mesh_fields (line 134) | def validate_mesh_fields(data_source, fields): class PlotWindow (line 155) | class PlotWindow(ImagePlotContainer, abc.ABC): method __init__ (line 188) | def __init__( method __iter__ (line 285) | def __iter__(self): method piter (line 291) | def piter(self, *args, **kwargs): method frb (line 297) | def frb(self): method frb (line 307) | def frb(self, value): method frb (line 312) | def frb(self): method _recreate_frb (line 316) | def _recreate_frb(self): method _has_swapped_axes (line 357) | def _has_swapped_axes(self): method swap_axes (line 363) | def swap_axes(self): method _validate_swap_axes (line 371) | def _validate_swap_axes(self, swap_value: bool) -> bool: method width (line 378) | def width(self): method bounds (line 384) | def bounds(self): method zoom (line 388) | def zoom(self, factor): method pan (line 410) | def pan(self, deltas): method pan_rel (line 448) | def pan_rel(self, deltas): method set_unit (line 463) | def set_unit(self, field, new_unit, equivalency=None, equivalency_kwar... method set_origin (line 490) | def set_origin(self, origin): method set_mpl_projection (line 534) | def set_mpl_projection(self, mpl_proj): method _set_window (line 631) | def _set_window(self, bounds): method set_width (line 660) | def set_width(self, width, unit=None): method set_center (line 719) | def set_center(self, new_center, unit="code_length"): method set_antialias (line 758) | def set_antialias(self, aa): method set_buff_size (line 768) | def set_buff_size(self, size): method set_axes_unit (line 784) | def set_axes_unit(self, unit_name): method flip_horizontal (line 825) | def flip_horizontal(self): method flip_vertical (line 833) | def flip_vertical(self): method to_fits_data (line 840) | def to_fits_data(self, fields=None, other_keys=None, length_unit=None,... class PWViewerMPL (line 863) | class PWViewerMPL(PlotWindow): method __init__ (line 870) | def __init__(self, *args, **kwargs) -> None: method _data_valid (line 887) | def _data_valid(self) -> bool: method _data_valid (line 891) | def _data_valid(self, value): method _setup_origin (line 899) | def _setup_origin(self): method _setup_plots (line 1012) | def _setup_plots(self): method setup_callbacks (line 1253) | def setup_callbacks(self): method clear_annotations (line 1261) | def clear_annotations(self, index: int | None = None): method list_annotations (line 1273) | def list_annotations(self): method run_callbacks (line 1282) | def run_callbacks(self): method export_to_mpl_figure (line 1305) | def export_to_mpl_figure( class NormalPlot (line 1389) | class NormalPlot: method sanitize_normal_vector (line 1396) | def sanitize_normal_vector(ds, normal) -> str | np.ndarray: class SlicePlot (line 1446) | class SlicePlot(NormalPlot): method __new__ (line 1602) | def __new__( # type: ignore class ProjectionPlot (line 1615) | class ProjectionPlot(NormalPlot): method __new__ (line 1663) | def __new__( # type: ignore class AxisAlignedSlicePlot (line 1676) | class AxisAlignedSlicePlot(SlicePlot, PWViewerMPL): method __init__ (line 1803) | def __init__( class AxisAlignedProjectionPlot (line 1873) | class AxisAlignedProjectionPlot(ProjectionPlot, PWViewerMPL): method __init__ (line 2033) | def __init__( class OffAxisSlicePlot (line 2121) | class OffAxisSlicePlot(SlicePlot, PWViewerMPL): method __init__ (line 2205) | def __init__( class OffAxisProjectionDummyDataSource (line 2274) | class OffAxisProjectionDummyDataSource: method __init__ (line 2278) | def __init__( method _determine_fields (line 2324) | def _determine_fields(self, *args): class OffAxisProjectionPlot (line 2328) | class OffAxisProjectionPlot(ProjectionPlot, PWViewerMPL): method __init__ (line 2436) | def __init__( class WindowPlotMPL (line 2564) | class WindowPlotMPL(ImagePlotMPL): method __init__ (line 2567) | def __init__( method _create_axes (line 2616) | def _create_axes(self, axrect): function plot_2d (line 2620) | def plot_2d( FILE: yt/visualization/profile_plotter.py function invalidate_profile (line 37) | def invalidate_profile(f): function sanitize_label (line 47) | def sanitize_label(labels, nprofiles): function data_object_or_all_data (line 73) | def data_object_or_all_data(data_source): class ProfilePlot (line 83) | class ProfilePlot(BaseLinePlot): method __init__ (line 196) | def __init__( method _initialize_instance (line 242) | def _initialize_instance( method _get_axrect (line 272) | def _get_axrect(self): method save (line 276) | def save( method show (line 331) | def show(self): method _repr_html_ (line 358) | def _repr_html_(self): method _setup_plots (line 377) | def _setup_plots(self): method from_profiles (line 428) | def from_profiles(cls, profiles, labels=None, plot_specs=None, y_log=N... method set_line_property (line 486) | def set_line_property(self, property, value, index=None): method set_log (line 520) | def set_log(self, field, log): method set_ylabel (line 545) | def set_ylabel(self, field, label): method set_xlabel (line 569) | def set_xlabel(self, label): method set_unit (line 582) | def set_unit(self, field, unit): method set_xlim (line 604) | def set_xlim(self, xmin=None, xmax=None): method set_ylim (line 663) | def set_ylim(self, field, ymin=None, ymax=None): method _set_font_properties (line 707) | def _set_font_properties(self): method _get_field_log (line 711) | def _get_field_log(self, field_y, profile): method _get_field_label (line 721) | def _get_field_label(self, field, field_info, field_unit, fractional=F... method _get_field_title (line 739) | def _get_field_title(self, field_y, profile): method annotate_title (line 754) | def annotate_title(self, title, field="all"): method annotate_text (line 788) | def annotate_text(self, xpos=0.0, ypos=0.0, text=None, field="all", **... class PhasePlot (line 843) | class PhasePlot(ImagePlotContainer): method __init__ (line 930) | def __init__( method _initialize_instance (line 969) | def _initialize_instance( method _get_field_title (line 993) | def _get_field_title(self, field_z, profile): method _get_field_label (line 1009) | def _get_field_label(self, field, field_info, field_unit, fractional=F... method _get_field_log (line 1027) | def _get_field_log(self, field_z, profile): method profile (line 1045) | def profile(self): method fields (line 1051) | def fields(self): method _setup_plots (line 1054) | def _setup_plots(self): method from_profile (line 1148) | def from_profile(cls, profile, fontsize=18, figure_size=8.0, shading="... method annotate_text (line 1193) | def annotate_text(self, xpos=0.0, ypos=0.0, text=None, **text_kwargs): method save (line 1230) | def save(self, name: str | None = None, suffix: str | None = None, mpl... method set_title (line 1289) | def set_title(self, field, title): method annotate_title (line 1308) | def annotate_title(self, title): method reset_plot (line 1327) | def reset_plot(self): method set_log (line 1332) | def set_log(self, field, log): method set_unit (line 1364) | def set_unit(self, field, unit): method set_xlim (line 1389) | def set_xlim(self, xmin=None, xmax=None): method set_ylim (line 1427) | def set_ylim(self, ymin=None, ymax=None): method _recreate_profile (line 1468) | def _recreate_profile(self): class PhasePlotMPL (line 1503) | class PhasePlotMPL(ImagePlotMPL): method __init__ (line 1506) | def __init__( method _init_image (line 1544) | def _init_image( FILE: yt/visualization/streamlines.py function sanitize_length (line 13) | def sanitize_length(length, ds): class Streamlines (line 22) | class Streamlines(ParallelAnalysisInterface): method __init__ (line 94) | def __init__( method integrate_through_volume (line 140) | def integrate_through_volume(self): method _finalize_parallel (line 167) | def _finalize_parallel(self, data): method _integrate_through_brick (line 172) | def _integrate_through_brick(self, node, stream, step, periodic=False,... method clean_streamlines (line 201) | def clean_streamlines(self): method path (line 211) | def path(self, streamline_id): FILE: yt/visualization/tests/test_base_plot_types.py function test_backend_specs (line 12) | def test_backend_specs(backend_key): FILE: yt/visualization/tests/test_callbacks.py function _cleanup_fname (line 70) | def _cleanup_fname(): function test_method_signature (line 76) | def test_method_signature(): function test_init_signature_error_callback (line 93) | def test_init_signature_error_callback(): function check_axis_manipulation (line 103) | def check_axis_manipulation(plot_obj, prefix): function test_timestamp_callback (line 122) | def test_timestamp_callback(): function test_timestamp_callback_code_units (line 148) | def test_timestamp_callback_code_units(): function test_scale_callback (line 157) | def test_scale_callback(): function test_line_callback (line 195) | def test_line_callback(): function test_ray_callback (line 225) | def test_ray_callback(): function test_arrow_callback (line 260) | def test_arrow_callback(): function test_marker_callback (line 305) | def test_marker_callback(): function test_particles_callback (line 343) | def test_particles_callback(): function test_sphere_callback (line 375) | def test_sphere_callback(): function test_invalidated_annotations (line 407) | def test_invalidated_annotations(): function test_text_callback (line 424) | def test_text_callback(): function test_velocity_callback (line 460) | def test_velocity_callback(): function test_velocity_callback_spherical (line 507) | def test_velocity_callback_spherical(): function test_magnetic_callback (line 528) | def test_magnetic_callback(): function test_quiver_callback (line 619) | def test_quiver_callback(): function test_quiver_callback_spherical (line 673) | def test_quiver_callback_spherical(): function test_contour_callback (line 707) | def test_contour_callback(): function test_grids_callback (line 790) | def test_grids_callback(): function test_cell_edges_callback (line 846) | def test_cell_edges_callback(): function test_mesh_lines_callback (line 879) | def test_mesh_lines_callback(): function test_streamline_callback (line 898) | def test_streamline_callback(): function test_line_integral_convolution_callback (line 996) | def test_line_integral_convolution_callback(): function test_accepts_all_fields_decorator (line 1079) | def test_accepts_all_fields_decorator(): function test_axis_manipulations (line 1111) | def test_axis_manipulations(): FILE: yt/visualization/tests/test_callbacks_geographic.py function test_quiver_callback_geographic (line 10) | def test_quiver_callback_geographic(geometry): function ds_geo_uni_grid (line 26) | def ds_geo_uni_grid(): function test_geoquiver_answer (line 67) | def test_geoquiver_answer(ds_geo_uni_grid): FILE: yt/visualization/tests/test_color_maps.py class TestColorMaps (line 15) | class TestColorMaps(unittest.TestCase): method setUp (line 16) | def setUp(self): method tearDown (line 21) | def tearDown(self): method test_show_colormaps (line 26) | def test_show_colormaps(self): method test_make_colormap (line 41) | def test_make_colormap(self): function test_cmyt_integration (line 63) | def test_cmyt_integration(): FILE: yt/visualization/tests/test_commons.py function test_default (line 20) | def test_default(name, expected): function test_custom_valid_ext (line 45) | def test_custom_valid_ext(name, suffix, expected): function test_extent_swap (line 54) | def test_extent_swap(): function test_swap_arg_pair_order (line 61) | def test_swap_arg_pair_order(): FILE: yt/visualization/tests/test_eps_writer.py function test_eps_writer (line 7) | def test_eps_writer(tmp_path): FILE: yt/visualization/tests/test_export_frb.py function setup_module (line 7) | def setup_module(): function test_export_frb (line 14) | def test_export_frb(): FILE: yt/visualization/tests/test_filters.py function test_white_noise_filter (line 13) | def test_white_noise_filter(): function test_gauss_beam_filter (line 23) | def test_gauss_beam_filter(): function test_filter_wiring (line 32) | def test_filter_wiring(): FILE: yt/visualization/tests/test_fits_image.py function test_fits_image (line 25) | def test_fits_image(): function test_fits_cosmo (line 304) | def test_fits_cosmo(): FILE: yt/visualization/tests/test_geo_projections.py function setup_module (line 10) | def setup_module(): class TestGeoProjections (line 17) | class TestGeoProjections(unittest.TestCase): method setUp (line 19) | def setUp(self): method tearDown (line 26) | def tearDown(self): method test_geo_projection_setup (line 30) | def test_geo_projection_setup(self): method test_geo_projections (line 46) | def test_geo_projections(self): method test_projection_object (line 70) | def test_projection_object(self): method test_nondefault_transform (line 90) | def test_nondefault_transform(self): method test_extent (line 118) | def test_extent(self): class TestNonGeoProjections (line 133) | class TestNonGeoProjections(unittest.TestCase): method setUp (line 134) | def setUp(self): method tearDown (line 137) | def tearDown(self): method test_projection_setup (line 141) | def test_projection_setup(self): FILE: yt/visualization/tests/test_image_comp_2D_plots.py function test_sliceplot_set_unit_and_zlim_order (line 22) | def test_sliceplot_set_unit_and_zlim_order(): function test_annotation_parse_h (line 44) | def test_annotation_parse_h(): function test_inf_and_finite_values_set_zlim (line 76) | def test_inf_and_finite_values_set_zlim(): function test_sliceplot_custom_norm (line 105) | def test_sliceplot_custom_norm(): function test_sliceplot_custom_norm_symlog_int_base (line 118) | def test_sliceplot_custom_norm_symlog_int_base(): function test_lineplot_set_axis_properties (line 133) | def test_lineplot_set_axis_properties(): function test_profileplot_set_axis_properties (line 152) | def test_profileplot_set_axis_properties(): function test_particleprojectionplot_set_colorbar_properties (line 166) | def test_particleprojectionplot_set_colorbar_properties(): class TestMultipanelPlot (line 181) | class TestMultipanelPlot: method setup_class (line 183) | def setup_class(cls): method test_multipanelplot_colorbar_orientation_simple (line 194) | def test_multipanelplot_colorbar_orientation_simple(self, cbar_location): method test_multipanelplot_colorbar_orientation_warning (line 199) | def test_multipanelplot_colorbar_orientation_warning(self, cbar_locati... class TestProfilePlot (line 204) | class TestProfilePlot: method setup_class (line 206) | def setup_class(cls): method test_profileplot_simple (line 260) | def test_profileplot_simple(self, region, xax, yax, suffix): method test_profileplot_from_multiple_profiles_0 (line 269) | def test_profileplot_from_multiple_profiles_0(self): method test_profileplot_from_multiple_profiles_1 (line 275) | def test_profileplot_from_multiple_profiles_1(self): class TestPhasePlot (line 281) | class TestPhasePlot: method setup_class (line 283) | def setup_class(cls): method test_phaseplot (line 338) | def test_phaseplot(self, region, xax, yax, zax, suffix): class TestPhasePlotSetZlim (line 347) | class TestPhasePlotSetZlim: method setup_class (line 349) | def setup_class(cls): method test_phaseplot_set_zlim_with_implicit_units (line 355) | def test_phaseplot_set_zlim_with_implicit_units(self): method test_phaseplot_set_zlim_with_explicit_units (line 369) | def test_phaseplot_set_zlim_with_explicit_units(self): class TestSetBackgroundColor (line 384) | class TestSetBackgroundColor: method setup_class (line 388) | def setup_class(cls): method test_sliceplot_set_background_color_linear (line 403) | def test_sliceplot_set_background_color_linear(self): method test_sliceplot_set_background_color_log (line 413) | def test_sliceplot_set_background_color_log(self): method test_sliceplot_set_background_color_and_bad_value (line 422) | def test_sliceplot_set_background_color_and_bad_value(self): class TestCylindricalZSlicePlot (line 436) | class TestCylindricalZSlicePlot: method setup_class (line 438) | def setup_class(cls): method test_cylindrical_z_log (line 446) | def test_cylindrical_z_log(self, field): method test_cylindrical_z_linear (line 451) | def test_cylindrical_z_linear(self, field): method test_exclude_pixels_with_partial_bbox_intersection (line 463) | def test_exclude_pixels_with_partial_bbox_intersection(self, theta_min... class TestSphericalPhiSlicePlot (line 484) | class TestSphericalPhiSlicePlot: method setup_class (line 486) | def setup_class(cls): method test_spherical_phi_log (line 494) | def test_spherical_phi_log(self, field): class TestSphericalThetaSlicePlot (line 498) | class TestSphericalThetaSlicePlot: method setup_class (line 500) | def setup_class(cls): method test_spherical_theta_log (line 508) | def test_spherical_theta_log(self, field): FILE: yt/visualization/tests/test_image_comp_geo.py class TestGeoTransform (line 7) | class TestGeoTransform: method setup_class (line 17) | def setup_class(cls): method test_geo_tranform (line 50) | def test_geo_tranform(self, transform): FILE: yt/visualization/tests/test_image_writer.py class TestImageWriter (line 19) | class TestImageWriter(unittest.TestCase): method setUpClass (line 21) | def setUpClass(cls): method tearDownClass (line 27) | def tearDownClass(cls): method test_multi_image_composite (line 31) | def test_multi_image_composite(self): method test_write_bitmap (line 57) | def test_write_bitmap(self): method test_apply_colormap (line 73) | def test_apply_colormap(self): FILE: yt/visualization/tests/test_invalid_origin.py function test_invalidate_origin_value (line 129) | def test_invalidate_origin_value(origin, msg): function test_invalidate_origin_type (line 144) | def test_invalidate_origin_type(origin): FILE: yt/visualization/tests/test_line_annotation_unit.py function test_ds_arr_invariance_under_projection_plot (line 7) | def test_ds_arr_invariance_under_projection_plot(tmp_path): FILE: yt/visualization/tests/test_line_plots.py function setup_module (line 9) | def setup_module(): class TestLinePlotSimple (line 16) | class TestLinePlotSimple: method setup_class (line 18) | def setup_class(cls): method test_lineplot_simple_density (line 34) | def test_lineplot_simple_density(self): method test_lineplot_simple_velocity_x (line 38) | def test_lineplot_simple_velocity_x(self): class TestLinePlotMulti (line 42) | class TestLinePlotMulti: method setup_class (line 44) | def setup_class(cls): method test_lineplot_multi_density (line 65) | def test_lineplot_multi_density(self): method test_lineplot_multi_velocity_x (line 69) | def test_lineplot_multi_velocity_x(self): function test_line_buffer (line 73) | def test_line_buffer(): function test_validate_point (line 86) | def test_validate_point(): FILE: yt/visualization/tests/test_mesh_slices.py function setup_module (line 10) | def setup_module(): class TestTetrahedral (line 17) | class TestTetrahedral: method setup_class (line 19) | def setup_class(cls): method test_mesh_selection (line 34) | def test_mesh_selection(self, idir): method test_mesh_slice_tetraheadral_all_elem (line 42) | def test_mesh_slice_tetraheadral_all_elem(self, ax): method test_mesh_slice_tetraheadral_all_test (line 47) | def test_mesh_slice_tetraheadral_all_test(self, ax): method test_mesh_slice_tetraheadral_connect1_elem (line 52) | def test_mesh_slice_tetraheadral_connect1_elem(self, ax): method test_mesh_slice_tetraheadral_connect1_test (line 57) | def test_mesh_slice_tetraheadral_connect1_test(self, ax): class TestHexahedral (line 61) | class TestHexahedral: method setup_class (line 63) | def setup_class(cls): method test_mesh_selection (line 78) | def test_mesh_selection(self, idir): method test_mesh_slice_hexaheadral_all_elem (line 86) | def test_mesh_slice_hexaheadral_all_elem(self, ax): method test_mesh_slice_hexaheadral_all_test (line 91) | def test_mesh_slice_hexaheadral_all_test(self, ax): method test_mesh_slice_hexaheadral_connect1_elem (line 96) | def test_mesh_slice_hexaheadral_connect1_elem(self, ax): method test_mesh_slice_hexaheadral_connect1_test (line 101) | def test_mesh_slice_hexaheadral_connect1_test(self, ax): function test_perfect_element_intersection (line 105) | def test_perfect_element_intersection(): FILE: yt/visualization/tests/test_normal_plot_api.py function ds (line 11) | def ds(): function test_normalplot_all_positional_args (line 16) | def test_normalplot_all_positional_args(ds, plot_cls): function test_normalplot_normal_kwarg (line 21) | def test_normalplot_normal_kwarg(ds, plot_cls): function test_error_with_missing_fields_and_normal (line 26) | def test_error_with_missing_fields_and_normal(ds, plot_cls): function test_error_with_missing_fields_with_normal_kwarg (line 35) | def test_error_with_missing_fields_with_normal_kwarg(ds, plot_cls): function test_error_with_missing_fields_with_positional (line 43) | def test_error_with_missing_fields_with_positional(ds, plot_cls): function test_normalplot_normal_array (line 58) | def test_normalplot_normal_array(ds, plot_cls, normal): FILE: yt/visualization/tests/test_offaxisprojection.py function expand_keywords (line 26) | def expand_keywords(keywords, full=False): class TestOffAxisProjection (line 132) | class TestOffAxisProjection(unittest.TestCase): method setUpClass (line 134) | def setUpClass(cls): method tearDownClass (line 140) | def tearDownClass(cls): method test_oap (line 144) | def test_oap(self): function test_field_cut_off_axis_octree (line 200) | def test_field_cut_off_axis_octree(): function test_off_axis_octree (line 214) | def test_off_axis_octree(): function test_offaxis_moment (line 251) | def test_offaxis_moment(): function test_two_offaxis (line 312) | def test_two_offaxis(): FILE: yt/visualization/tests/test_offaxisprojection_pytestonly.py function test_sph_proj_general_offaxis (line 23) | def test_sph_proj_general_offaxis( function test_offaxisprojection_depth (line 185) | def test_offaxisprojection_depth(depth, proj_center, expected): function test_offaxisprojection_sph_defaultdepth (line 220) | def test_offaxisprojection_sph_defaultdepth(normal_vec, n_particles): FILE: yt/visualization/tests/test_particle_plot.py function setup_module (line 25) | def setup_module(): function test_particle_projection_answers (line 93) | def test_particle_projection_answers(): function test_particle_offaxis_projection_answers (line 123) | def test_particle_offaxis_projection_answers(): function test_particle_projection_filter (line 144) | def test_particle_projection_filter(): function test_particle_phase_answers (line 184) | def test_particle_phase_answers(): class TestParticlePhasePlotSave (line 216) | class TestParticlePhasePlotSave(unittest.TestCase): method setUp (line 217) | def setUp(self): method tearDown (line 222) | def tearDown(self): method test_particle_phase_plot (line 226) | def test_particle_phase_plot(self): function test_particle_phase_plot_semantics (line 284) | def test_particle_phase_plot_semantics(): function test_set_units (line 330) | def test_set_units(): function test_switch_ds (line 341) | def test_switch_ds(): class TestParticleProjectionPlotSave (line 361) | class TestParticleProjectionPlotSave(unittest.TestCase): method setUp (line 362) | def setUp(self): method tearDown (line 367) | def tearDown(self): method test_particle_plot (line 371) | def test_particle_plot(self): method test_particle_plot_ds (line 394) | def test_particle_plot_ds(self): method test_particle_plot_c (line 406) | def test_particle_plot_c(self): method test_particle_plot_wf (line 418) | def test_particle_plot_wf(self): method test_particle_plot_offaxis (line 430) | def test_particle_plot_offaxis(self): method test_creation_with_width (line 448) | def test_creation_with_width(self): function test_particle_plot_instance (line 467) | def test_particle_plot_instance(): FILE: yt/visualization/tests/test_plot_modifications.py function test_code_units_xy_labels (line 7) | def test_code_units_xy_labels(): FILE: yt/visualization/tests/test_plotwindow.py function setup_module (line 47) | def setup_module(): function simple_contour (line 152) | def simple_contour(test_obj, plot): function simple_velocity (line 156) | def simple_velocity(test_obj, plot): function simple_streamlines (line 160) | def simple_streamlines(test_obj, plot): function test_attributes (line 178) | def test_attributes(): class TestHideAxesColorbar (line 205) | class TestHideAxesColorbar(unittest.TestCase): method setUp (line 208) | def setUp(self): method tearDown (line 216) | def tearDown(self): method test_hide_show_axes (line 222) | def test_hide_show_axes(self): method test_hide_show_colorbar (line 228) | def test_hide_show_colorbar(self): method test_hide_axes_colorbar (line 234) | def test_hide_axes_colorbar(self): class TestSetWidth (line 240) | class TestSetWidth(unittest.TestCase): method setUp (line 243) | def setUp(self): method tearDown (line 248) | def tearDown(self): method _assert_05cm (line 252) | def _assert_05cm(self): method _assert_05_075cm (line 262) | def _assert_05_075cm(self): method test_set_width_one (line 272) | def test_set_width_one(self): method test_set_width_nonequal (line 279) | def test_set_width_nonequal(self): method test_twoargs_eq (line 288) | def test_twoargs_eq(self): method test_tuple_eq (line 293) | def test_tuple_eq(self): method test_tuple_of_tuples_neq (line 298) | def test_tuple_of_tuples_neq(self): class TestPlotWindowSave (line 304) | class TestPlotWindowSave(unittest.TestCase): method setUp (line 305) | def setUp(self): method tearDown (line 310) | def tearDown(self): method test_slice_plot (line 314) | def test_slice_plot(self): method test_repr_html (line 321) | def test_repr_html(self): method test_projection_plot (line 326) | def test_projection_plot(self): method test_projection_plot_ds (line 333) | def test_projection_plot_ds(self): method test_projection_plot_c (line 340) | def test_projection_plot_c(self): method test_projection_plot_wf (line 346) | def test_projection_plot_wf(self): method test_projection_plot_m (line 352) | def test_projection_plot_m(self): method test_projection_plot_bs (line 358) | def test_projection_plot_bs(self): method test_offaxis_slice_plot (line 367) | def test_offaxis_slice_plot(self): method test_offaxis_projection_plot (line 373) | def test_offaxis_projection_plot(self): method test_creation_with_width (line 379) | def test_creation_with_width(self): class TestPerFieldConfig (line 399) | class TestPerFieldConfig(unittest.TestCase): method setUp (line 402) | def setUp(self): method tearDown (line 438) | def tearDown(self): method test_units (line 448) | def test_units(self): method test_scale (line 455) | def test_scale(self): method test_cmap (line 471) | def test_cmap(self): function test_on_off_compare (line 483) | def test_on_off_compare(): function test_plot_particle_field_error (line 510) | def test_plot_particle_field_error(): function test_setup_origin (line 531) | def test_setup_origin(): function test_frb_regen (line 604) | def test_frb_regen(): function test_set_background_color (line 613) | def test_set_background_color(): function test_set_unit (line 622) | def test_set_unit(): function test_plot_2d (line 673) | def test_plot_2d(): function test_symlog_colorbar (line 707) | def test_symlog_colorbar(): function test_symlog_min_zero (line 743) | def test_symlog_min_zero(): function test_symlog_extremely_small_vals (line 766) | def test_symlog_extremely_small_vals(): function test_symlog_linthresh_gt_vmax (line 789) | def test_symlog_linthresh_gt_vmax(): function test_symlog_symmetric (line 808) | def test_symlog_symmetric(): function test_nan_data (line 822) | def test_nan_data(): function test_sanitize_valid_normal_vector (line 836) | def test_sanitize_valid_normal_vector(): function test_reject_invalid_normal_vector (line 870) | def test_reject_invalid_normal_vector(): function test_dispatch_plot_classes (line 894) | def test_dispatch_plot_classes(): function test_invalid_swap_projection (line 907) | def test_invalid_swap_projection(): function test_set_font (line 916) | def test_set_font(): FILE: yt/visualization/tests/test_profile_plots.py class TestPhasePlotAPI (line 14) | class TestPhasePlotAPI: method setup_class (line 16) | def setup_class(cls): method get_plot (line 21) | def get_plot(self): method test_phaseplot_annotate_text (line 28) | def test_phaseplot_annotate_text(self, kwargs): method test_phaseplot_set_title (line 35) | def test_phaseplot_set_title(self): method test_phaseplot_set_log (line 42) | def test_phaseplot_set_log(self): method test_phaseplot_set_unit (line 49) | def test_phaseplot_set_unit(self): method test_phaseplot_set_xlim (line 56) | def test_phaseplot_set_xlim(self): method test_phaseplot_set_ylim (line 63) | def test_phaseplot_set_ylim(self): class TestPhasePlotParticleAPI (line 70) | class TestPhasePlotParticleAPI: method setup_class (line 72) | def setup_class(cls): method get_plot (line 76) | def get_plot(self): method test_phaseplot_annotate_text (line 82) | def test_phaseplot_annotate_text(self, kwargs): method test_phaseplot_set_title (line 87) | def test_phaseplot_set_title(self): method test_phaseplot_set_log (line 92) | def test_phaseplot_set_log(self): method test_phaseplot_set_unit (line 97) | def test_phaseplot_set_unit(self): method test_phaseplot_set_xlim (line 102) | def test_phaseplot_set_xlim(self): method test_phaseplot_set_ylim (line 107) | def test_phaseplot_set_ylim(self): function test_set_units (line 113) | def test_set_units(): function test_set_labels (line 128) | def test_set_labels(): function test_create_from_dataset (line 142) | def test_create_from_dataset(): class TestAnnotations (line 170) | class TestAnnotations(unittest.TestCase): method setUpClass (line 172) | def setUpClass(cls): method tearDownClass (line 189) | def tearDownClass(cls): method test_annotations (line 193) | def test_annotations(self): method test_annotations_wrong_fields (line 205) | def test_annotations_wrong_fields(self): function test_phaseplot_set_log (line 215) | def test_phaseplot_set_log(): function test_phaseplot_showhide_colorbar_axes (line 244) | def test_phaseplot_showhide_colorbar_axes(): FILE: yt/visualization/tests/test_raw_field_slices.py class TestRawFieldSlice (line 8) | class TestRawFieldSlice: method setup_class (line 11) | def setup_class(cls): method test_raw_field_slice (line 32) | def test_raw_field_slice(self, fname): FILE: yt/visualization/tests/test_save.py function simple_sliceplot (line 15) | def simple_sliceplot(): function test_save_to_path (line 21) | def test_save_to_path(simple_sliceplot, tmp_path): function test_metadata (line 27) | def test_metadata(simple_sliceplot, tmp_path): function test_save_to_missing_path (line 37) | def test_save_to_missing_path(simple_sliceplot, tmp_path): function test_save_to_missing_path_with_file_prefix (line 48) | def test_save_to_missing_path_with_file_prefix(simple_sliceplot, tmp_path): function test_suffix_from_filename (line 60) | def test_suffix_from_filename(ext, simple_sliceplot, tmp_path): function test_suffix_clashing (line 71) | def test_suffix_clashing(ext, simple_sliceplot, tmp_path): function test_invalid_format_from_filename (line 91) | def test_invalid_format_from_filename(simple_sliceplot, tmp_path): function test_invalid_format_from_suffix (line 105) | def test_invalid_format_from_suffix(simple_sliceplot, tmp_path): FILE: yt/visualization/tests/test_set_zlim.py function test_float_vmin_then_set_unit (line 9) | def test_float_vmin_then_set_unit(): function test_set_unit_then_float_vmin (line 38) | def test_set_unit_then_float_vmin(): function test_reset_zlim (line 52) | def test_reset_zlim(): function test_set_dynamic_range_with_vmin (line 76) | def test_set_dynamic_range_with_vmin(): function test_set_dynamic_range_with_vmax (line 92) | def test_set_dynamic_range_with_vmax(): function test_set_dynamic_range_with_min (line 108) | def test_set_dynamic_range_with_min(): function test_set_dynamic_range_with_None (line 127) | def test_set_dynamic_range_with_None(): FILE: yt/visualization/tests/test_splat.py function setup_module (line 14) | def setup_module(): function test_splat (line 21) | def test_splat(): FILE: yt/visualization/volume_rendering/blenders.py function enhance (line 4) | def enhance(im, stdval=6.0, just_alpha=True): function enhance_rgba (line 16) | def enhance_rgba(im, stdval=6.0): FILE: yt/visualization/volume_rendering/camera.py function _sanitize_camera_property_units (line 15) | def _sanitize_camera_property_units(value, scene): class Camera (line 47) | class Camera(Orientation): method __init__ (line 112) | def __init__(self, scene, data_source=None, lens_type="plane-parallel"... method position (line 153) | def position(self): method position (line 168) | def position(self, value): method position (line 181) | def position(self): method width (line 185) | def width(self): method width (line 200) | def width(self, value): method width (line 206) | def width(self): method focus (line 211) | def focus(self): method focus (line 227) | def focus(self, value): method focus (line 239) | def focus(self): method resolution (line 243) | def resolution(self): method resolution (line 249) | def resolution(self, value): method resolution (line 258) | def resolution(self): method set_resolution (line 262) | def set_resolution(self, resolution): method get_resolution (line 269) | def get_resolution(self): method _get_sampler_params (line 275) | def _get_sampler_params(self, render_source): method set_lens (line 283) | def set_lens(self, lens_type): method set_defaults_from_data_source (line 310) | def set_defaults_from_data_source(self, data_source): method set_width (line 348) | def set_width(self, width): method get_width (line 363) | def get_width(self): method set_position (line 367) | def set_position(self, position, north_vector=None): method get_position (line 387) | def get_position(self): method set_focus (line 391) | def set_focus(self, new_focus): method get_focus (line 405) | def get_focus(self): method switch_orientation (line 409) | def switch_orientation(self, normal_vector=None, north_vector=None): method switch_view (line 430) | def switch_view(self, normal_vector=None, north_vector=None): method rotate (line 451) | def rotate(self, theta, rot_vector=None, rot_center=None): method pitch (line 514) | def pitch(self, theta, rot_center=None): method yaw (line 542) | def yaw(self, theta, rot_center=None): method roll (line 570) | def roll(self, theta, rot_center=None): method iter_rotate (line 598) | def iter_rotate(self, theta, n_steps, rot_vector=None, rot_center=None): method iter_move (line 639) | def iter_move(self, final, n_steps, exponential=False): method zoom (line 683) | def zoom(self, factor): method iter_zoom (line 709) | def iter_zoom(self, final, n_steps): method __repr__ (line 740) | def __repr__(self): FILE: yt/visualization/volume_rendering/camera_path.py class Keyframes (line 8) | class Keyframes: method __init__ (line 9) | def __init__( method setup_tsp (line 100) | def setup_tsp(self, niter=50000, init_temp=10.0, alpha=0.999, fixed_st... method set_times (line 133) | def set_times(self, times): method rand_seq (line 136) | def rand_seq(self): method all_pairs (line 150) | def all_pairs(self): method reversed_sections (line 158) | def reversed_sections(self, tour): method cartesian_matrix (line 178) | def cartesian_matrix(self): method tour_length (line 195) | def tour_length(self, tour): method cooling (line 209) | def cooling(self): method prob (line 215) | def prob(self, prev, next, temperature): method get_shortest_path (line 221) | def get_shortest_path(self): method create_path (line 261) | def create_path(self, npoints, path_time=None, tension=0.5, shortest_p... method write_path (line 309) | def write_path(self, filename="path.dat"): FILE: yt/visualization/volume_rendering/create_spline.py function create_spline (line 6) | def create_spline(old_x, old_y, new_x, tension=0.5, sorted=False): FILE: yt/visualization/volume_rendering/image_handling.py function export_rgba (line 7) | def export_rgba( function import_rgba (line 39) | def import_rgba(name, h5=True): function plot_channel (line 57) | def plot_channel( function plot_rgb (line 108) | def plot_rgb(image, name, label=None, label_color="w", label_size="large"): FILE: yt/visualization/volume_rendering/lens.py class Lens (line 12) | class Lens(ParallelAnalysisInterface): method __init__ (line 15) | def __init__(self): method set_camera (line 26) | def set_camera(self, camera): method new_image (line 33) | def new_image(self, camera): method setup_box_properties (line 45) | def setup_box_properties(self, camera): method set_viewpoint (line 63) | def set_viewpoint(self, camera): class PlaneParallelLens (line 72) | class PlaneParallelLens(Lens): method __init__ (line 80) | def __init__(self): method _get_sampler_params (line 83) | def _get_sampler_params(self, camera, render_source): method set_viewpoint (line 114) | def set_viewpoint(self, camera): method project_to_plane (line 123) | def project_to_plane(self, camera, pos, res=None): method __repr__ (line 139) | def __repr__(self): class PerspectiveLens (line 145) | class PerspectiveLens(Lens): method __init__ (line 152) | def __init__(self): method new_image (line 155) | def new_image(self, camera): method _get_sampler_params (line 166) | def _get_sampler_params(self, camera, render_source): method set_viewpoint (line 236) | def set_viewpoint(self, camera): method project_to_plane (line 242) | def project_to_plane(self, camera, pos, res=None): method __repr__ (line 290) | def __repr__(self): class StereoPerspectiveLens (line 295) | class StereoPerspectiveLens(Lens): method __init__ (line 303) | def __init__(self): method new_image (line 307) | def new_image(self, camera): method _get_sampler_params (line 319) | def _get_sampler_params(self, camera, render_source): method _get_positions_vectors (line 366) | def _get_positions_vectors(self, camera, disparity): method project_to_plane (line 426) | def project_to_plane(self, camera, pos, res=None): method _get_px_py_dz (line 451) | def _get_px_py_dz(self, camera, pos, res, disparity): method set_viewpoint (line 504) | def set_viewpoint(self, camera): method __repr__ (line 510) | def __repr__(self): class FisheyeLens (line 515) | class FisheyeLens(Lens): method __init__ (line 526) | def __init__(self): method setup_box_properties (line 533) | def setup_box_properties(self, camera): method new_image (line 539) | def new_image(self, camera): method _get_sampler_params (line 551) | def _get_sampler_params(self, camera, render_source): method set_viewpoint (line 578) | def set_viewpoint(self, camera): method __repr__ (line 582) | def __repr__(self): method project_to_plane (line 589) | def project_to_plane(self, camera, pos, res=None): class SphericalLens (line 626) | class SphericalLens(Lens): method __init__ (line 634) | def __init__(self): method setup_box_properties (line 640) | def setup_box_properties(self, camera): method _get_sampler_params (line 646) | def _get_sampler_params(self, camera, render_source): method set_viewpoint (line 693) | def set_viewpoint(self, camera): method project_to_plane (line 697) | def project_to_plane(self, camera, pos, res=None): class StereoSphericalLens (line 731) | class StereoSphericalLens(Lens): method __init__ (line 738) | def __init__(self): method setup_box_properties (line 745) | def setup_box_properties(self, camera): method _get_sampler_params (line 750) | def _get_sampler_params(self, camera, render_source): method set_viewpoint (line 830) | def set_viewpoint(self, camera): FILE: yt/visualization/volume_rendering/off_axis_projection.py function off_axis_projection (line 21) | def off_axis_projection( FILE: yt/visualization/volume_rendering/old_camera.py function get_corners (line 38) | def get_corners(le, re): class Camera (line 54) | class Camera(ParallelAnalysisInterface): method __init__ (line 148) | def __init__( method _setup_box_properties (line 230) | def _setup_box_properties(self, width, center, unit_vectors): method update_view_from_matrix (line 244) | def update_view_from_matrix(self, mat): method project_to_plane (line 247) | def project_to_plane(self, pos, res=None): method draw_grids (line 258) | def draw_grids(self, im, alpha=0.3, cmap=None, min_level=None, max_lev... method draw_coordinate_vectors (line 357) | def draw_coordinate_vectors(self, im, length=0.05, thickness=1): method draw_line (line 420) | def draw_line(self, im, x0, x1, color=None): method draw_domain (line 472) | def draw_domain(self, im, alpha=0.3): method draw_box (line 512) | def draw_box(self, im, le, re, color=None): method look_at (line 567) | def look_at(self, new_center, north_vector=None): method switch_orientation (line 587) | def switch_orientation(self, normal_vector=None, north_vector=None): method switch_view (line 608) | def switch_view( method new_image (line 643) | def new_image(self): method get_sampler_args (line 649) | def get_sampler_args(self, image): method get_sampler (line 676) | def get_sampler(self, args, kwargs): method finalize_image (line 695) | def finalize_image(self, image): method _render (line 704) | def _render(self, double_check, num_threads, image, sampler): method _pyplot (line 725) | def _pyplot(self): method show_tf (line 730) | def show_tf(self): method annotate (line 736) | def annotate(self, ax, enhance=True, label_fmt=None): method show_mpl (line 749) | def show_mpl(self, im, enhance=True, clear_fig=True): method draw (line 766) | def draw(self): method save_annotated (line 769) | def save_annotated( method save_image (line 799) | def save_image(self, image, fn=None, clip_ratio=None, transparent=False): method initialize_source (line 804) | def initialize_source(self): method get_information (line 809) | def get_information(self): method snapshot (line 821) | def snapshot( method show (line 874) | def show(self, clip_ratio=None): method set_default_light_dir (line 911) | def set_default_light_dir(self): method set_default_light_rgba (line 914) | def set_default_light_rgba(self): method zoom (line 917) | def zoom(self, factor): method zoomin (line 939) | def zoomin(self, final, n_steps, clip_ratio=None): method move_to (line 968) | def move_to( method rotate (line 1034) | def rotate(self, theta, rot_vector=None): method pitch (line 1074) | def pitch(self, theta): method yaw (line 1098) | def yaw(self, theta): method roll (line 1117) | def roll(self, theta): method rotation (line 1141) | def rotation(self, theta, n_steps, rot_vector=None, clip_ratio=None): class InteractiveCamera (line 1177) | class InteractiveCamera(Camera): method snapshot (line 1180) | def snapshot(self, fn=None, clip_ratio=None): method rotation (line 1190) | def rotation(self, theta, n_steps, rot_vector=None): method zoomin (line 1195) | def zoomin(self, final, n_steps): method clear_frames (line 1200) | def clear_frames(self): method save (line 1204) | def save(self, fn): method save_frames (line 1207) | def save_frames(self, basename, clip_ratio=None): class PerspectiveCamera (line 1219) | class PerspectiveCamera(Camera): method __init__ (line 1295) | def __init__(self, *args, **kwargs): method get_sampler_args (line 1298) | def get_sampler_args(self, image): method _render (line 1354) | def _render(self, double_check, num_threads, image, sampler): method finalize_image (line 1372) | def finalize_image(self, image): method project_to_plane (line 1381) | def project_to_plane(self, pos, res=None): method yaw (line 1414) | def yaw(self, theta, rot_center): function corners (line 1451) | def corners(left_edge, right_edge): class HEALpixCamera (line 1467) | class HEALpixCamera(Camera): method __init__ (line 1470) | def __init__( method new_image (line 1489) | def new_image(self): method get_sampler_args (line 1493) | def get_sampler_args(self, image): method _render (line 1519) | def _render(self, double_check, num_threads, image, sampler): method finalize_image (line 1539) | def finalize_image(self, image): method get_information (line 1542) | def get_information(self): method snapshot (line 1552) | def snapshot( method save_image (line 1593) | def save_image(self, image, fn=None, clim=None, label=None): class StereoPairCamera (line 1607) | class StereoPairCamera(Camera): method __init__ (line 1608) | def __init__(self, original_camera, relative_separation=0.005): method split (line 1613) | def split(self): class FisheyeCamera (line 1650) | class FisheyeCamera(Camera): method __init__ (line 1651) | def __init__( method get_information (line 1700) | def get_information(self): method new_image (line 1703) | def new_image(self): method get_sampler_args (line 1707) | def get_sampler_args(self, image): method finalize_image (line 1734) | def finalize_image(self, image): method _render (line 1737) | def _render(self, double_check, num_threads, image, sampler): class MosaicCamera (line 1758) | class MosaicCamera(Camera): method __init__ (line 1759) | def __init__( method build_volume (line 1844) | def build_volume( method new_image (line 1864) | def new_image(self): method _setup_box_properties (line 1870) | def _setup_box_properties(self, width, center, unit_vectors): method snapshot (line 1905) | def snapshot(self, fn=None, clip_ratio=None, double_check=False, num_t... method reduce_images (line 1940) | def reduce_images(self, im_dict): function plot_allsky_healpix (line 1961) | def plot_allsky_healpix( class ProjectionCamera (line 2007) | class ProjectionCamera(Camera): method __init__ (line 2008) | def __init__( method __del__ (line 2074) | def __del__(self): method get_sampler (line 2086) | def get_sampler(self, args, kwargs): method initialize_source (line 2093) | def initialize_source(self): method get_sampler_args (line 2099) | def get_sampler_args(self, image): method finalize_image (line 2123) | def finalize_image(self, image): method _render (line 2137) | def _render(self, double_check, num_threads, image, sampler): method save_image (line 2180) | def save_image(self, image, fn=None, clip_ratio=None): method snapshot (line 2194) | def snapshot(self, fn=None, clip_ratio=None, double_check=False, num_t... class SphericalCamera (line 2221) | class SphericalCamera(Camera): method __init__ (line 2222) | def __init__(self, *args, **kwargs): method get_sampler_args (line 2228) | def get_sampler_args(self, image): method _render (line 2266) | def _render(self, double_check, num_threads, image, sampler): method finalize_image (line 2284) | def finalize_image(self, image): class StereoSphericalCamera (line 2297) | class StereoSphericalCamera(Camera): method __init__ (line 2298) | def __init__(self, *args, **kwargs): method get_sampler_args (line 2313) | def get_sampler_args(self, image): method snapshot (line 2357) | def snapshot( method _render (line 2388) | def _render(self, double_check, num_threads, image, sampler, msg): function off_axis_projection (line 2417) | def off_axis_projection( FILE: yt/visualization/volume_rendering/render_source.py function set_raytracing_engine (line 47) | def set_raytracing_engine( function _init_raytracing_engine (line 97) | def _init_raytracing_engine(ytcfg: YTConfig) -> None: function invalidate_volume (line 105) | def invalidate_volume(f): function validate_volume (line 121) | def validate_volume(f): class RenderSource (line 140) | class RenderSource(ParallelAnalysisInterface, abc.ABC): method __init__ (line 149) | def __init__(self): method render (line 155) | def render(self, camera, zbuffer=None): method _validate (line 159) | def _validate(self): class OpaqueSource (line 163) | class OpaqueSource(RenderSource): method __init__ (line 170) | def __init__(self): method set_zbuffer (line 174) | def set_zbuffer(self, zbuffer): function create_volume_source (line 178) | def create_volume_source(data_source, field): class VolumeSource (line 190) | class VolumeSource(RenderSource, abc.ABC): method __init__ (line 238) | def __init__(self, data_source, field): method transfer_function (line 263) | def transfer_function(self): method transfer_function (line 282) | def transfer_function(self, value): method volume (line 305) | def volume(self): method volume (line 314) | def volume(self, value): method volume (line 323) | def volume(self): method field (line 328) | def field(self): method field (line 334) | def field(self, value): method log_field (line 354) | def log_field(self): method log_field (line 360) | def log_field(self, value): method use_ghost_zones (line 366) | def use_ghost_zones(self): method use_ghost_zones (line 373) | def use_ghost_zones(self, value): method weight_field (line 377) | def weight_field(self): method weight_field (line 386) | def weight_field(self, value): method set_transfer_function (line 389) | def set_transfer_function(self, transfer_function): method _validate (line 394) | def _validate(self): method set_volume (line 399) | def set_volume(self, volume): method set_field (line 404) | def set_field(self, field): method set_log (line 416) | def set_log(self, log_field): method set_weight_field (line 433) | def set_weight_field(self, weight_field): method set_use_ghost_zones (line 450) | def set_use_ghost_zones(self, use_ghost_zones): method set_sampler (line 465) | def set_sampler(self, camera, interpolated=True): method _get_volume (line 491) | def _get_volume(self): method render (line 501) | def render(self, camera, zbuffer=None): method finalize_image (line 522) | def finalize_image(self, camera, image): method __repr__ (line 539) | def __repr__(self): class KDTreeVolumeSource (line 545) | class KDTreeVolumeSource(VolumeSource): method _get_volume (line 548) | def _get_volume(self): method render (line 563) | def render(self, camera, zbuffer=None): method finalize_image (line 608) | def finalize_image(self, camera, image): class OctreeVolumeSource (line 619) | class OctreeVolumeSource(VolumeSource): method __init__ (line 622) | def __init__(self, *args, **kwa): method _get_volume (line 626) | def _get_volume(self): method render (line 641) | def render(self, camera, zbuffer=None): class MeshSource (line 696) | class MeshSource(OpaqueSource): method __init__ (line 722) | def __init__(self, data_source, field): method cmap (line 760) | def cmap(self): method cmap (line 769) | def cmap(self, cmap_name): method color_bounds (line 775) | def color_bounds(self): method color_bounds (line 786) | def color_bounds(self, bounds): method _validate (line 791) | def _validate(self): method build_volume_embree (line 799) | def build_volume_embree(self): method build_volume_bvh (line 838) | def build_volume_bvh(self): method render (line 867) | def render(self, camera, zbuffer=None): method finalize_image (line 919) | def finalize_image(self, camera): method annotate_mesh_lines (line 927) | def annotate_mesh_lines(self, color=None, alpha=1.0): method apply_colormap (line 960) | def apply_colormap(self): method __repr__ (line 984) | def __repr__(self): class PointSource (line 989) | class PointSource(OpaqueSource): method __init__ (line 1038) | def __init__(self, positions, colors=None, color_stride=1, radii=None): method _validate (line 1059) | def _validate(self): method render (line 1062) | def render(self, camera, zbuffer=None): method __repr__ (line 1101) | def __repr__(self): class LineSource (line 1106) | class LineSource(OpaqueSource): method __init__ (line 1164) | def __init__(self, positions, colors=None, color_stride=1): method _validate (line 1184) | def _validate(self): method render (line 1187) | def render(self, camera, zbuffer=None): method __repr__ (line 1252) | def __repr__(self): class BoxSource (line 1257) | class BoxSource(LineSource): method __init__ (line 1293) | def __init__(self, left_edge, right_edge, color=None): method _validate (line 1314) | def _validate(self): class GridSource (line 1318) | class GridSource(LineSource): method __init__ (line 1374) | def __init__( class CoordinateVectorSource (line 1432) | class CoordinateVectorSource(OpaqueSource): method __init__ (line 1468) | def __init__(self, colors=None, alpha=1.0, *, thickness=1): method _validate (line 1480) | def _validate(self): method render (line 1483) | def render(self, camera, zbuffer=None): method __repr__ (line 1591) | def __repr__(self): FILE: yt/visualization/volume_rendering/scene.py class Scene (line 30) | class Scene: method __init__ (line 74) | def __init__(self): method get_source (line 83) | def get_source(self, source_num=0): method __getitem__ (line 87) | def __getitem__(self, item): method opaque_sources (line 93) | def opaque_sources(self): method transparent_sources (line 105) | def transparent_sources(self): method add_source (line 114) | def add_source(self, render_source, keyname=None): method __setitem__ (line 157) | def __setitem__(self, key, value): method _set_new_unit_registry (line 160) | def _set_new_unit_registry(self, input_registry): method render (line 179) | def render(self, camera=None): method _render_on_demand (line 227) | def _render_on_demand(self, render): method _get_render_sources (line 246) | def _get_render_sources(self): method _setup_save (line 249) | def _setup_save(self, fname, render) -> str: method save (line 271) | def save( method save_annotated (line 361) | def save_annotated( method _show_mpl (line 523) | def _show_mpl(self, im, sigma_clip=None, dpi=100): method _annotate (line 544) | def _annotate(self, ax, tf, source, label="", label_fmt=None, label_fo... method _annotate_multi (line 561) | def _annotate_multi(self, ax, tf, source, label, label_fmt, label_font... method _validate (line 574) | def _validate(self): method composite (line 581) | def composite(self, camera=None): method add_camera (line 627) | def add_camera(self, data_source=None, lens_type="plane-parallel", aut... method camera (line 690) | def camera(self): method camera (line 699) | def camera(self, value): method camera (line 706) | def camera(self): method unit_registry (line 711) | def unit_registry(self): method unit_registry (line 721) | def unit_registry(self, value): method unit_registry (line 735) | def unit_registry(self): method set_camera (line 739) | def set_camera(self, camera): method get_camera (line 747) | def get_camera(self): method annotate_domain (line 755) | def annotate_domain(self, ds, color=None): method annotate_grids (line 787) | def annotate_grids( method annotate_mesh_lines (line 834) | def annotate_mesh_lines(self, color=None, alpha=1.0): method annotate_axes (line 854) | def annotate_axes(self, colors=None, alpha=1.0, *, thickness=1): method show (line 888) | def show(self, sigma_clip=None): method arr (line 922) | def arr(self): method quan (line 965) | def quan(self): method _repr_png_ (line 1007) | def _repr_png_(self): method __repr__ (line 1016) | def __repr__(self): FILE: yt/visualization/volume_rendering/tests/test_camera_attributes.py function test_scene_and_camera_attributes (line 18) | def test_scene_and_camera_attributes(): FILE: yt/visualization/volume_rendering/tests/test_composite.py function setup_module (line 18) | def setup_module(): class CompositeVRTest (line 25) | class CompositeVRTest(TestCase): method setUp (line 29) | def setUp(self): method tearDown (line 39) | def tearDown(self): method test_composite_vr (line 44) | def test_composite_vr(self): FILE: yt/visualization/volume_rendering/tests/test_lenses.py function setup_module (line 12) | def setup_module(): class LensTest (line 19) | class LensTest(TestCase): method setUp (line 23) | def setUp(self): method tearDown (line 36) | def tearDown(self): method test_perspective_lens (line 41) | def test_perspective_lens(self): method test_stereoperspective_lens (line 51) | def test_stereoperspective_lens(self): method test_fisheye_lens (line 62) | def test_fisheye_lens(self): method test_plane_lens (line 76) | def test_plane_lens(self): method test_spherical_lens (line 88) | def test_spherical_lens(self): method test_stereospherical_lens (line 99) | def test_stereospherical_lens(self): FILE: yt/visualization/volume_rendering/tests/test_mesh_render.py function with_pyembree_ray_tracing_engine (line 18) | def with_pyembree_ray_tracing_engine(): function with_default_ray_tracing_engine (line 38) | def with_default_ray_tracing_engine(): class TestMeshRenderDefaultEngine (line 46) | class TestMeshRenderDefaultEngine: method setup_class (line 48) | def setup_class(cls): method test_mesh_render_default_engine (line 74) | def test_mesh_render_default_engine(self, kind, fname): class TestMeshRenderPyembreeEngine (line 81) | class TestMeshRenderPyembreeEngine: method setup_class (line 83) | def setup_class(cls): method test_mesh_render_pyembree_engine (line 109) | def test_mesh_render_pyembree_engine(self, kind, fname): class TestHex8DefaultEngine (line 119) | class TestHex8DefaultEngine: method setup_class (line 122) | def setup_class(cls): method test_mesh_render_default_engine_hex8_connect1_diffused (line 131) | def test_mesh_render_default_engine_hex8_connect1_diffused(self): method test_mesh_render_default_engine_hex8_connect2_convected (line 137) | def test_mesh_render_default_engine_hex8_connect2_convected(self): class TestHex8PyembreeEngine (line 144) | class TestHex8PyembreeEngine: method setup_class (line 147) | def setup_class(cls): method test_mesh_render_pyembree_engine_hex8_connect1_diffused (line 156) | def test_mesh_render_pyembree_engine_hex8_connect1_diffused(self): method test_mesh_render_pyembree_engine_hex8_connect2_convected (line 162) | def test_mesh_render_pyembree_engine_hex8_connect2_convected(self): class TestTet4DefaultEngine (line 172) | class TestTet4DefaultEngine: method setup_class (line 175) | def setup_class(cls): method test_mesh_render_default_engine_tet4 (line 184) | def test_mesh_render_default_engine_tet4(self): class TestTet4PyembreeEngine (line 191) | class TestTet4PyembreeEngine: method setup_class (line 194) | def setup_class(cls): method test_mesh_render_pyembree_engine_tet4 (line 203) | def test_mesh_render_pyembree_engine_tet4(self): class TestHex20DefaultEngine (line 213) | class TestHex20DefaultEngine: method setup_class (line 216) | def setup_class(cls): method test_mesh_render_default_engine_hex20 (line 225) | def test_mesh_render_default_engine_hex20(self): class TestHex20PyembreeEngine (line 232) | class TestHex20PyembreeEngine: method setup_class (line 235) | def setup_class(cls): method test_mesh_render_pyembree_engine_hex20 (line 244) | def test_mesh_render_pyembree_engine_hex20(self): class TestWedge6DefaultEngine (line 254) | class TestWedge6DefaultEngine: method setup_class (line 257) | def setup_class(cls): method test_mesh_render_default_engine_wedge6 (line 266) | def test_mesh_render_default_engine_wedge6(self): class TestWedge6PyembreeEngine (line 273) | class TestWedge6PyembreeEngine: method setup_class (line 276) | def setup_class(cls): method test_mesh_render_pyembree_engine_wedge6 (line 285) | def test_mesh_render_pyembree_engine_wedge6(self): class TestTet10DefaultEngine (line 295) | class TestTet10DefaultEngine: method setup_class (line 298) | def setup_class(cls): method test_mesh_render_default_engine_tet10 (line 307) | def test_mesh_render_default_engine_tet10(self): class TestTet10PyembreeEngine (line 314) | class TestTet10PyembreeEngine: method setup_class (line 317) | def setup_class(cls): method test_mesh_render_pyembree_engine_tet10 (line 326) | def test_mesh_render_pyembree_engine_tet10(self): function test_perspective_mesh_render_default (line 335) | def test_perspective_mesh_render_default(): function test_perspective_mesh_render_pyembree (line 354) | def test_perspective_mesh_render_pyembree(): function test_composite_mesh_render_default (line 373) | def test_composite_mesh_render_default(): function test_composite_mesh_render_pyembree (line 398) | def test_composite_mesh_render_pyembree(): FILE: yt/visualization/volume_rendering/tests/test_off_axis_SPH.py function test_no_rotation (line 13) | def test_no_rotation(): function test_basic_rotation_1 (line 48) | def test_basic_rotation_1(): function test_basic_rotation_2 (line 84) | def test_basic_rotation_2(): function test_basic_rotation_3 (line 123) | def test_basic_rotation_3(): function test_basic_rotation_4 (line 154) | def test_basic_rotation_4(): function test_center_1 (line 193) | def test_center_1(): function test_center_2 (line 223) | def test_center_2(): function test_center_3 (line 250) | def test_center_3(): function find_compare_maxima (line 274) | def find_compare_maxima(expected_maxima, buf, resolution, width): FILE: yt/visualization/volume_rendering/tests/test_points.py function setup_module (line 16) | def setup_module(): class PointsVRTest (line 23) | class PointsVRTest(TestCase): method setUp (line 27) | def setUp(self): method tearDown (line 37) | def tearDown(self): method test_points_vr (line 42) | def test_points_vr(self): FILE: yt/visualization/volume_rendering/tests/test_save_render.py function setup_module (line 10) | def setup_module(): class SaveRenderTest (line 17) | class SaveRenderTest(TestCase): method setUp (line 22) | def setUp(self): method tearDown (line 27) | def tearDown(self): method test_save_render (line 31) | def test_save_render(self): FILE: yt/visualization/volume_rendering/tests/test_scene.py function setup_module (line 16) | def setup_module(): class RotationTest (line 23) | class RotationTest(TestCase): method setUp (line 27) | def setUp(self): method tearDown (line 36) | def tearDown(self): method test_rotation (line 41) | def test_rotation(self): function test_annotations (line 82) | def test_annotations(): FILE: yt/visualization/volume_rendering/tests/test_sigma_clip.py function setup_module (line 10) | def setup_module(): class SigmaClipTest (line 17) | class SigmaClipTest(TestCase): method setUp (line 21) | def setUp(self): method tearDown (line 30) | def tearDown(self): method test_sigma_clip (line 35) | def test_sigma_clip(self): FILE: yt/visualization/volume_rendering/tests/test_simple_vr.py function setup_module (line 10) | def setup_module(): class SimpleVRTest (line 17) | class SimpleVRTest(TestCase): method setUp (line 21) | def setUp(self): method tearDown (line 30) | def tearDown(self): method test_simple_vr (line 35) | def test_simple_vr(self): FILE: yt/visualization/volume_rendering/tests/test_varia.py function setup_module (line 13) | def setup_module(): class VariousVRTests (line 20) | class VariousVRTests(TestCase): method setUp (line 24) | def setUp(self): method tearDown (line 35) | def tearDown(self): method test_simple_scene_creation (line 41) | def test_simple_scene_creation(self): method test_modify_transfer_function (line 44) | def test_modify_transfer_function(self): method test_multiple_fields (line 54) | def test_multiple_fields(self): method test_rotation_volume_rendering (line 62) | def test_rotation_volume_rendering(self): method test_simple_volume_rendering (line 68) | def test_simple_volume_rendering(self): method test_lazy_volume_source_construction (line 71) | def test_lazy_volume_source_construction(self): FILE: yt/visualization/volume_rendering/tests/test_vr_cameras.py function setup_module (line 22) | def setup_module(): class CameraTest (line 29) | class CameraTest(TestCase): method setUp (line 33) | def setUp(self): method tearDown (line 49) | def tearDown(self): method setup_transfer_function (line 54) | def setup_transfer_function(self, camera_type): method test_camera (line 65) | def test_camera(self): method test_data_source_camera (line 78) | def test_data_source_camera(self): method test_perspective_camera (line 95) | def test_perspective_camera(self): method test_interactive_camera (line 111) | def test_interactive_camera(self): method test_projection_camera (line 127) | def test_projection_camera(self): method test_stereo_camera (line 134) | def test_stereo_camera(self): method test_camera_movement (line 149) | def test_camera_movement(self): method test_fisheye (line 188) | def test_fisheye(self): FILE: yt/visualization/volume_rendering/tests/test_vr_orientation.py function scene_to_mpl_figure (line 17) | def scene_to_mpl_figure(scene): class TestOrientation (line 33) | class TestOrientation: method setup_class (line 35) | def setup_class(cls): method set_camera (line 46) | def set_camera(cls, lens_type): method test_vr_orientation_lense_type (line 64) | def test_vr_orientation_lense_type(self, lens_type): method test_vr_orientation_yaw (line 74) | def test_vr_orientation_yaw(self): method test_vr_orientation_pitch (line 81) | def test_vr_orientation_pitch(self): method test_vr_orientation_roll (line 88) | def test_vr_orientation_roll(self): method test_vr_orientation_off_axis_projection (line 95) | def test_vr_orientation_off_axis_projection(self): FILE: yt/visualization/volume_rendering/tests/test_zbuff.py class FakeOpaqueSource (line 18) | class FakeOpaqueSource(OpaqueSource): method render (line 20) | def render(self, camera, zbuffer=None): method _validate (line 23) | def _validate(self): function setup_module (line 27) | def setup_module(): class ZBufferTest (line 34) | class ZBufferTest(TestCase): method setUp (line 38) | def setUp(self): method tearDown (line 48) | def tearDown(self): method test_composite_vr (line 53) | def test_composite_vr(self): method test_nonrectangular_add (line 87) | def test_nonrectangular_add(self): method test_rectangular_add (line 109) | def test_rectangular_add(self): FILE: yt/visualization/volume_rendering/transfer_function_helper.py class TransferFunctionHelper (line 10) | class TransferFunctionHelper: method __init__ (line 29) | def __init__(self, ds): method set_bounds (line 38) | def set_bounds(self, bounds=None): method set_field (line 62) | def set_field(self, field): method set_log (line 75) | def set_log(self, log): method build_transfer_function (line 88) | def build_transfer_function(self): method setup_default (line 117) | def setup_default(self): method plot (line 129) | def plot(self, fn=None, profile_field=None, profile_weight=None): method setup_profile (line 214) | def setup_profile(self, profile_field=None, profile_weight=None): FILE: yt/visualization/volume_rendering/transfer_functions.py class TransferFunction (line 8) | class TransferFunction: method __init__ (line 34) | def __init__(self, x_bounds, nbins=256): method add_gaussian (line 46) | def add_gaussian(self, location, width, height): method add_line (line 81) | def add_line(self, start, stop): method add_step (line 121) | def add_step(self, start, stop, value): method add_filtered_planck (line 163) | def add_filtered_planck(self, wavelength, trans): method plot (line 185) | def plot(self, filename): method show (line 213) | def show(self): method clear (line 236) | def clear(self): method __repr__ (line 240) | def __repr__(self): class MultiVariateTransferFunction (line 249) | class MultiVariateTransferFunction: method __init__ (line 268) | def __init__(self, grey_opacity=False): method add_field_table (line 279) | def add_field_table(self, table, field_id, weight_field_id=-1, weight_... method link_channels (line 330) | def link_channels(self, table_id, channels=0): class ColorTransferFunction (line 363) | class ColorTransferFunction(MultiVariateTransferFunction): method __init__ (line 385) | def __init__(self, x_bounds, nbins=256, grey_opacity=False): method add_gaussian (line 410) | def add_gaussian(self, location, width, height): method add_step (line 447) | def add_step(self, start, stop, value): method plot (line 488) | def plot(self, filename): method show (line 548) | def show(self, ax=None): method vert_cbar (line 607) | def vert_cbar( method sample_colormap (line 700) | def sample_colormap(self, v, w, alpha=None, colormap="gist_stern", col... method map_to_colormap (line 752) | def map_to_colormap( method add_layers (line 822) | def add_layers( method get_colormap_image (line 896) | def get_colormap_image(self, height, width): method clear (line 905) | def clear(self): method __repr__ (line 910) | def __repr__(self): class ProjectionTransferFunction (line 921) | class ProjectionTransferFunction(MultiVariateTransferFunction): method __init__ (line 945) | def __init__(self, x_bounds=(-1e60, 1e60), n_fields=1): class PlanckTransferFunction (line 964) | class PlanckTransferFunction(MultiVariateTransferFunction): method __init__ (line 978) | def __init__( method _normalize (line 1006) | def _normalize(self): FILE: yt/visualization/volume_rendering/utils.py function data_source_or_all (line 22) | def data_source_or_all(data_source): function new_mesh_sampler (line 34) | def new_mesh_sampler(camera, render_source, engine): function new_volume_render_sampler (line 55) | def new_volume_render_sampler(camera, render_source): function new_interpolated_projection_sampler (line 90) | def new_interpolated_projection_sampler(camera, render_source): function new_projection_sampler (line 115) | def new_projection_sampler(camera, render_source): function get_corners (line 142) | def get_corners(le, re): function ensure_code_unit_params (line 158) | def ensure_code_unit_params(params): FILE: yt/visualization/volume_rendering/volume_rendering.py function create_scene (line 8) | def create_scene(data_source, field=None, lens_type="plane-parallel"): function volume_render (line 72) | def volume_render( FILE: yt/visualization/volume_rendering/zbuffer_array.py class ZBuffer (line 4) | class ZBuffer: method __init__ (line 37) | def __init__(self, rgba, z): method __add__ (line 44) | def __add__(self, other): method __iadd__ (line 59) | def __iadd__(self, other): method __eq__ (line 65) | def __eq__(self, other): method paint (line 71) | def paint(self, ind, value, z):