Tekstiviesti: Spatial distribution of ion emission in gas-puff z-pinches and dense plasma foci