Skip to content

Instantly share code, notes, and snippets.

Avatar

Robin De Schepper Helveg

View GitHub Profile
View arb_test.py
import arbor, dbbs_models
from patch import p
# cell = arbor.cable_cell(morph.morphology, labels, decor)
model = dbbs_models.StellateCell
cell = model.cable_cell()
neuron_cell = model()
print(neuron_cell.soma)
neuron_cell.record_soma()
neuron_time = p.time
p.celsius = 32
@Helveg
Helveg / nrnpyenv_install.sh
Created Mar 20, 2021
NEURON pyenv install script
View nrnpyenv_install.sh
#!/bin/bash
# https://github.com/neuronsimulator/nrn/issues/409#issuecomment-576953060
#
# If first arg is "clean" then remove the neuron module
# from site-packages and exit.
#
# If first arg is "test" then run "python -c 'import neuron; neuron.test()'"
#
# If first arg is "install" then build and install with support for all
# subsequent pyenv version names.
@Helveg
Helveg / blender-pizdaint.md
Created Sep 18, 2020
Building a headless Blender on PizDaint
View blender-pizdaint.md
  1. Download source & dependencies
# Make a folder
mkdir ~/blender-git
cd  ~/blender-git
# Clone the Blender repo
git clone https://git.blender.org/blender.git
# Clone the dependencies
mkdir ~/blender-git/lib
cd ~/blender-git/lib