Relativistic calculations of intensity distributions in elemental maps using contrast transfer functions