Skip to content

Commit

Permalink
Add examples and test data
Browse files Browse the repository at this point in the history
  • Loading branch information
lidakanari committed Feb 8, 2018
1 parent 169d002 commit 4c13ca0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/fix_diameters.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import tns

# Cell to use as input for the diameter model
input_cell = '../../bitbucket/MorphSynthesis/Input/L5SPC_Input/GoodRepaired/Fluo55_low.h5'
synthesized_cell = './local/Neuron.h5'
output_cell = './local/Neuron_diam'

tns.diametrize(input_file=input_cell,
cell_name=synthesized_cell,
new_name=output_cell)
2 changes: 2 additions & 0 deletions examples/generate_cell.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import tns
from tns import extract_input
from tns.grower import neuron

# Extract distributions from cells in input directory
filename = '../Input/L5SPC_Input/GoodRepaired/'
Expand Down
File renamed without changes.

0 comments on commit 4c13ca0

Please sign in to comment.