A method for determining a physiological parameter comprises receiving measured physiological data, parsing the measured physiological data into a plurality of time windows, each time window including a plurality of samples of the physiological data, fitting each of the plurality of time windows to a mathematical function utilizing a fitting function to obtain a plurality of sets of fit parameters, each set associated with a one of the plurality of time windows, and based on the plurality of sets of fit parameters, determining a physiological parameter.