18 Jun, 2025
Skip to content
  • Home
  • Gallery
  • Tutorials
  • Thomas Lecocq @ ROB
    • Research Fields
    • Publications
  • About
  • Cookie Policy

Géophysique.be

Thomas Lecocq @ the Royal Observatory of Belgium

  • Home
  • Gallery
  • Tutorials
  • Thomas Lecocq @ ROB
    • Research Fields
    • Publications
  • About
  • Cookie Policy
  • Home
  • 2013

Year: 2013

Jacknife

24 October 201325 October 2013 Thomas LecocqPython, Tips & Tricks

The Jacknife  is also sometimes called the “Leave One Out” method, and is a method to somehow evaluate the stability of statistics done on data. By leaving one element out of the input array and studying the mean of the…

example, masked array, numpy, python, statisticsLeave a comment

I’m 30…

26 September 2013 Thomas LecocqInformation

24 September 1983. I’m born. Since then, damn, already 30 years… I’m not going to talk about my life, it’s not even interesting to myself. I’d rather give a brief history of the IT background I’ve learnt during the last…

Leave a comment

Seismicity Rate using Obspy and Pandas

25 September 2013 Thomas LecocqPython, Séismologie - Seismology

Pandas and Obspy are incredible pieces of software that definitively make my life easier ! In this tutorial, we will get seismic Event data from IRIS using Obspy, then analyse the catalog using Pandas, to end up with a “Seismicity…

earthquake, obspy, pandas, python, tutorial3 Comments

Pack an Enthought Traits app inside a .exe using py2exe (Canopy Edit)

19 June 201324 September 2013 Thomas LecocqPython

10 months ago, I published the updated version of my tutorial to pack an Enthought TraitsUI based application inside an .exe Windows Executable file, using a standard Python 2.7 install and the Enthought Tool Suite 4.0 (ETS4.0). In April 2013,…

Canopy, enthought tool suite, ets, MKL, numpy, py2exe, python, tutorialLeave a comment

Old 16bit DOS programs on Windows 7 (x64)

19 February 201324 September 2013 Thomas LecocqInformation, Tips & Tricks

We needed to execute an old-but-working 16bits program to locate earthquakes called “HypoEllipse” (source), but calling it from the Windows 7 x64 boxes resulted in a nice : Bam ! Not working, sorry for you… No ! I say No…

16 bits, dos, earthquake, location, windows 74 Comments

Meteor in Russia – Seismic Signal ?

15 February 201324 September 2013 Thomas LecocqGéophysique - Geophysics, Information, Python, Séismologie - Seismology

Very early this morning, a meteor lit up the skies of Russia, somewhere close to Ekaterinburg. Same as for the Korean Boom Boom, we wanted to have a look at the seismic data of a close-by station to check if…

earthquake, iris dmc, meteor, numpy, obspy, python2 Comments

Plot waveforms of events on a dates axis

13 February 201324 September 2013 Thomas LecocqPython, Séismologie - Seismology

Following a question from my dear colleague Devy, here is how to plot a set of events, occurring at random moments in time. The idea is to plot the waveform of each event with the beginning at the top and…

earthquake, example, matplotlib, numpy, python1 Comment

North Korean nuclear tests with Obspy

12 February 2013 Thomas LecocqPython, Séismologie - Seismology

This morning, North Korea tested some nuclear “bomb” somewhere in the middle of the country (confirmed by Pyongyang officials and CTBTO), and many seismic sensors worldwide recorded the triggered waveforms. The location of the test is the same as the…

earthquake, korea, matplotlib, nuclear, numpy, obspy, python5 Comments

Seismicity Map and Rate using Basemap and Pandas

12 February 201324 September 2013 Thomas LecocqPython, Séismologie - Seismology

Imagine we want to plot a map of the seismic activity in NW-Europe and, at the same time, count the number events per month. To get a catalogue of earthquakes in the region, one can call the NEIC (note: this…

basemap, earthquake, example, pandas, python, statistics, tutorial, urrlib24 Comments

New Tutorial Series: Pandas

12 February 201324 September 2013 Thomas LecocqPython

In the coming months, I’ll prepare some tutorials over an excellent data analysis package called pandas ! To show you the power of pandas, just take a look at this old tutorial, where I exploited the power of itertools to…

matplotlib, numpy, pandas, python, tutorialLeave a comment

Matplotlib Basemap tutorial 10: Shapefiles Unleached, continued

12 February 201324 September 2013 Thomas LecocqPython

Following the comments on this year-old post I’ve had a look at pyshp which seems a little more maintained (the last line in the changelog is 1 year old…), and it is indeed a quite nice piece of code. I…

basemap, example, mpl_toolkits, python, shapefile, tutorial17 Comments

Honoured !

21 January 201324 September 2013 Thomas LecocqAnnonce, Python

This blog is cited in the excellent book of Wes McKinney: “Python for Data Analysis” (eds.O’Reilly)! Oh yeah! I’m proud! Thanks Wes!    

Leave a comment

Search

Recent

  • Emails to SMS on a FoxBox 30 October 2014
  • Earthworm statmgr replacement 22 July 2014
  • Playing with PICs – The beginning 1 May 2014
  • Shaded Relief Map in Python 25 February 2014
  • Relief Maps in Google Earth 10 January 2014

Recent Comments

  • Natalia Poiata on Matplotlib Basemap tutorial 09: Drawing circles
  • Thomas Lecocq on Seismicity Map and Rate using Basemap and Pandas
  • vgb on Seismicity Map and Rate using Basemap and Pandas
  • python - L'installazione di shapefile / shapelib non trovato via condã o pip on Matplotlib Basemap tutorial 10: Shapefiles Unleached, continued
  • Jon on Resistivity Data Inversion – Use R2 !
Copyright © All rights reserved.
Start Magazine by Axle Themes
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
SAVE & ACCEPT