During my research I've collected, modified, or created a number of programs
for use on a Mac running OS 10 (OSX). However, many of these programs will
also run on other POSIX systems with compatible versions of certain programs
(like awk or date--Sun computers, while being old workhorses, lack
many enhanced codes that the Macs have out-of-the-box). I make no
statements about the following code's elegance or accuracy. I just ask that if you find a bug, please let me know.
e2dat.m convert epoch time (sec from 1970) to [yr mo dy hr mn sc]
dat2e.m convert [yr mo dy hr mn sc] to epoch seconds
readcss.m to read time series data from a wfdisc file.
readcss2.m to read time series data from a wfdisc file (this version accepts start/stop times by year month day hour min sec format).
Check out this readcss example.
bpfilt.m bandpass, lowpass, highpass filter matlab function. use no other! Tips: deman and detrend data first before bandpass or highpass filtering.
psdpdf.m to calculate a probability distribution function of power spectral densities for the input even-spaced time series (example).