计算化合物各种化学计量特征的软件包。
chem-calc的Python项目详细描述
化学计算
化学计算模块根据化合物的化学计量法计算化学和物理性质。在
该包中使用的20+个可用属性(或特征)是CRC化学和物理手册以及NIST X射线质量衰减系数数据库中的元素属性。在
可用属性
化学物理手册
Property / Feature | Tag |
---|---|
Number of 4f electrons | '4f' |
Number of 5d electrons | '5d' |
Combined number of 4f and 5d electrons | 'add4f5d' |
Absolute value of the difference of number of 4f and 5d electrons | 'sub4f5dabs' |
Number of electrons | 'allelectrons' |
Number of valence outer shell electrons | 'val_e' |
Atomic number | 'atomicnumber' |
Atomic weight | 'atomicweight' |
First ionization energy | 'ionenergy' |
Pauling electronegativity of most common oxidation state | 'el_neg_chi' |
van der Waals radius | 'R_vdw_element' |
Covalent radius | 'R_cov_element' |
Atomic number to mass number ratio | 'zaratio' |
Excitation energy | 'ex_energy' |
Period | 'period' |
Elemental density | 'density' |
662 keV条件下的NIST X射线质量衰减系数数据库,包括:
^{tb2}$方法
- how\u many——返回给定化学式中的原子数。在
>>> import chem_calc >>> chem_calc.chem_calc('H2O').howmany 3.0
- total——返回给定化学式的特征值总和。在
- avg_feature—返回给定化学式属性的平均值。在
>>> import chem_calc >>> chem_calc.chem_calc('H2O',feature='atomicweight').avg_feature 6.0049033333333339
安装
使用“pip”从pypi安装:
pip install chem_calc
或从github安装的“pip”:
pip install git+https://github.com/garne041/chem_calc.git
或使用git克隆包:
git clone https://github.com/garne041/chem_calc.git
要求
需要numpy,pickle和熊猫
许可证
此项目基于https://repl.it/@Supakri2680/Molecular-Mass-Calculator2的原始代码。为了保持这种心态,所有的代码都是在麻省理工学院发布的。在
- 项目
标签: