pythtb.TBModel.copy#

TBModel.copy()[source]#

Return a deep copy of the model.

Added in version 2.0.0.

Returns:
TBModel

Independent copy of self.

Examples

>>> tb2 = tb.copy()
>>> tb2 is tb
False