{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "%matplotlib inline\n", "\n", "import matplotlib.pyplot as plt\n", "import numpy as np\n", "import pandas as pd\n", "import yt\n", "from ipywidgets import interact, interactive, fixed\n", "import ipywidgets as widgets\n", "from IPython.display import display" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "yt : [INFO ] 2020-06-19 18:21:00,166 Parameters: current_time = 1.900039998292331e-08\n", "yt : [INFO ] 2020-06-19 18:21:00,167 Parameters: domain_dimensions = [64 64 1]\n", "yt : [INFO ] 2020-06-19 18:21:00,168 Parameters: domain_left_edge = [-0.2 -0.6 0. ]\n", "yt : [INFO ] 2020-06-19 18:21:00,170 Parameters: domain_right_edge = [0.2 0.6 1. ]\n", "yt : [INFO ] 2020-06-19 18:21:00,170 Parameters: cosmological_simulation = 0.0\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "Field List:\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "yt : [INFO ] 2020-06-19 18:21:00,976 xlim = -0.200000 0.200000\n", "yt : [INFO ] 2020-06-19 18:21:00,977 ylim = -0.600000 0.600000\n", "yt : [INFO ] 2020-06-19 18:21:00,978 xlim = -0.200000 0.200000\n", "yt : [INFO ] 2020-06-19 18:21:00,979 ylim = -0.600000 0.600000\n", "yt : [INFO ] 2020-06-19 18:21:00,981 Making a fixed resolution buffer of (('flash', 'dens')) 800 by 800\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "[('flash', 'dens'), ('flash', 'depo'), ('flash', 'kapa'), ('flash', 'magx'), ('flash', 'magy'), ('flash', 'magz'), ('flash', 'pres'), ('flash', 'sumy'), ('flash', 'tele'), ('flash', 'tion'), ('flash', 'trad'), ('flash', 'velx'), ('flash', 'ye')]\n", "Derived Field List:\n", "[('flash', 'abar'), ('flash', 'cell_volume'), ('flash', 'dens'), ('flash', 'depo'), ('flash', 'dx'), ('flash', 'dy'), ('flash', 'dz'), ('flash', 'edens'), ('flash', 'kapa'), ('flash', 'magx'), ('flash', 'magy'), ('flash', 'magz'), ('flash', 'nele'), ('flash', 'nion'), ('flash', 'path_element_x'), ('flash', 'path_element_y'), ('flash', 'path_element_z'), ('flash', 'pres'), ('flash', 'sumy'), ('flash', 'tele'), ('flash', 'tion'), ('flash', 'trad'), ('flash', 'velx'), ('flash', 'vertex_x'), ('flash', 'vertex_y'), ('flash', 'vertex_z'), ('flash', 'x'), ('flash', 'y'), ('flash', 'ye'), ('flash', 'z'), ('gas', 'H_nuclei_density'), ('gas', 'He_nuclei_density'), ('gas', 'alfven_speed'), ('gas', 'averaged_density'), ('gas', 'baroclinic_vorticity_magnitude'), ('gas', 'baroclinic_vorticity_x'), ('gas', 'baroclinic_vorticity_y'), ('gas', 'baroclinic_vorticity_z'), ('gas', 'cell_mass'), ('gas', 'cell_volume'), ('gas', 'density'), ('gas', 'density_gradient_magnitude'), ('gas', 'density_gradient_x'), ('gas', 'density_gradient_y'), ('gas', 'density_gradient_z'), ('gas', 'dx'), ('gas', 'dy'), ('gas', 'dynamical_time'), ('gas', 'dz'), ('gas', 'emission_measure'), ('gas', 'magnetic_energy'), ('gas', 'magnetic_field_magnitude'), ('gas', 'magnetic_field_poloidal'), ('gas', 'magnetic_field_strength'), ('gas', 'magnetic_field_toroidal'), ('gas', 'magnetic_field_x'), ('gas', 'magnetic_field_y'), ('gas', 'magnetic_field_z'), ('gas', 'magnetic_pressure'), ('gas', 'mean_molecular_weight'), ('gas', 'number_density'), ('gas', 'path_element_x'), ('gas', 'path_element_y'), ('gas', 'path_element_z'), ('gas', 'plasma_beta'), ('gas', 'pressure'), ('gas', 'pressure_gradient_magnitude'), ('gas', 'pressure_gradient_x'), ('gas', 'pressure_gradient_y'), ('gas', 'pressure_gradient_z'), ('gas', 'relative_magnetic_field_x'), ('gas', 'relative_magnetic_field_y'), ('gas', 'relative_magnetic_field_z'), ('gas', 'relative_velocity_x'), ('gas', 'sound_speed'), ('gas', 'velocity_x'), ('gas', 'vertex_x'), ('gas', 'vertex_y'), ('gas', 'vertex_z'), ('gas', 'x'), ('gas', 'y'), ('gas', 'z'), ('index', 'cell_volume'), ('index', 'cylindrical_r'), ('index', 'cylindrical_radius'), ('index', 'cylindrical_theta'), ('index', 'cylindrical_z'), ('index', 'disk_angle'), ('index', 'dx'), ('index', 'dy'), ('index', 'dz'), ('index', 'grid_indices'), ('index', 'grid_level'), ('index', 'height'), ('index', 'ones'), ('index', 'ones_over_dx'), ('index', 'path_element_x'), ('index', 'path_element_y'), ('index', 'path_element_z'), ('index', 'radius'), ('index', 'spherical_phi'), ('index', 'spherical_r'), ('index', 'spherical_radius'), ('index', 'spherical_theta'), ('index', 'vertex_x'), ('index', 'vertex_y'), ('index', 'vertex_z'), ('index', 'virial_radius_fraction'), ('index', 'x'), ('index', 'y'), ('index', 'z'), ('index', 'zeros')]\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "yt : [WARNING ] 2020-06-19 18:21:02,304 Supplied id_loc but draw_ids is False. Not drawing grid ids\n", "yt : [WARNING ] 2020-06-19 18:21:02,318 Supplied id_loc but draw_ids is False. Not drawing grid ids\n", "yt : [WARNING ] 2020-06-19 18:21:02,332 Supplied id_loc but draw_ids is False. Not drawing grid ids\n", "yt : [WARNING ] 2020-06-19 18:21:02,348 Supplied id_loc but draw_ids is False. Not drawing grid ids\n", "yt : [WARNING ] 2020-06-19 18:21:02,362 Supplied id_loc but draw_ids is False. Not drawing grid ids\n", "yt : [WARNING ] 2020-06-19 18:21:02,372 Supplied id_loc but draw_ids is False. Not drawing grid ids\n", "yt : [WARNING ] 2020-06-19 18:21:02,380 Supplied id_loc but draw_ids is False. Not drawing grid ids\n", "yt : [WARNING ] 2020-06-19 18:21:02,389 Supplied id_loc but draw_ids is False. Not drawing grid ids\n", "yt : [WARNING ] 2020-06-19 18:21:02,398 Supplied id_loc but draw_ids is False. Not drawing grid ids\n" ] }, { "data": { "text/html": [ "