A device may determine end-of-phase information for a plurality of wavelength channels of photoplethysmography (PPG) data. The device may calculate a set of baseline correction points for each wavelength channel of the plurality of wavelength channels. The set of baseline correction points may be calculated based on end-of-phase information for a wavelength channel of the plurality of wavelength channels and PPG data associated with the wavelength channel. The device may perform a baseline correction for each wavelength channel of the plurality of wavelength channels. A baseline correction may be performed for the wavelength channel based on the set of baseline correction points associated with the wavelength channel and the PPG data associated with the wavelength channel. The device may generate a baseline corrected heartbeat profile using a principal component analysis of a result of baseline correcting each wavelength channel of the plurality of wavelength channels.