|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ipc(mol,
avg=0,
dMat=None,
forceDMat=0)
This returns the information content of the coefficients of the characteristic
polynomial of the adjacency matrix of a hydrogen-suppressed graph of a molecule. |
source code
|
|
|
|
|
|
|
|
|
|
Kappa3(mol)
Hall-Kier Kappa3 value
From equations (58), (61) and (62) of Rev. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Chi0n(mol)
Similar to Hall Kier Chi0v, but uses nVal instead of valence
This makes a big difference after we get out of the first row. |
source code
|
|
|
|
Chi1n(mol)
Similar to Hall Kier Chi1v, but uses nVal instead of valence... |
source code
|
|
|
|
ChiNn_(mol,
order=2)
Similar to Hall Kier ChiNv, but uses nVal instead of valence
This makes a big difference after we get out of the first row. |
source code
|
|
|
|
Chi2n(mol)
Similar to Hall Kier Chi2v, but uses nVal instead of valence
This makes a big difference after we get out of the first row. |
source code
|
|
|
|
Chi3n(mol)
Similar to Hall Kier Chi3v, but uses nVal instead of valence
This makes a big difference after we get out of the first row. |
source code
|
|
|
|
Chi4n(mol)
Similar to Hall Kier Chi4v, but uses nVal instead of valence
This makes a big difference after we get out of the first row. |
source code
|
|
|
|
BalabanJ(mol,
dMat=None,
forceDMat=0)
Calculate Balaban's J value for a molecule
**Arguments**
- mol: a molecule
- dMat: (optional) a distance/adjacency matrix for the molecule, if this
is not provide, one will be calculated
- forceDMat: (optional) if this is set, the distance/adjacency matrix
will be recalculated regardless of whether or not _dMat_ is provided
or the molecule already has one
**Returns**
- a float containing the J value
We follow the notation of Balaban's paper:
Chem. |
source code
|
|
|
|
|
|
|
_LookUpBondOrder(atom1Id,
atom2Id,
bondDic)
Used by BertzCT |
source code
|
|
|
|
_CalculateEntropies(connectionDict,
atomTypeDict,
numAtoms)
Used by BertzCT |
source code
|
|
|
|
|
|
|
BertzCT(mol,
cutoff=100,
dMat=None,
forceDMat=1)
A topological index meant to quantify "complexity" of molecules. |
source code
|
|
|
|
periodicTable = rdchem.GetPeriodicTable()
|
|
|
_log2val = 0.69314718056
|
|
|
Complex0 = 'F'
|
|
|
Complex16 = 'F'
|
|
|
Complex32 = 'F'
|
|
|
Complex64 = 'D'
|
|
|
Complex8 = 'F'
|
|
|
Float0 = 'f'
|
|
|
Float16 = 'f'
|
|
|
Float32 = 'f'
|
|
|
Float64 = 'd'
|
|
|
Float8 = 'f'
|
|
|
Int0 = '1'
|
|
|
Int16 = 's'
|
|
|
Int32 = 'i'
|
|
|
Int8 = '1'
|
|
|
absolute = <ufunc 'absolute'>
|
|
|
add = <ufunc 'add'>
|
|
|
arccos = <ufunc 'arccos'>
|
|
|
arccosh = <ufunc 'arccosh'>
|
|
|
arcsin = <ufunc 'arcsin'>
|
|
|
arcsinh = <ufunc 'arcsinh'>
|
|
|
arctan = <ufunc 'arctan'>
|
|
|
arctan2 = <ufunc 'arctan2'>
|
|
|
arctanh = <ufunc 'arctanh'>
|
|
|
bitwise_and = <ufunc 'bitwise_and'>
|
|
|
bitwise_or = <ufunc 'bitwise_or'>
|
|
|
bitwise_xor = <ufunc 'bitwise_xor'>
|
|
|
ceil = <ufunc 'ceil'>
|
|
|
conjugate = <ufunc 'conjugate'>
|
|
|
cos = <ufunc 'cos'>
|
|
|
cosh = <ufunc 'cosh'>
|
|
|
divide = <ufunc 'divide'>
|
|
|
divide_safe = <ufunc 'divide_safe'>
|
|
|
e = 2.71828182846
|
|
|
equal = <ufunc 'equal'>
|
|
|
exp = <ufunc 'exp'>
|
|
|
fabs = <ufunc 'fabs'>
|
|
|
floor = <ufunc 'floor'>
|
|
|
floor_divide = <ufunc 'floor_divide'>
|
|
|
fmod = <ufunc 'fmod'>
|
|
|
greater = <ufunc 'greater'>
|
|
|
greater_equal = <ufunc 'greater_equal'>
|
|
|
hypot = <ufunc 'hypot'>
|
|
|
invert = <ufunc 'invert'>
|
|
|
left_shift = <ufunc 'left_shift'>
|
|
|
less = <ufunc 'less'>
|
|
|
less_equal = <ufunc 'less_equal'>
|
|
|
log = <ufunc 'log'>
|
|
|
log10 = <ufunc 'log10'>
|
|
|
logical_and = <ufunc 'logical_and'>
|
|
|
logical_not = <ufunc 'logical_not'>
|
|
|
logical_or = <ufunc 'logical_or'>
|
|
|
logical_xor = <ufunc 'logical_xor'>
|
|
|
maximum = <ufunc 'maximum'>
|
|
|
minimum = <ufunc 'minimum'>
|
|
|
multiply = <ufunc 'multiply'>
|
|
|
negative = <ufunc 'negative'>
|
|
|
not_equal = <ufunc 'not_equal'>
|
|
|
pi = 3.14159265359
|
|
|
power = <ufunc 'power'>
|
|
|
remainder = <ufunc 'remainder'>
|
|
|
right_shift = <ufunc 'right_shift'>
|
|
|
sin = <ufunc 'sin'>
|
|
|
sinh = <ufunc 'sinh'>
|
|
|
sqrt = <ufunc 'sqrt'>
|
|
|
subtract = <ufunc 'subtract'>
|
|
|
tan = <ufunc 'tan'>
|
|
|
tanh = <ufunc 'tanh'>
|
|
|
true_divide = <ufunc 'true_divide'>
|