Property3DOptions#

class nvmolkit.descriptors3d.Property3DOptions(
moments: MomentOptions = MomentOptions(useAtomicMasses=True),
whim: WhimOptions = WhimOptions(threshold=0.001),
getaway: GetawayOptions = GetawayOptions(precision=2),
)#

Per-family options for Calc3DProperties(); each family reads only its own member.

Set only the families you want to change; the others keep RDKit’s defaults. Options for a family that is not requested are ignored, so one options object can be reused across different selections. The classes are frozen; derive variants with dataclasses.replace(). Properties without a member here have no options.

Example:

import dataclasses

options = Property3DOptions(whim=WhimOptions(threshold=0.01))  # moments keep useAtomicMasses=True
unweighted = dataclasses.replace(options, moments=MomentOptions(useAtomicMasses=False))
moments#

Options for the moment-based properties.

Type:

nvmolkit.descriptors3d.MomentOptions

whim#

Options for WHIM.

Type:

nvmolkit.descriptors3d.WhimOptions

getaway#

Options for GETAWAY.

Type:

nvmolkit.descriptors3d.GetawayOptions