neat.MorphTree.__copy__¶
- MorphTree.__copy__(*args, **kwargs)[source]¶
Fill the
new_treewith it’s corresponding nodes in the same structure asself, and copies all node variables that both tree classes have in common- Parameters:
new_tree (
STreeor derived class (default isNone)) – the tree class in which theselfis copied. IfNone, returns a copy ofself.- Return type:
The new tree instance