Adaption of original Neurontools source code to function as a Dockerized service.
The following methods are provided:
Clear previously submitted files
Requires swc file as POST payload
Will calculate sent pvecs
Fetch calculated pvecs as JSON with following structure for each neuron with name neuronname
{"pvecs":
{"[neuronname]":
{
"distance": "[calculated distance]",
"Sfactor": "[calculated scaling factor]",
"vector": "[calculated coeff vector"]
}
}
}Zips calculated pvecs and returns as zip file
Deployed and callable at with http://cng-nmo-main.orc.gmu.edu/swc2pvec/ as API root.