Posts by Tags

cupy

cupy

3 minute read

Published:

CuPy is a GPU array backend that includes some of the most commonly used NumPy (and some SciPy) functions. Following plot illustrates CuPy acceleration on the creation, and creation plus inversion of symmetric arrays of different sizes: CuPySpeedup

email

geopandas

antipode

4 minute read

Published:

Antipodes of a sphere are pairs of points separated by the diameter, i.e. for the Earth, you can reach the antipode of your location by drilling through the center all the way. Suppose you’re standing somewhere on land (about 30% of the Earth surface area) and you wanna know the probability for you to end up on land on the other side? Following script approximates this using maps generated through geopandas package. Antipodal points highlighted on Mollweide

geopy

talkmap and nominatim

1 minute read

Published:

The original repository for this webpage comes with an utility for creating interactive leaflet cluster map of talk locations. The script talkmap.py basically scraps talk location info from markdown files listed inside _talks/ and creates the map using geopy and getorg.

gpu

cupy

3 minute read

Published:

CuPy is a GPU array backend that includes some of the most commonly used NumPy (and some SciPy) functions. Following plot illustrates CuPy acceleration on the creation, and creation plus inversion of symmetric arrays of different sizes: CuPySpeedup

librosa

librosa

1 minute read

Published:

Just stumbled upon this powerful python package for audio analysis - librosa (see also McFee et al. 2015). Extracting waveforms and decomposing into harmonic/percussive components can all be done in single-liners, and it also substantially simplifies more complicated analyses like synchronization and Laplacian segmentation. Here is a quick decomposition of a sample Rammstein song from youtube:

Merged variable sampling rate:

maps

antipode

4 minute read

Published:

Antipodes of a sphere are pairs of points separated by the diameter, i.e. for the Earth, you can reach the antipode of your location by drilling through the center all the way. Suppose you’re standing somewhere on land (about 30% of the Earth surface area) and you wanna know the probability for you to end up on land on the other side? Following script approximates this using maps generated through geopandas package. Antipodal points highlighted on Mollweide

nominatim

talkmap and nominatim

1 minute read

Published:

The original repository for this webpage comes with an utility for creating interactive leaflet cluster map of talk locations. The script talkmap.py basically scraps talk location info from markdown files listed inside _talks/ and creates the map using geopy and getorg.

numpy

cupy

3 minute read

Published:

CuPy is a GPU array backend that includes some of the most commonly used NumPy (and some SciPy) functions. Following plot illustrates CuPy acceleration on the creation, and creation plus inversion of symmetric arrays of different sizes: CuPySpeedup

shoelace

less than 1 minute read

Published:

Say you have a hole-less non intersecting “simple” type polygon with $n$ sides and you want to find its area. There are many ways to do this, typically dividing the polygon into shapes with small number of vertices. But the most elegant solution was proposed centuries ago and now known as the Shoelace method: \(\displaystyle \mathrm{Area}=\frac{1}{2}\Bigg|\Big(\sum_{i=1}^{n-1}x_iy_{i+1}+x_n y_1\Big) - \Big(\sum_{i=1}^{n-1}x_{i+1} y_i+x_1 y_n\Big)\Bigg|\)

pafy

librosa

1 minute read

Published:

Just stumbled upon this powerful python package for audio analysis - librosa (see also McFee et al. 2015). Extracting waveforms and decomposing into harmonic/percussive components can all be done in single-liners, and it also substantially simplifies more complicated analyses like synchronization and Laplacian segmentation. Here is a quick decomposition of a sample Rammstein song from youtube:

Merged variable sampling rate:

polygon

shoelace

less than 1 minute read

Published:

Say you have a hole-less non intersecting “simple” type polygon with $n$ sides and you want to find its area. There are many ways to do this, typically dividing the polygon into shapes with small number of vertices. But the most elegant solution was proposed centuries ago and now known as the Shoelace method: \(\displaystyle \mathrm{Area}=\frac{1}{2}\Bigg|\Big(\sum_{i=1}^{n-1}x_iy_{i+1}+x_n y_1\Big) - \Big(\sum_{i=1}^{n-1}x_{i+1} y_i+x_1 y_n\Big)\Bigg|\)

pydub

librosa

1 minute read

Published:

Just stumbled upon this powerful python package for audio analysis - librosa (see also McFee et al. 2015). Extracting waveforms and decomposing into harmonic/percussive components can all be done in single-liners, and it also substantially simplifies more complicated analyses like synchronization and Laplacian segmentation. Here is a quick decomposition of a sample Rammstein song from youtube:

Merged variable sampling rate:

python

cupy

3 minute read

Published:

CuPy is a GPU array backend that includes some of the most commonly used NumPy (and some SciPy) functions. Following plot illustrates CuPy acceleration on the creation, and creation plus inversion of symmetric arrays of different sizes: CuPySpeedup

antipode

4 minute read

Published:

Antipodes of a sphere are pairs of points separated by the diameter, i.e. for the Earth, you can reach the antipode of your location by drilling through the center all the way. Suppose you’re standing somewhere on land (about 30% of the Earth surface area) and you wanna know the probability for you to end up on land on the other side? Following script approximates this using maps generated through geopandas package. Antipodal points highlighted on Mollweide

librosa

1 minute read

Published:

Just stumbled upon this powerful python package for audio analysis - librosa (see also McFee et al. 2015). Extracting waveforms and decomposing into harmonic/percussive components can all be done in single-liners, and it also substantially simplifies more complicated analyses like synchronization and Laplacian segmentation. Here is a quick decomposition of a sample Rammstein song from youtube:

Merged variable sampling rate:

talkmap and nominatim

1 minute read

Published:

The original repository for this webpage comes with an utility for creating interactive leaflet cluster map of talk locations. The script talkmap.py basically scraps talk location info from markdown files listed inside _talks/ and creates the map using geopy and getorg.

shapely

antipode

4 minute read

Published:

Antipodes of a sphere are pairs of points separated by the diameter, i.e. for the Earth, you can reach the antipode of your location by drilling through the center all the way. Suppose you’re standing somewhere on land (about 30% of the Earth surface area) and you wanna know the probability for you to end up on land on the other side? Following script approximates this using maps generated through geopandas package. Antipodal points highlighted on Mollweide

youtube

librosa

1 minute read

Published:

Just stumbled upon this powerful python package for audio analysis - librosa (see also McFee et al. 2015). Extracting waveforms and decomposing into harmonic/percussive components can all be done in single-liners, and it also substantially simplifies more complicated analyses like synchronization and Laplacian segmentation. Here is a quick decomposition of a sample Rammstein song from youtube:

Merged variable sampling rate: