Posts by Categories Posts by Tags

2024

Understanding mems accelerometers

Understanding mems accelerometers

5 minute read      BLOGGING     

While MEMS accelerometers offer advantages in cost, size, and deployment flexibility compared to traditional broadband seismometers, they face limitations in...

Mastering large data processing with mpi4py in python

Mastering large data processing with mpi4py in python

7 minute read      DATASCIENCE     

Explore the power of mpi4py for simplifying data distribution in parallel computing with its efficient broadcast functionality, which seamlessly sends data f...

Back to top ↑

2023

Back to top ↑

2022

How to set up ssh-keys for github

How to set up ssh-keys for github

2 minute read      UTILITIES     

You will learn how to generate and set up an SSH key for github so that you don’t need to always type your username and password when accessing github repo.

How to load dynamic libraries in c/c++?

How to load dynamic libraries in c/c++?

3 minute read      UTILITIES     

We will see how to load shared libraries in C/C++. We will write a library to convert km to degrees and vice-versa. Then we create a utility program to conve...

Create beamer slides using python

Create beamer slides using python

1 minute read      UTILITIES     

We will use the Python package to create beamer presentation and append existing figures to each slide

Back to top ↑

2021

How to deal with irregularly sampled time series data

How to deal with irregularly sampled time series data

5 minute read      TECHNIQUES     

While analyzing time series data, we often come across data that is non-uniformly sampled, i.e., they have non-equidistant time-steps. Infact, most of the re...

How to install jekyll on apple m1 macbook

How to install jekyll on apple m1 macbook

2 minute read      BLOGGING     

If you have recently bought a M1 mac and have been doing blogging using Jekyll, then you must have experienced that installing Jekyll on the M1 architecture ...

How to create a simple makefile in linux

How to create a simple makefile in linux

3 minute read      UTILITIES     

We learn how to write a Makefile to automate the compilation of our source code. We will use one example from Fortran.

Introduction to numpy for scientific computing

Introduction to numpy for scientific computing

6 minute read      UTILITIES     

This tutorial gives a brief description of scientific computing using numpy by introducing arrays, methods, attributes, random numbers, indexing, broadcastin...

The right way to loop in python (codes included)

The right way to loop in python (codes included)

4 minute read      TECHNIQUES     

What is the fastest and most efficient way to loop in Python. We found that the numpy is fastest and python builtins are the most memory efficient.

Plotting a record section using obspy (codes included)

Plotting a record section using obspy (codes included)

10 minute read      GEOPHYSICS     

Quickly plot record section of a stream using Obspy. I will introduce you how to make a stream from a set of SAC data, plot the record section and store it a...

Least-squares method in geosciences (codes included)

Least-squares method in geosciences (codes included)

10 minute read      GEOPHYSICS     

Least-squares method is a popular approach in geophysical inversion to estimate the parameters of a postulated Earth model from given observations. This meth...

Back to top ↑

2020

Time-frequency analysis in matlab (codes included)

Time-frequency analysis in matlab (codes included)

6 minute read      GEOPHYSICS     

A signal has one or more frequency components in it and can be viewed from two different standpoints: time-domain and frequency domain. In general, signals a...

Exploratory factor analysis (codes included)

Exploratory factor analysis (codes included)

4 minute read      GEOPHYSICS     

Factor Analysis is an exploratory data analysis method used to search influential underlying factors or latent variables from a set of observed variables

Time series analysis in geophysics (codes included)

Time series analysis in geophysics (codes included)

3 minute read      GEOPHYSICS     

Time-series analysis is essential in most fields of science, including geophysics, economics, etc. Most of the geophysical data comes in a time-series format...

Gmt tutorial for beginners (codes included)

Gmt tutorial for beginners (codes included)

2 minute read      UTILITIES     

The Generic Mapping Tools is widely used across Earth and Planetary and other fields of studies to process data and generate high-quality illustrations. This...

Writing netcdf4 data using python (codes included)

Writing netcdf4 data using python (codes included)

4 minute read      UTILITIES     

NetCDF file format has been designed for storing multidimensional scientific data such as temperature, rainfall, humidity, etc. In this post, we will see how...

How to insert equation numbering in ms word

How to insert equation numbering in ms word

3 minute read      UTILITIES     

It is essential to insert equation numbers in your thesis and/or any scientific paper. In this post, I will show you some of the easiest ways to insert equat...

Reading netcdf4 data in python (codes included)

Reading netcdf4 data in python (codes included)

8 minute read      UTILITIES     

In Earth Sciences, we often deal with multidimensional data structures such as climate data, GPS data. It ‘s hard to save such data in text files as it would...

Writing scientific papers in ulysses

Writing scientific papers in ulysses

5 minute read      UTILITIES     

Ulysses is a natural, freestyle way of writing. If you got any idea, just write it down, worry about the format and other things when you’re done. Don’t let ...

Some handy mac tweaks [macos]

Some handy mac tweaks [macos]

2 minute read      LIFEHACKS     

Some handy tweaks for mac like relocating default screenshot location, renaming batch files etc

Introduction to automating mac [macos]

Introduction to automating mac [macos]

1 minute read      LIFEHACKS     

Mac can be easily automated by the help of several tools such as automator, quick actions, applescripts

Numerical tests on travel time tomography [matlab]

Numerical tests on travel time tomography [matlab]

9 minute read      GEOPHYSICS     

Introduction to the concepts of tomography with equations and codes. Introduction to the concepts of overdetermined, underdetermined and mix-determined probl...

Back to top ↑

2019

Using github for team collaboration

Using github for team collaboration

10 minute read      TECHNIQUES     

Tutorial on how to use Git and GitHub for team collaboration on a project. Content includes installing, setting up, creating a repository, making commits, un...

Back to top ↑

2017

Introduction to python for beginners

Introduction to python for beginners

3 minute read      TECHNIQUES     

In this tutorial post, I give a quick demo of how to install Python (using anaconda) and then getting started with writing simple scripts.

Back to top ↑