Effect of tailored density profiles on the stability of imploding Z-pinches at microsecond rise time megaampere currents. (6th December 2021)