The Princeton Neuroscience Institute has open source, freely-available toolboxes available for download: