navis 1.4.0
  • Install
  • Quickstart
  • Tutorials
  • API
  • Changelog
  • Github
  • Ecosystem
  • Site
    • Page
        • navis.health_check
          • health_check()

    navis.health_check¶

    navis.health_check(x, verbose=True)[source]¶

    Run a health check on TreeNeurons and flag potential issues.

    Parameters:
    • x (TreeNeuron | NeuronList) – Neuron(s) whose nodes to classify nodes.

    • verbose (bool) – If True, will print errors in addition to returning them.

    Return type:

    list of issues or None

    Examples

    >>> import navis
    >>> n = navis.example_neurons(1)
    >>> navis.health_check(n)
    Neuron 1734350788 seems perfectly fine.
    

    Back to top

    Source

    © Copyright 2018, Philipp Schlegel.
    Created using Sphinx 5.3.0.