Correlation between muonic levels and nuclear structure in muonic atoms