What kind of seismic analysis? Convolution, inversion, horizon interpretation, processing, wavelet extraction, attributes, spectrum, etc.?
Some of these operations are simple others are quite complex. In any case I've done code for some of the examples above. I don't mind putting it here (it's supposed to be free anyway and some of it is already available in free software GEOMS2) but I need to know specifically what you're looking for.
About a year ago I made a Wavelet optimization algorithm (using simulated annealing). You can find it here:
https://github.com/armatita/WOSS
This algorithm requires a the seismic trace at a well (or several) along with the AI values in the same place. You can start with a Ricker wavelet and the method will give you a final optmized wavelet along with it's correlation (quality of convolution). It's documented here: