Model.morphbiasstyle#

Model.morphbiasstyle(style, con)#

Applies updated bias style retroactively to existing perturbations.

Parameters:
  • style (int) –

    The biasing style to use:

    0 - Exponential

    1 - Sinusoidal

  • con (int) –

    Use/do not use symmetry:

    0 - Do not use symmetry

    1 - use symmetry

Example#

Recalculate and reapplye all morphs on the morph list in terms of the updated bias factors .#
import hm
import hm.entities as ent

model = hm.Model()

model.morphbiasstyle(style=1, con=1)