Skip to content

Instantly share code, notes, and snippets.

View asinghvi17's full-sized avatar
🔍

Anshul Singhvi asinghvi17

🔍
  • Columbia University
  • New York, NY
View GitHub Profile
@asinghvi17
asinghvi17 / frequency_estimator.py
Created June 28, 2019 15:16 — forked from endolith/frequency_estimator.py
Frequency estimation methods in Python
from __future__ import division
from numpy.fft import rfft
from numpy import argmax, mean, diff, log, nonzero
from scipy.signal import blackmanharris, correlate
from time import time
import sys
try:
import soundfile as sf
except ImportError:
from scikits.audiolab import flacread
@asinghvi17
asinghvi17 / getting-julia
Last active December 23, 2018 17:24 — forked from benmarwick/getting-julia
install and build Julia in ubuntu
#!/bin/bash
CWD=$(pwd)
DOWNDIRDIR="~/git" # modify as necessary for the directory you want to install Julia into
cd DOWNDIR # go to the download directory
git clone -b master git://github.com/JuliaLang/julia.git # clone the repo
# needed these on EC2
sudo apt-get update
sudo apt-get install gcc