Skip to content

Instantly share code, notes, and snippets.

View har1eyk's full-sized avatar

Harley King har1eyk

  • Institute for Bioscience and Biotechnology Research
  • Gaithersburg, MD
View GitHub Profile
@har1eyk
har1eyk / peakdetect.py
Created February 15, 2016 14:46 — forked from sixtenbe/analytic_wfm.py
Peak detection in Python
import numpy as np
from math import pi, log
import pylab
from scipy import fft, ifft
from scipy.optimize import curve_fit
i = 10000
x = np.linspace(0, 3.5 * pi, i)
y = (0.3*np.sin(x) + np.sin(1.3 * x) + 0.9 * np.sin(4.2 * x) + 0.06 *
np.random.randn(i))
@har1eyk
har1eyk / .bash_profile
Created March 23, 2018 21:02 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management