Pointing offsets

Scripts used for generating voltage pattern files and input data for mid_simulations.py, which then are used for simulating data with pointing offsets introduced in azimuth (Az) and elevation (El). The second script calculates RA and DEC for phase centre from input Az/El, which define a 5-point scan observation.

gen_gaussian_vp

Generate Gaussian Voltage Pattern for pointing offset simulations.

usage: gen_gaussian_vp.py [-h] [--vp_directory VP_DIRECTORY]
                          [--vp_size VP_SIZE] [--cellsize CELLSIZE]
                          [--frequency FREQUENCY]
                          [--channel_bandwidth CHANNEL_BANDWIDTH]
                          [--band BAND] [--nchan NCHAN]

Named Arguments

--vp_directory

Location of the output of voltage pattern files

--vp_size

Number of pixels in voltage pattern image

--cellsize

Cell size (deg)

Default: 0.0078125

--frequency

Intermediate Frequency (Hz)

Default: 1360000000.0

--channel_bandwidth

Channel bandwidth (Hz)

Default: 48828.125

--band

Name of the Band (B2 or B5)

Default: 'B2'

--nchan

The number of channels

Default: 8

get_radec_time

Calculate RA and DEC based on AzEl pointing offset.

usage: get_radec_time.py [-h] [--output_dir OUTPUT_DIR] [--file FILE]
                         [--offset OFFSET OFFSET] [--duration DURATION]
                         [--ra RA] [--dec DEC] [--time TIME]

Named Arguments

--output_dir

Location of output MS files

Default: '.'

--file

File name

Default: 'pos_ha_astropy_band2.dat'

--offset

Azimuth and elevation offset (deg)

Default: [0.333, 0.333]

--duration

Observational duration (seconds)

Default: 5

--ra

Source Right Ascension (J2000.0, unit:degrees)

Default: 294.8629130087718

--dec

Source Declination (J2000.0, unit:degrees)

Default: -63.44029403519162

--time

Observational time (e.g., 2000-01-01T6:45:00 )

Default: '2000-01-01T6:45:00'

Global pointing