1. A processing system for capacitive sensing, the processing system comprising: a sensor processor, configured to acquire changes of capacitance in a sensing region associated with a plurality of sensor electrodes in a capacitive sensor, wherein at least some of the changes of capacitance are due to an input object being present in the sensing region; and a data processor configured to: determine a signal profile based on the changes of capacitance, determine a fit value of a fitting parameter of a mathematical function that fits the mathematical function to the signal profile, the fitting of the mathematical function to the signal profile exceeding a quality threshold, wherein the fitting parameter correlates to hover height of an input object and adjusting the fitting parameter affects the fit of the mathematical function to the signal profile, calculate a hover height based on the fit value of the fitted mathematical function, and output the hover height.