Calculates effect of sleep inertia on alertness

TPM_Wfun(Wc, Wd, taw)

Arguments

Wc

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

Wd

Exponential recovery of alertness (typically = -1.51)

taw

Time awake (hours)

Value

W