Ranged Optimization

Maximize a signal within a range.

Sweeps a setting zz within a discrete interval II, measures an optimization quantity f(z)f(z) and calculates z0z_0 such that:

f(z0)f(z)      zIf(z_0) \geq f(z) \, \, \, \, \, \, \forall z \in I

finally sets z=z0+zoffsetz = z_0 + z_{offset}.

Add to your app:

def setup(self): from ScopeFoundry import RangedOptimization self.add_measurement(RangedOptimization(self))

overview

The interval II is defined by (zcenter,zspan,znum)(z_{center}, z_{span}, z_{num}).

You can further post process the data to get a more accurate z0z_0.