create_vp_generic_numeric

create_vp_generic_numeric(model, pointingcentre=None, diameter=15.0, blockage=0.0, taper='gaussian', edge=0.03162278, zernikes=None, padding=4, use_local=True)[source]

Make an image like model and fill it with an analytical model of the primary beam

The elements of the analytical model are: - dish, optionally blocked - Gaussian taper, default is -12dB at the edge - Offset to pointing centre (optional) - zernikes in a list of dictionaries. Each list element is of the form {“coeff”:0.1, “noll”:5}. See aotools for more details - Output image can be in RA, DEC coordinates or AZELGEO coordinates (the default). use_local=True means to use AZELGEO coordinates centered on 0deg 0deg.

The dish is zero padded according to padding and FFT’ed to get the voltage pattern.

Parameters:
  • model

  • pointingcentre – SkyCoord of desired pointing centre

  • diameter – Diameter of dish in metres

  • blockage – Blockage of dish in metres

  • taper – “Gaussian” or None

  • edge – Value of taper at the end of the dish (default corresponds to -12dB)

  • zernikes – Zernikes to be applied as phase across the dish (see above)

  • padding – Pad the image by this amount

  • use_local – Use local frame (AZELGEO)?

Returns: