A method for obtaining a seismic wavelet using seismic data in a deviated well includes the steps of: (a) extracting seismic data along the well path; (b) calculating the well path in the time domain; (c) extracting a window of seismic data in the time domain along the well path in the time domain; (d) combining the extracted window of seismic data to obtain a composite seismic trace; and (e) extracting a seismic wavelet using the composite seismic trace.