I do the plotting.

Method __init__ Constructs a Yampex Plotter object for a figure with two subplots.
Method func The exponential function a*exp(-b*X)
Method leastDiff Returns the index of the vectors of Ys where there is the least difference between their values.
Method subplot Given the subplotting tool sp and the supplied 1-D Numpy array of X values, plots the curves for each combination of a in aVals and b in bVals.
Method plot Plots the curves for each combination of a in aVals and its corresponding b in bVals, from my xMin to my xMax and from zero to double my xMax.
def __init__(self):

Constructs a Yampex Plotter object for a figure with two subplots.

def func(self, X, a, b):

The exponential function a*exp(-b*X)

def leastDiff(self, Ys, logspace=False):

Returns the index of the vectors of Ys where there is the least difference between their values.

Set logspace True to have the difference calculated in logspace, for a semilog plot.

def subplot(self, sp, X, aVals, bVals, semilog=False):

Given the subplotting tool sp and the supplied 1-D Numpy array of X values, plots the curves for each combination of a in aVals and b in bVals.

Returns the value of X where there is the least difference between the curves.

def plot(self, aVals, bVals):

Plots the curves for each combination of a in aVals and its corresponding b in bVals, from my xMin to my xMax and from zero to double my xMax.

API Documentation for yampex, generated by pydoctor at 2022-11-21 15:03:54.