At each stage of the separation process there are one or two parameters that must be estimated. If the full elastic properties of the near surface were known the parameters could be calculated. In a practical processing scheme these parameters must be estimated from the recorded data. We require an objective function that is a measure of the effectiveness of the wavefield separation at each step.