pele.takestep.generic#

class pele.takestep.generic.TakestepInterface[source]

Source

class TakestepInterface:

Interface for step taking classes

TakestepInterface.takeStep()[source]

Source

def takeStep(self, coords, **kwargs):

take a step

Parameters:
coordsarray like object

coordinates

TakestepInterface.updateStep()[source]

Source

def updateStep(self, accepted, **kwargs):

feedback from basin hopping if last step was accepted

Parameters:
acceptedboolean

True if the last step was accepted, otherwise false

TakestepInterface.scale()[source]

Source

def scale(self, factor):

scale the stepsize

This function needs to be implemented to support adaptive step taking

Parameters:
factorfloat

factor to scale the stepsize

class pele.takestep.generic.Takestep[source]

Source

class Takestep(TakestepInterface):

basic takestep interface which stores the stepsize

class pele.takestep.generic.TakestepSlice[source]

Source

class TakestepSlice(Takestep):

basic takestep interface on slice of coordinates array