Analysis and Visualization with Yt

Analysis and Visualization with Yt

Analysis and Visualization with yt Matthew Turk UIUC School of Information Sciences UIUC Astronomy yt-project.org hub.yt Layers of Representation Bit Layers of Representation Data Bit Layers of Representation Model Data Bit yt-project.org Volumetric analysis and visualization Jill Naiman, AJ Christensen, Kalina Borkiewicz ytini.com the yt project ● Python-based (C, Cython, etc) ● Community developed ○ NumFOCUS FSA ○ Code of Conduct ○ Governance structure ○ 100+ contributors ○ Volumetric and non-spatial data ● Used in nearly 300 papers ● Grids, particles, octrees, and unstructured meshes ● Arbitrary geometric representations ● Minimize time to inquiry Ingestion Ingestion Representation Ingestion Representation Analysis Ingestion Representation Analysis Visualization Community Ingestion Representation Analysis Visualization Project Members Kenza Arraki Andrew Myers Corentin Cadiou Jill Naiman Brian Crosby Jeff Oishi Bili Dong Brian O'Shea Hilary Egan Douglas Rudd Nathan Goldbaum Anthony Scopatz Cameron Hummels Sam Skillman Suoqing Ji Stephen Skory Allyson Julian Britton Smith Ben Keller Casey Stark Kacper Kowalik Matthew Turk Sam Leitner John Wise Alex Lindsay Michael Zingale Chris Malone John ZuHone About 100 contributors... Data Data yt Some Simulation Layers of Representation Model Data Bit ART Maestro ARTIO MOAB Athena Nyx Carpet OWLS Castro OWLS-Subfind Chombo PKDGrav Eagle PLUTO Enzo RAMSES ExodusII Rockstar FITS SDF FLASH Stream HTTP Gadget Stream Grids Gadget-FOF Stream Octree Gasoline Stream Particles GDF Stream Unstructured ART Maestro ARTIO MOAB Athena Nyx Carpet OWLS Castro OWLS-Subfind Chombo PKDGrav Eagle PLUTO Enzo RAMSES ExodusII Rockstar FITS SDF FLASH Stream HTTP Gadget Stream Grids Gadget-FOF Stream Octree Gasoline Stream Particles GDF Stream Unstructured ART Maestro ARTIO MOAB Athena Nyx Carpet OWLS Castro OWLS-Subfind Chombo PKDGrav Eagle PLUTO Enzo RAMSES ExodusII Rockstar FITS SDF FLASH Stream HTTP Gadget Stream Grids Gadget-FOF Stream Octree Gasoline Stream Particles GDF Stream Unstructured ART Maestro ARTIO MOAB Athena Nyx Carpet OWLS Castro OWLS-Subfind Chombo PKDGrav Eagle PLUTO Enzo RAMSES ExodusII Rockstar FITS SDF FLASH Stream HTTP Gadget Stream Grids Gadget-FOF Stream Octree Gasoline Stream Particles GDF Stream Unstructured ART Maestro ARTIO MOAB Athena Nyx Carpet OWLS Castro OWLS-Subfind Chombo PKDGrav Eagle PLUTO Enzo RAMSES ExodusII Rockstar FITS SDF FLASH Stream HTTP Gadget Stream Grids Gadget-FOF Stream Octree Gasoline Stream Particles GDF Stream Unstructured Some Simulation Some SimulationSelector Selected Data Selected Layers of Representation Model Data Bit Low-Level Operations Data Low-Level Operations Data Low-Level Operations Chunk Chunk Chunk Chunk Chunk Chunk Chunk Chunk Chunk Data Selected Chunk Chunk Chunk Chunk Chunk Chunk Chunk Chunk Chunk Low-Level Operations Chunk Low-Level Operations Chunk Low-Level Operations Chunk Chunk Chunk Chunk Chunk Chunk Chunk Chunk Chunk Chunk Low-Level Operations Cells Chunk Chunk Chunk Particles Chunk Chunk Chunk Chunk Chunk Chunk Elements Layers of Representation Model Data Bit Data Representation ● Coordinate Handling ○ Cartesian ○ Cylindrical ○ Spherical (geographic, tomographic) ● Symbolic Units ● Derived fields ○ Dependency calculation ○ Arithmetic and spatial “Fields” Representation of state. “Fields” Representation of state. ● Name ● Units ● Context ● Prescription “Fields” Representation of state. Primitive “Fields” Representation of state. Primitive Derived “Fields” mv2 Arithmetic Operations E = 2 “Fields” @derived_field("energy", units="erg") def energy(field, data): Arithmetic Operations E = 0.5 * (data["mass"] * data["velocity_magnitude"]**2) return E “Fields” δV δV δV Spatial Operations div V = x + y + z δx δy δz “Fields” @derived_field("velocity_divergence", units="1/s", validators=[ValidateSpatial(1)]) def divergence(field, data): dx = data["index", "dx"] dy = data["index", "dy"] dz = data["index", "dz"] Spatial Operations f = data["velocity_x"][sl_r,1:-1,1:-1]/ds f -= data["velocity_x"][sl_l ,1:-1,1:-1]/ds f += data["velocity_y"][1:-1,sl_r,1:-1]/ds f -= data["velocity_y"][1:-1,sl_l ,1:-1]/ds f += data["velocity_z"][1:-1,1:-1,sl_r]/ds f -= data["velocity_z"][1:-1,1:-1,sl_l ]/ds return f Mid-Level Operations x = Mid-Level Operations x = m s-1 m/s Mid-Level Operations m x s-1 = m/s Symbolic manipulation and pragmatic ontologies Semantically-meaningful Data m x s-1 = m/s Symbolic manipulation and pragmatic ontologies Semantically-meaningful Data m x s-1 = m/s Symbolic manipulation and pragmatic ontologies 43 primitive fields 363 derived fields 35 distinct units 2.5 primitive fields per derived High-Level Operations Chunk High-Level Operations Chunk High-Level Operations Chunk High-Level Operations Chunk Chunk Chunk Chunk Chunk Chunk Chunk Chunk Chunk Imaging and volume tools ● Volumetric segmentation ○ Parallel ○ Irregular resolution data ● Marching cubes ● Ray-tracing ○ Radiative transfer ○ Volume rendering ● Rasterization / pixelization ○ Coordinate systems ○ Discretization Time Location Time Location Time Location Time Location Temperature Density Turk et al 2009 Simulation Disk Simulation libyt Disk Analysis Hsi-Yu Schive f(x,y,z) First Order Alex Lindsay, Andrew Myers Second Order Alex Lindsay, Andrew Myers Approximate Second Order Alex Lindsay, Andrew Myers Approximate Second Order Alex Lindsay, Andrew Myers Compressed bitmap indices Compressed bitmap indices Compressed bitmap indices Spatial Tree Compressed bitmap indices Lang & Turk, 2016 Community ● Not the biggest, not the smallest, but active ○ 375 on the “users” mailing list ○ 115 on the “dev” mailing list ● Code ○ Peer review ○ Mentorship ○ Continuous testing system Community ● How can we increase diversity? ● How can we foster careers? ● How can we lower barriers? What are our core values? Technically Easy Socially Challenging Socially Easy Technically Challenging Functional Detrimental Humanitarian Problematic product versus project product versus project product versus project product versus project “the thing” product versus project “the people” Thank you. [email protected] http://yt-project.org/ http://dxl.ncsa.illinois.edu/ http://sites.google.com/site/matthewturk/ Three Options: $ docker pull xarthisius/ythub-jupyter $ docker run --rm -ti -p 8888:8888 xarthisius/ythub-jupyter $ conda install -c conda-forge yt yt-project.org and click on “Get yt”.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    96 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us