Skip to content

Album/Neuron-Studio-.swc-Rescaler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SWC Rescaler

by Album Shen

Converts a .swc file (used for tracing neuron models in NeuronStudio) from one voxel scale to another.

Parameters:

  • ['SWCRescaler.py', input, x1, y1, z1, x2, y2, z2]
  • input: .swc file to be read; results will be output to the filename plus the extension '_RESCALED.swc'
  • x1, y1, z1: original voxel scale
  • x2, y2, z2: revised voxel scale

DO ONE OF THE FOLLOWING BEFORE USING:

  • Uncomment line 87 below "# Sample run" to allow for manual entry of input filename and pertinent scales directly into the script. Script can be run using "python SWCRescaler.py" at the command line or simply clicking to execute.

  • Uncomment line 90 below "# Running through command line" to run by passing parameters through command line.

About

Converts .swc files from one voxel scale to another.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages