Can you process seismographic signals in Python or should I switch to Matlab ?

avi.e.gross at gmail.com avi.e.gross at gmail.com
Sun Mar 12 00:17:29 EST 2023


I have used GNU Octave as a sort of replacement for MATLAB as a free
resource. I have no idea if it might meet your needs. 

Although Python is a good environment for many things, if you have no
knowledge of it yet, it can take a while to know enough and if you just need
it for one project, ...

-----Original Message-----
From: Python-list <python-list-bounces+avi.e.gross=gmail.com at python.org> On
Behalf Of Thomas Passin
Sent: Sunday, March 12, 2023 12:02 AM
To: python-list at python.org
Subject: Re: Can you process seismographic signals in Python or should I
switch to Matlab ?

On 3/11/2023 6:54 PM, a a wrote:
> My project
>
https://www.mathworks.com/help/matlab/matlab_prog/loma-prieta-earthquake.htm
l

If your goal is to step through this Matlab example, then clearly you 
should use Matlab. If you do not have access to Matlab or cannot afford 
it, then you would have to use something else, and Python would be a 
prime candidate.  However, each of the techniques and graphs in the 
lesson have been pre-packaged for you in the Matlab case but not with 
Python (many other case studies on various topics that use Python Python 
can be found, though).

Everything in the Matlab analysis can be done with Python and associated 
libraries.  You would have to learn various processing and graphing 
techniques.  You would also have to get the data from somewhere.  It's 
prepackaged for this analysis and you would have to figure out where to 
get it.  There is at least one Python package that can read and convert 
Matlab files - I do not remember its name, though.

A more important question is whether doing the Matlab example prepares 
you to do any other analyses on your own. To shed some light on this, 
here is a post on some rather more advanced analysis using data on the 
same earthquake, done with Python tools -

https://towardsdatascience.com/earthquake-time-series-forecasts-using-a-hybr
id-clustering-lstm-approach-part-i-eda-6797b22aed8c



-- 
https://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list