Introduction to the Neurotorch API

Introduction to the Neurotorch API#

Neurotorch is shipped with an API and plugin system. Popular use cases may be:

  • Automate the image analysis

  • Add custom filters

  • Interact with the UI and add custom features (e.g. as the shipped plugins for Fiji/ImageJ and TraceSelector)

Here you find the documentation for those interfaces.

Interact with Neurotorch#

Besides the common approach to start Neurotorch via a shortcut or importing the module like you can also import Neurotorch from any Python script

import neurotorchmz
session = neurotorchmz.start_background(headless=False)

The start_background() function returns a Session object which holds references to all objects associated with Neurotorch. It is your main connection point to the API. If you do not need the GUI, launch with headless=False. Please note that the session is returned immediately while you need to wait for the GUI to be ready before you should interact with the API.

Important classes#

If you want to use the Neurotorch API, you should have a look at the following classes first