expyfun.analyze.sigmoid#

expyfun.analyze.sigmoid(x, lower=0.0, upper=1.0, midpt=0.0, slope=1.0)[source]#

Calculate sigmoidal values along the x-axis

Parameters:
xarray-like

x-values to calculate the sigmoidal values from.

lowerfloat

The lower y-asymptote.

upperfloat

The upper y-asymptote.

midptfloat

The x-value that obtains 50% between the lower and upper asymptote.

slopefloat

The slope of the sigmoid.

Returns:
yarray

The y-values of the sigmoid evaluated at x.

Examples using expyfun.analyze.sigmoid#

Adaptive tracking from above and below

Adaptive tracking from above and below

Adaptive tracking for two trial types and tracker reconstruction from .tab

Adaptive tracking for two trial types and tracker reconstruction from .tab

Do an adaptive track staircase

Do an adaptive track staircase

Do an adaptive track staircase with MHW procedure

Do an adaptive track staircase with MHW procedure