 }
 
 
-void mult_e_jones_by_source_field_amp(const unsigned num_stations,
+void mult_e_jones_by_source_field_amp_d(const unsigned num_stations,
         const oskar_SkyModelLocal_d* hd_sky, double2 * d_e_jones)
 {
     int num_sources = hd_sky->num_sources;

}


void scale_telescope_coords_to_wavenumbers(oskar_TelescopeModel* hd_telescope,
        const double wavenumber)
{
    int num_stations = hd_telescope->num_antennas;

                    telescope.latitude, &h_beam_l, &h_beam_m, &h_beam_n);

            // Evaluate E-Jones for each source position per station
            evaluate_station_beams_d(num_stations, hd_stations, &hd_sky_local,
                    h_beam_l, h_beam_m, d_weights_work, disable_e_jones,
                    telescope.identical_stations, d_e_jones);


            // Multiply e-jones by source brightness.
            mult_e_jones_by_source_field_amp_d(num_stations, &hd_sky_local, d_e_jones);

            // Convert source positions in ra, dec to lmn relative to the phase
            // centre.
