Title: Studies of linear and toroidal pinch discharges