Sleep inertia function (direct 3PM import) Caclulates effect of sleep intertia on alterness

unified_Wfun(taw, wc, wd)

Arguments

taw

Time awake

wc

Extent of alertness reduction at time of waking (typically = -5.72)

wd

Rate of recovery of alterness (typically = -1.51)