neuroarch.na.NeuroArch.find_objs

NeuroArch.find_objs(cls, **attr)[source]

Find all instances in the database that meets the criteria.

Parameters:
  • cls (str) – Node class or classes to retrieve.

  • attr (dict (optional)) – node attributes using key=value.

Returns:

nodes – Nodes that are found.

Return type:

list