物理实验室设备分析软件
ttlab的Python项目详细描述
TT-实验室
最常用的物理设备,如xps、质谱仪、光谱仪等,易于使用的进口脚本。 最典型的分析程序的功能。
安装
$ pip install ttlab
如何使用
有关详细说明,请参阅“链接”中的文档。
质谱仪数据示例:
fromttlabimportMassSpectrometer# Create a mass spec objectfilename='path/filename.asc'MS=MassSpectrometer(filename)# Check what gases are included in the dataprint(MS.gases)# Plot one of the gases, using matploltlib, returns the axesax=MS.plot_gas('Ar')# Get the ion current and the relative time for the gas, returns np arrays with the dataion_current_argon=MS.get_ion_current('Ar')time_relative=MS.get_relative_time('Ar')
想做贡献吗?
有密码吗? 请在info.ttlab@gmail.com联系我们
许可证
麻省理工学院执照 你想怎么用都行。