These instructions are for installing NEURON and NetPyNE with linux and a conda environment.
Create a neuron directory in your home directory, put the gzipped source files in it, and expand them.
cd $HOME
mkdir neuron
mv iv-mm.tar.gz neuron| from __future__ import print_function | |
| import os.path as op | |
| import inspect | |
| import distance | |
| import numpy as np | |
| from scipy.misc import comb | |
| import progressbar as pb | |
| import progressbar.widgets as pw |
| # -*- coding: utf-8 -*- | |
| # Authors: Eric Larson <[email protected]> | |
| # | |
| # License: BSD (3-clause) | |
| from __future__ import print_function | |
| from copy import deepcopy | |
| import time |
| #!/usr/bin/env python | |
| # | |
| # Solve LASSO regression problem with ISTA and FISTA | |
| # iterative solvers. | |
| # Author : Alexandre Gramfort, [email protected] | |
| # License BSD | |
| import time | |
| from math import sqrt |
| import os | |
| import ipywidgets as widgets | |
| class FileBrowser(object): | |
| def __init__(self): | |
| self.path = os.getcwd() | |
| self._update_files() | |
| sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
| sh -c 'echo deb https://apt.dockerproject.org/repo ubuntu-trusty main > /etc/apt/sources.list.d/docker.list' | |
| # Install docker | |
| sudo apt-get update | |
| sudo apt-get purge lxc-docker | |
| sudo apt-get install linux-image-extra-$(uname -r) | |
| sudo apt-get install docker-engine | |
| sudo service docker start |
| [Desktop Entry] | |
| Type=Application | |
| Terminal=false | |
| StartupNotify=true | |
| Name=Sublime Text 3 | |
| Name[en_US]=Sublime Text 3 | |
| GenericName=Text Editor | |
| GenericName[en_US]=Text Editor | |
| Comment=Edit text files | |
| Comment[en_US]=Edit text files |
| returns: | |
| 27.0745537031 | |
| 365.073216463 | |
| 27.1356784749 |
| # Author : Alex Gramfort | |
| # license BSD (copied for Chaco example data_stream.py) | |
| # to use it: | |
| # Start ./sine2ft in the background (available in fieldtrip repo) | |
| # Start the buffer | |
| # Then run this script in a python terminal | |
| # Major library imports | |
| import sys |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: