In [1]:
import pymaid
rm = pymaid.CatmaidInstance('https://www.your.catmaid-server.org',
api_token='YOURTOKEN',
http_user='user', # omit if not required
http_password='pw') # omit if not required
In [2]:
skids = pymaid.get_skids_by_annotation('glomerulus DL4')
skids
Out[2]:
In [3]:
tn_table = pymaid.get_treenode_table(skids[0])
tn_table.head()
Out[3]:
In [4]:
neuron_list = pymaid.get_neuron ( ['57311','27295'] )
In [5]:
neuron_list
Out[5]:
In [6]:
neuron_list[0]
Out[6]:
In [7]:
n = neuron_list[0]
# .nodes is a pandas DataFrame and we can use .head() to show the first couple entries
n.nodes.head()
Out[7]:
In [8]:
n.connectors.head()
Out[8]:
In [9]:
n.skeleton_id
Out[9]:
In [10]:
neuron_list.skeleton_id
Out[10]:
In [11]:
neuron_list[0]
Out[11]:
In [12]:
neuron_list[0].review_status
Out[12]:
In [13]:
neuron_list
Out[13]:
In [14]:
neuron_list[0].get_review()
Out[14]:
In [15]:
neuron_list.review_status
Out[15]: