1. A method for analyzing a melting profile of a nucleic acid sample, comprising measuring the fluorescence of the nucleic acid sample as a function of temperature to produce a raw melting curve, the sample comprising a nucleic acid and a molecule that binds the nucleic acid to form a fluorescently detectable complex, the raw melting curve comprising a background fluorescence signal and a nucleic acid sample signal; and separating the background signal from the nucleic acid sample signal by use of an exponential algorithm to generate a corrected melting curve, the corrected melting curve comprising the nucleic acid sample signal.