pythtb.WFArray.empty_like# WFArray.empty_like(nstates=None)[source]# Create a new WFArray object with the same Lattice and Mesh. Parameters: nstatesint, optionalNumber of states for the new WFArray. If None, uses the current number of states (default). Changed in version 2.0.0: Renamed from nsta_arr for consistency with initialization. Returns: WFArrayA new WFArray object with the same Lattice and Mesh.