基于Python的天文软件命令行界面设计与实现  被引量:5

Design and Implementation of An Astronomical Command Line Interface System Based on the Python

在线阅读下载全文

作  者:陈蒙[1] 王锋[1,2] 邓辉[1] 季凯帆[1] 

机构地区:[1]昆明理工大学云南省计算机技术应用重点实验室,云南昆明650500 [2]中国科学院云南天文台,云南昆明650011

出  处:《天文研究与技术》2015年第2期196-203,共8页Astronomical Research & Technology

基  金:中国科学院-国家自然科学基金委员会天文联合基金重点项目(U1231205);国家自然科学基金(11103005;11263004);云南省应用基础基金重点项目(2013FA013;2013FA032)资助

摘  要:天文数据处理软件的开发是天文技术研究的一个重要组成部分,如何为用户提供一个直观、快捷与友好的交互界面一直是软件开发人员关注的问题。在分析了当前主流命令行界面(CLI)技术与CASA软件命令行的一些不足的基础上,结合新一代中国太阳射电日像仪(CSRH)数据处理系统开发需求,设计并实现了一套基于Python语言的CSRH CLI用户界面系统。介绍了系统的实现框架和整体流程,并重点讨论了命令行中天文数据的数据类型定义、系统权限与视图控制、系统命令匹配、补全和联机帮助等技术难点的实现,进而通过软件开发中一个实际命令说明了在命令行框架下的模块开发方法,最后给出了命令行的运行界面与操作实例。研究成果已应用于太阳射电日像仪数据处理软件的开发中,取得了良好的效果,整个系统对其它天文软件的开发有较好的参考价值。Developing astronomical data processing software is important to research of astronomical technologies.It has long been an issue of concern of how to develop efficient and user friendly visual interactive interfaces for astronomical data processing software.In this paper we discuss the limitations of the mainstream Command Line Interfaces (CLIs), including the Common Astronomy Software Applications (CASA).Considering the requirements for the software system of the Chinese Solar Radio Heliograph ( CSRH) , we have designed and implemented a CLI system based on the Python language.We illustrate some key aspects of our design, including definitions of data types, techniques of matching system commands, methods of verifying data, control of user accessing, extensions of input commands, and installation of the online help function.We present an example of how to build a user-defined modularized CLI function in the system.We finally show screenshots of the interface.Our CLI system has been integrated into the data processing system of the CSRH. Our study can provide useful references for development of other astronomical software systems.

关 键 词:命令行 交互技术 太阳射电日像仪 

分 类 号:TP39[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象