I can't import cross_correlation

Hello there, I’m new on obspy and I have the next ImportError:

from obspy.signal.cross.correlation import correlate_template

can anyone help me please, thanks in advance,

In your question you have a typo. Not sure if that is what you actually typed, but it should be:

from obspy.signal.cross_correlation import correlate_template

If you still get an error can you add the error message itself and the version of obspy you are using.

1 Like