arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1811.07414astro-ph.IMastro-ph.CO
收藏

一个可视化工具包的仿真代码Arepo

A visualization toolkit for the simulation code Arepo

Thomas H. Greif

摘要:

在本文中,我描述了可视化工具Sator,它的目的是读取,分析和可视化模拟数据的移动网格代码Arepo。它是用Python编写的,采用基于Tkinter模块的图形用户界面,提供交互式和直观的用户体验。支持所有三种快照格式,包括HDF5格式。单个快照字段(例如单元坐标)仅在需要时交互读取。用于绘图的细化字段(例如温度)是从快照字段构建的,只需几行代码即可引入。Sator目前支持生成图像切片和投影,可以以最小的计算工作量缩放,移动和旋转。此外,还可以创建各种相空间和线图。由于其模块化的性质,额外的分析和绘图例程可以很容易地实现,并正在建设中。该代码有很好的文档记录,并且打算是免费和开源的,这样天体物理社区的任何成员都可以做出贡献。

英文摘要:

In this paper I describe the visualization toolkit Sator, which is designed to read, analyze and visualize simulation data of the moving-mesh code Arepo. It is written in Python and employs a graphical user interface based on the Tkinter module, providing an interactive and intuitive user experience. All three snapshot formats employed by Arepo are supported, including the HDF5 format. Individual snapshot fields, for example cell coordinates, are read interactively only when they are needed. Refined fields used for plots, for example the temperature, are constructed from snapshot fields and can be introduced with only a few lines of code. Sator currently supports the generation of image slices and projections, which can be zoomed, moved and rotated with minimal computational effort. Furthermore, various phase space and line plots can be created. Due to its modular nature, additional analysis and plotting routines can be easily implemented and are under construction. The code is well documented and is intended to be free and open source, such that any member of the astrophysical community may contribute.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑