This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// yet another multichannel profile plotter | |
// with smart(?) lookuptables | |
Stack.getDimensions(w, h, c, z, t); | |
p = getProfile(); | |
getStatistics(null, null, min, max); | |
Plot.create("Multi-Channel Profile Plot", "Distance (pixels)", "Value"); | |
Plot.setLimits(0,p.length,min,max); | |
for (i=1;i<=c;i++) { | |
Stack.setChannel(i); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
from tracing import PathAndFillManager | |
# An example script showing how to convert all the .traces | |
# files in a directory to SWC files. (The .traces format | |
# is the native file format of Simple Neurite Tracer.) | |
def run(): | |
d = IJ.getDirectory("Choose your directory of .traces files...") |