DoubleBeam

class dysmalpy.instrument.DoubleBeam(major1=None, minor1=None, pa1=None, scale1=None, major2=None, minor2=None, pa2=None, scale2=None)[source]

Bases: object

Beam object that is the superposition of two Gaussian Beams

Parameters:
  • major1 (Quantity) – FWHM along the major axis of the first Gaussian beam

  • minor1 (Quantity) – FWHM along the minor axis of the first Gaussian beam

  • pa1 (Quantity) –

    Position angle of the first Gaussian beam:

    angle to beam major axis, in deg E of N (0 is N, +90 is E).

  • scale1 (float) – Flux scaling for the first Gaussian beam

  • major2 (Quantity) – FWHM along the major axis of the second Gaussian beam

  • minor2 (Quantity) – FWHM along the minor axis of the second Gaussian beam

  • pa2 (Quantity) –

    Position angle of the second Gaussian beam:

    angle to beam major axis, in deg E of N (0 is N, +90 is E).

  • scale2 (float) – Flux scaling for the second Gaussian beam

Methods Summary

as_kernel(pixscale[, support_scaling])

Calculate the convolution kernel for the DoubleBeam

Methods Documentation

as_kernel(pixscale, support_scaling=None)[source]

Calculate the convolution kernel for the DoubleBeam

Parameters:
  • pixscale (Quantity) – Pixel scale of image that will be convolved

  • support_scaling (int) – The amount to scale the stddev to determine the size of the kernel

Returns:

kernel_total – Convolution kernel for the DoubleBeam

Return type:

2D array