天文学是一门以观测为基础的古老学科,在不同波段的各种形式天文望远镜的观测已经积累了大量的数据,天文学领域对数据的处理与展示有着很高的要求与期望。目前有很多团队着力于开发天文数据的可视化分析工具和软件,同时,有很多其他领域的软件,通过整合和修改也可以应用到天文数据上。介绍了对三维建模软件Blender的工具包的再开发,结合其内置的Python API和BPY库,实现对常用天文数据三维数据单元( Data Cube)和N体模拟结果的实时静态和动态三维可视化。
Astronomy is entering a new era of discovery.Employing new facilities for observation and computation will routinely generate data in large amounts.It becomes increasingly important to efficiently process and display astronomical data.While visualization and analysis tools specialized for astronomy are being developed, it is also a trend to modify and integrate software packages in other scientific disciplines to work for astronomical data.As an example of the trend, we adapt the Blender, a graphic software tool with a flexible user interface and an enhanced development environment.In this paper we present the implementation of two Python modules as plugins for the Blender to display 3D spectral-line data cube and make 3D animations of N-body simulations.