Effect of deposited energy on the structure of an exploding tungsten wire core in a vacuum