摘要
主要讨论在核磁共振(Nuclear Magnetic Resonance,NMR)谱仪软件中引入脚本环境的方法和应用.首先,介绍脚本语言的概念,并比较分析了几种脚本解析器;其次,概述了谱仪软件的系统结构,阐述了使用QtScript引擎建立脚本环境的方法,并结合NMR软件系统中实验参数、命令行等模块,提出了可行的脚本化方案;最后,给出了测试结果和改进方法.
This paper introduces embedding scripting environment in NMR spectrometer software.First,the concept of scripting languages is described,and the performance of several script parsers is compared.Secondly,the architecture of NMR software system is summarized,followed by discussions on the methods used to setup scripting environment with QtScript.Thirdly,some feasible solutions for scripting within the framework of NMR spectrometer software are developed.Lastly,some test results are reported and possible methods for improvement are proposed.
出处
《波谱学杂志》
CAS
CSCD
北大核心
2011年第2期190-197,共8页
Chinese Journal of Magnetic Resonance
基金
国家自然科学基金资助项目(10675162)
国家科技支撑计划资助项目(2006BAK03A22)
关键词
核磁共振软件
脚本环境
脚本引擎
应用程序脚本化
NMR spectrometer software
scripting environment
script engine
application scripting