A transform for determining a physiological measurement is disclosed. The
transform determines a basis function index from a physiological signal
obtained through a physiological sensor. A basis function waveform is
generated based on basis function index. The basis function waveform is
then used to determine an optimized basis function waveform. The
optimized basis function waveform is used to calculate a physiological
measurement.