hera_sim.vis.sim_red_data¶
- hera_sim.vis.sim_red_data(reds, gains=None, shape=(10, 10), gain_scatter=0.1)[source]¶
Simulate thermal-noise-free random but redundant (up to gains) visibilities.
- Parameters:
reds (list of list of tuples) – list of lists of baseline-pol tuples where each sublist has only redundant pairs
gains (dict) – pre-specify base gains to then scatter on top of in the {(index,antpol): ndarray} format. Default gives all ones.
shape (tuple) – (Ntimes, Nfreqs).
gain_scatter (float) – relative amplitude of per-antenna complex gain scatter
- Returns:
dict – true gains used in the simulation in the {(index,antpol): np.array} format
dict – true underlying visibilities in the {(ind1,ind2,pol): np.array} format
dict – simulated visibilities in the {(ind1,ind2,pol): np.array} format