processing_components/simulation/rfi.py
def calculate_rfi_at_station(propagators, emitter):
    """ Calculate the rfi at each station

    :param propagators: [nstations, nchannels]
    :param emitter: [ntimes, nchannels]
    :return: Complex array [nstations, ntimes, nchannels]
    """
    rfi_at_station = emitter[:, numpy.newaxis, ...] * propagators[numpy.newaxis, ...]
    rfi_at_station[numpy.abs(rfi_at_station)<1e-15] = 0.
    return rfi_at_station
 Calculate the rfi at each station

    :param propagators: [nstations, nchannels]
    :param emitter: [ntimes, nchannels]
    :return: Complex array [nstations, ntimes, nchannels]
    
Calculate the rfi at each station
Calculate the rfi at each station
def calculate_rfi_at_station(propagators, emitter):
    rfi_at_station = emitter[:, numpy.newaxis, ...] * propagators[numpy.newaxis, ...]
    rfi_at_station[numpy.abs(rfi_at_station)<1e-15] = 0.
    return rfi_at_station
def calculate_rfi_at_station ( propagators , emitter ) : rfi_at_station = emitter [ : , numpy . newaxis , ... ] * propagators [ numpy . newaxis , ... ] rfi_at_station [ numpy . abs ( rfi_at_station ) < 1e-15 ] = 0. return rfi_at_station
Calculate the rfi at each station
Calculate the rfi at each station
""" Calculate the rfi at each station

    :param propagators: [nstations, nchannels]
    :param emitter: [ntimes, nchannels]
    :return: Complex array [nstations, ntimes, nchannels]
    """
Complex array [nstations, ntimes, nchannels]
Complex array [ nstations ntimes nchannels ]
propagators
None
emitter
None