[ PROMPT_NODE_27234 ]
descriptors_reference
[ SKILL_DOCUMENTATION ]
# RDKit 分子描述符参考
RDKit `Descriptors` 模块中可用分子描述符的完整参考。
## 用法
python
from rdkit import Chem
from rdkit.Chem import Descriptors
mol = Chem.MolFromSmiles('CCO')
# 计算单个描述符
mw = Descriptors.MolWt(mol)
# 一次性计算所有描述符
all_desc = Descriptors.CalcMolDescriptors(mol)
## 分子量与质量
### MolWt
分子的平均分子量。
python
Descriptors.MolWt(mol)
### ExactMolWt
基于同位素组成的精确分子量。
python
Descriptors.ExactMolWt(mol)
### HeavyAtomMolWt
忽略氢原子的平均分子量。
python
Descriptors.HeavyAtomMolWt(mol)
## 亲脂性
### MolLogP
Wildman-Crippen LogP(辛醇-水分配系数)。
python
Descriptors.MolLogP(mol)
### MolMR
Wildman-Crippen 摩尔折射率。
python
Descriptors.MolMR(mol)
## 极性表面积
### TPSA
基于片段贡献的拓扑极性表面积 (TPSA)。
python
Descriptors.TPSA(mol)
### LabuteASA
Labute 近似表面积 (ASA)。
python
Descriptors.LabuteASA(mol)
## 氢键
### NumHDonors
氢键供体数量 (N-H 和 O-H)。
python
Descriptors.NumHDonors(mol)
### NumHAcceptors
氢键受体数量 (N 和 O)。
python
Descriptors.NumHAcceptors(mol)
### NOCount
N 和 O 原子的数量。
python
Descriptors.NOCount(mol)
### NHOHCount
N-H 和 O-H 键的数量。
python
Descriptors.NHOHCount(mol)
## 原子计数
### HeavyAtomCount
重原子数量(非氢原子)。
python
Descriptors.HeavyAtomCount(mol)
### NumHeteroatoms
杂原子数量(非 C 和非 H 原子)。
python
Descriptors.NumHeteroatoms(mol)
### NumValenceElectrons
价电子总数。
python
Descriptors.NumValenceElectrons(mol)
### NumRadicalElectrons
自由基电子数量。
python
Descriptors.NumRadicalElectrons(mol)
## 环描述符
### RingCount
环的数量。
python
Descriptors.RingCount(mol)
### NumAromaticRings
芳香环数量。
python
Descriptors.NumAromaticRings(mol)
### NumSaturatedRings
饱和环数量。
python
Descriptors.NumSaturatedRings(mol)
### NumAliphaticRings
脂肪族(非芳香族)环数量。
python
Descriptors.NumAliphaticRings(mol)
### NumAromaticCarbocycles
芳香族碳环数量(仅含碳的环)