Simulation
rascil.processing_components.simulation.atmospheric_screen Module
Functions for tropospheric and ionospheric modeling : see SDP Memo 97
Functions
|
Find the pierce points for a flat screen at specified height |
|
Create gaintables from a screen calculated using ARatmospy |
|
Grid a gaintable to a screen image |
|
Calculate structure function image from screen |
|
Plot a gaintable on an ionospheric screen |
rascil.processing_components.simulation.noise Module
Functions that add noise.
Functions
|
Calculate noise rms per visibility [nchan, npol] |
|
Add noise to a visibility |
rascil.processing_components.simulation.pointing Module
Functions for simulating pointing errors
Functions
|
Create gaintables from a pointing table |
|
Create a pointing table with time series created from PSD. |
|
Simulate a gain table |
rascil.processing_components.simulation.rfi Module
Functions used to simulate RFI. Developed as part of SP-122/SIM.
The scenario is: * There is a TV station at a remote location (e.g. Perth), emitting a broadband signal (7MHz) of known power (50kW). * The emission from the TV station arrives at LOW stations with phase delay and attenuation. Neither of these are well known but they are probably static. * The RFI enters LOW stations in a side-lobe of the main beam. Calculations by Fred Dulwich indicate that this provides attenuation of about 55 - 60dB for a source close to the horizon. * The RFI enters each LOW station with fixed delay and zero fringe rate (assuming no e.g. ionospheric ducting) * In tracking a source on the sky, the signal from one station is delayed and fringe-rotated to stop the fringes for one direction on the sky. * The fringe rotation stops the fringe from a source at the phase tracking centre but phase rotates the RFI, which now becomes time-variable. * The correlation data are time- and frequency-averaged over a timescale appropriate for the station field of view. This averaging de-correlates the RFI signal. * We want to study the effects of this RFI on statistics of the images: on source and at the pole.
Functions
|
Average the correlation in time and frequency :param correlation: Correlation(ntimes, nant, nants, nchan] :param channel_width: Number of channels to average :param time_width: Number of integrations to average :return: |
|
Simulate RFI in a BlockVisility |
Form the correlation from the rfi at the station |
rascil.processing_components.simulation.simulation_helpers Module
Functions that help with SKA simulations
Functions
|
Standard plot of visibility |
|
Standard plot of visibility |
Find all times for which a phasecentre is above the elevation limit |
|
|
Standard plot of uv coverage |
|
Standard plot of uw coverage |
|
Standard plot of vw coverage |
|
Standard plot of uv coverage |
|
Standard plot of az el coverage |
|
Standard plot of gain table |
|
Standard plot of pointing table |
|
Rough estimates of HWHM and null locations |
|
Construct components for simulation |
|
Standard plot of parallactic angle coverage |
rascil.processing_components.simulation.surface Module
Functions for dish surface modeling
Functions
|
Create gaintables for a set of zernikes |
|
Create gaintables from a list of components and voltage patterns |
rascil.processing_components.simulation.testing_support Module
Functions that aid testing in various ways. A typical use would be:
lowcore = create_named_configuration('LOWBD2-CORE')
times = numpy.linspace(-3, +3, 13) * (numpy.pi / 12.0)
frequency = numpy.array([1e8])
channel_bandwidth = numpy.array([1e7])
# Define the component and give it some polarisation and spectral behaviour
f = numpy.array([100.0])
flux = numpy.array([f])
phasecentre =
SkyCoord(ra=+15.0 * u.deg, dec=-35.0 * u.deg, frame='icrs', equinox='J2000')
compabsdirection =
SkyCoord(ra=17.0 * u.deg, dec=-36.5 * u.deg, frame='icrs', equinox='J2000')
comp = SkyComponent(flux=flux, frequency=frequency, direction=compabsdirection,
polarisation_frame=PolarisationFrame('stokesI'))
image = create_test_image(frequency=frequency,
phasecentre=phasecentre,
cellsize=0.001,
polarisation_frame=PolarisationFrame('stokesI'))
vis = create_visibility(lowcore, times=times, frequency=frequency,
channel_bandwidth=channel_bandwidth,
phasecentre=phasecentre, weight=1,
polarisation_frame=PolarisationFrame('stokesI'),
integration_time=1.0)
Functions
|
Create LOW test image from the GLEAM survey |
Create sky components from the GLEAM survey |
|
Create LOW test skymodel from the GLEAM survey |
|
|
Create a useful test image |
|
Create MID test image from S3 |
Create test image from S3 |
|
|
|
|
|
|
Make a standard visibility simulation |
|
Simulate gain errors and apply |
|
Make a new canonical shape Image, extended along third and fourth axes by replication. |
|
Simulate a gain table |