Skip to content

Instantly share code, notes, and snippets.

Avatar

Coleman Lab at UF ufcolemanlab

View GitHub Profile
@ufcolemanlab
ufcolemanlab / git_cheat-sheet.md
Created Oct 21, 2017 — forked from davfre/git_cheat-sheet.md
git commandline cheat-sheet
View git_cheat-sheet.md
@ufcolemanlab
ufcolemanlab / generate.py
Created Oct 13, 2016 — forked from Pretz/generate.py
CSV to WAV: Needed a way to convert a list of numbers in a CSV file to a wave audio file. Go python.
View generate.py
#!/usr/bin/python
import wave
import numpy
import struct
import sys
import csv
from scikits.samplerate import resample
def write_wav(data, filename, framerate, amplitude):
@ufcolemanlab
ufcolemanlab / readroi.py
Created Sep 1, 2016 — forked from luispedro/readroi.py
Read ImageJ's ROI files
View readroi.py
# Copyright: Luis Pedro Coelho <luis@luispedro.org>, 2012
# License: MIT
import numpy as np
def read_roi(fileobj):
'''
points = read_roi(fileobj)
Read ImageJ's ROI format
'''