neat.MorphTree.add_loc

MorphTree.add_loc(loc, name)[source]

Add location to set of locations of given name

Parameters:
  • loc (dict, tuple or neat.MorphLoc) – the location to be added

  • name (str) – the name of the set of locations to which the location is added