My project https://www.mathworks.com/help/matlab/matlab_prog/loma-prieta-earthquake.html
My project
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.Thank you my dear friends for your kind opinions.
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=gmai...@python.org> On Behalf Of Thomas Passin
Sent: Sunday, March 12, 2023 12:02 AM
To: pytho...@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
But some unknown reasons Matplotlib and numpy crash my Python 3.8 for Windows , 32-bit and no support is offered
On 3/13/2023 12:39 AM, a a wrote:Thank you
But what I need is analysis of seismograms from 4,000 seismographs world wide to detect P-wave energy distribution underground around the earthquake to verify EQ Domino EffectIn that case, you will have to do a great deal of work to get all that
data into a common usable form, cleaned and errors removed. That will
be a lot of effort no matter what language you use. In the Matplotlib
lesson you pointed to, the work was already done, for one one earthquake
at one location.
The reference I gave, https://towardsdatascience.com/earthquake-time-series-forecasts-using-a-hybr
id-clustering-lstm-approach-part-i-eda-6797b22aed8c
actually includes a Python script that does this work for some selected ranges of data, so it might be a good starting point.
On Mon, 13 Mar 2023, Thomas Passin wrote:
But what I need is analysis of seismograms from 4,000 seismographs
world wide to detect P-wave energy distribution underground around
the earthquake to verify EQ Domino Effect
In that case, you will have to do a great deal of work to get all that
data into a common usable form, cleaned and errors removed. That will
be a
lot of effort no matter what language you use. In the Matplotlib lesson
you pointed to, the work was already done, for one one earthquake at one
location.
Wouldn't Pandas help here?
But what I need is analysis of seismograms from 4,000 seismographs world
wide to detect P-wave energy distribution underground around the earthquake >> to verify EQ Domino Effect
In that case, you will have to do a great deal of work to get all that
data into a common usable form, cleaned and errors removed. That will be a lot of effort no matter what language you use. In the Matplotlib lesson
you pointed to, the work was already done, for one one earthquake at one location.
But what I need is analysis of seismograms from 4,000 seismographs world wide to detect P-wave energy distribution underground around the earthquake to verify EQ Domino Effect
On 3/13/2023 12:39 AM, a a wrote:sorry
But some unknown reasons Matplotlib and numpy crash my Python 3.8 for Windows , 32-bit and no support is offeredIt is possible, using pip, to downgrade versions (e.g., of Matplotlob
and numpy) to see if you can find versions that work. Of course moving
to 64-bit Python >= 3.10 would be better, but if that were possible I imagine you would have done it already.
BTW, it would be useful if you said what operating system you are using (I've been assuming Windows).
This message would better have gone to the list instead of just me.No doubt, depending on the data formats used. But it's still going
to be a big task.
Thomas,
True, but once you have a dataframe with all the information about
all the earthquakes you can extract data for every analysis you want
to do.
If you've not read Wes McKinney's "Python for Data Analysis: Data
Wrangling with Pandas, NumPy, and IPython" I encourage you to do so.
No doubt, depending on the data formats used. But it's still going to be a big task.
This message would better have gone to the list instead of just me.No doubt, depending on the data formats used. But it's still going
to be a big task.
Thomas,
True, but once you have a dataframe with all the information about
all the earthquakes you can extract data for every analysis you want
to do.
If you've not read Wes McKinney's "Python for Data Analysis: Data
Wrangling with Pandas, NumPy, and IPython" I encourage you to do so.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 18:23:32 |
Calls: | 10,389 |
Files: | 14,061 |
Messages: | 6,416,956 |