MouseLightLoader Class Documentation#
Package: sc.fiji.snt.io
Methods for retrieving reconstructions from MouseLight’s online database at ml-neuronbrowser.janelia.org *
Methods#
Getters Methods#
- static getAllLoaders()
Gets the loaders for all the cells publicly available in the MouseLight database.
- getDOI()#
Gets the DOI for this neuron.
- getID()#
Gets the neuron ID for this loader.
- getJSON()#
Gets all the data associated with this reconstruction as a JSON object.
- static getNeuronCount()
Gets the number of cells publicly available in the MouseLight database.
- getNodes()#
Script-friendly method to extract the nodes of a cellular compartment.
- getSWC()#
Gets all the data associated with this reconstruction in the SWC format.
- getSampleInfo()#
Gets sample information for this neuron.
- getSomaCompartment()#
Gets the brain compartment containing the soma.
- getSomaLocation()#
Gets the soma location for this neuron.
- getTree()#
Script-friendly method to extract the entire neuron as a collection of Paths.
- static isDatabaseAvailable()
Checks whether a connection to the MouseLight database can be established.
I/O Operations Methods#
- save(String)#
Convenience method to save JSON data.
- saveAsJSON(String)#
Convenience method to save JSON data to a local directory.
- saveAsSWC(String)#
Convenience method to save SWC data to a local directory.
Other Methods#
- static demoTrees()
Returns a collection of four demo reconstructions NB: Data is cached locally. No internet connection required.
- static extractNodes(File, String)
Extracts reconstruction(s) from a JSON file.
- static extractTrees(InputStream, String)
- idExists()#
Checks if the neuron ID exists in the database.
- static main(String;)