Skip to content

Instantly share code, notes, and snippets.

View mwv's full-sized avatar

Maarten Versteegh mwv

  • Amsterdam, the Netherlands
View GitHub Profile
# read shorten (shn) files into numpy arrays
from __future__ import division
import os.path as path
import os
from subprocess import call
import struct
import tempfile
def shnread(shnfile):