1. A method for obtaining a seismic wavelet using seismic data in a deviated well, said method comprising the following steps programmed on a computer: extracting seismic data along the well path; calculating the well path in the time domain; extracting at least one window of seismic data in the time domain along the well path in the time domain; combining the extracted window of seismic data to obtain a composite seismic trace; and extracting a seismic wavelet using the composite seismic trace.