OEHermiteOptions
class OEHermiteOptions
This is an option class for the OEHermite class. It allows the user to input the level of the Hermite expansion NPolyMax, the parameters \(\lambda_x, \lambda_y, \lambda_z\), and whether or not the parameters need to be optimized inside the OEHermite class.
See also
Shape from Hermite expansion examples
Constructors
OEHermiteOptions() -> OEHermiteOptions
OEHermiteOptions(arg2: OEHermiteOptions) -> OEHermiteOptions
Default and copy constructors.
Assignment operator.
GetLambdaX
GetLambdaX() -> floatReturns the value of the \(\lambda_x\) parameter.
GetLambdaY
GetLambdaY() -> floatReturns the value of the \(\lambda_y\) parameter.
GetLambdaZ
GetLambdaZ() -> floatReturns the value of the \(\lambda_z\) parameter.
GetNPolyMax
GetNPolyMax() -> intReturns the value of the NPolyMax parameter, which controls the level of Hermite expansion. In particular, the lowest value 0 corresponds to a very inaccurate expansion, approximating the entire molecule by a single Gaussian. In the limit NPolyMax \(\rightarrow \infty\), we obtain exact equivalence of the Hermite expansion to the original representation of the molecule.
GetUseOptimalLambdas
GetUseOptimalLambdas() -> boolWhen UseOptimalLambdas is True, the parameters \(\lambda_x, \lambda_y, \lambda_z\) of the Hermite expansion will be chosen automatically based on the molecule input and resolution of expansion. Alternatively, when UseOptimalLambdas is False, the current values of the \(\,\lambda_{x,y,z}\,\) parameters will be used instead. Note that the Hermite expansion will converge regardless of the choice of \(\,\lambda_{x,y,z}\,\) as long as NPolyMax is high enough, but in practice, at a given low resolution of Hermite expansion, it is useful to use optimal \(\,\lambda_{x,y,z}\,\) parameters for faster convergence.
SetLambdaX
SetLambdaX(value: float) -> boolSets the value of the \(\lambda_x\) parameter. Default: 0.5.
SetLambdaY
SetLambdaY(value: float) -> boolSets the value of the \(\lambda_y\) parameter. Default: 0.5.
SetLambdaZ
SetLambdaZ(value: float) -> boolSets the value of the \(\lambda_z\) parameter. Default: 0.5.
SetNPolyMax
SetNPolyMax(value: int) -> boolSets the value of the NPolyMax parameter. Default: 4.
SetUseOptimalLambdas
SetUseOptimalLambdas(value: bool) -> boolSets the value of the UseOptimalLambdas parameter. Default: True.