Comparative analysis of real and $$\mathcal{P}\mathcal{T}$$ -symmetric Scarf potentials