beam Package

beam Package

hide.beam.AxisSpec

Beam definition

alias of axis

class hide.beam.BeamSpec(ra, dec, pixels)

Bases: tuple

dec

Alias for field number 1

pixels

Alias for field number 2

ra

Alias for field number 0

class hide.beam.ResponseSpec(pixel_idxs, ra, dec)

Bases: tuple

dec

Alias for field number 2

pixel_idxs

Alias for field number 0

ra

Alias for field number 1

airy Module

Created on Apr 25, 2016

author: jakeret

hide.beam.airy.airy_wrapper(fwhm)[source]
hide.beam.airy.bessel_j1(x)[source]
hide.beam.airy.load_beam_profile(beam_spec, frequencies, params)[source]

Creates a 2d airy beam profile using the given gain template

Parameters:params – The params instance with the paramterization
Returns profile:
 A list of callable beam profiles
hide.beam.airy.normalization(fwhm, nside)[source]
hide.beam.airy.sigma2fwhm(sigma)[source]

airy_disk Module

Created on Apr 25, 2016

author: jakeret

hide.beam.airy_disk.load_beam_profile(beam_spec, frequencies, params)[source]

Creates a 2d airy disk beam profile for the given params definition

Parameters:params – The params instance with the paramterization
Returns profile:
 A list of callable beam profiles

gaussian Module

Created on Dec 8, 2014

author: jakeret

hide.beam.gaussian.gauss_wrapper(sigma, beam_response)[source]
hide.beam.gaussian.load_beam_profile(beam_spec, frequencies, params)[source]

Creates a 2d gaussian beam profile for the given params definition

Parameters:params – The params instance with the paramterization
Returns profile:
 A list of callable beam profiles
hide.beam.gaussian.normalization(sigma, nside)[source]

gaussian_interp Module

Created on Dec 8, 2014

author: jakeret

hide.beam.gaussian_interp.load_beam_profile(beam_spec, frequencies, params)[source]

Creates a tophat beam profile for the given params definition

Parameters:params – The params instance with the paramterization
Returns profile:
 The top hat profile
hide.beam.gaussian_interp.normalization(sigma, nside)[source]
hide.beam.gaussian_interp.spline(func, beam_response)[source]

top_hat Module

Created on Dec 8, 2014

author: jakeret

hide.beam.top_hat.load_beam_profile(beam_spec, frequencies, params)[source]

Creates a tophat beam profile for the given params definition

Parameters:params – The params instance with the paramterization
Returns profile:
 The top hat profile
hide.beam.top_hat.normalization(r, nside)[source]