Gateau User Manual
Atmospheric simulation of astronomical signals
Built-in Scan Pattern Reference

This page contains the API reference for the built-in scan patterns of gateau. More...

Functions

Union[np.ndarray, np.ndarray] gateau.scan_patterns.stare (np.ndarray times, Union[float, np.ndarray] az0, Union[float, np.ndarray] el0)
 Get scanning pattern for a stare. More...
 
Union[np.ndarray, np.ndarray] gateau.scan_patterns.chop (np.ndarray times, Union[float, np.ndarray] az0, Union[float, np.ndarray] el0, float duty_cycle, float throw)
 Get scanning pattern for a sky chopper, alternating between two points on sky. More...
 
Union[np.ndarray, np.ndarray] gateau.scan_patterns.daisy (np.ndarray times, Union[float, np.ndarray] az0, Union[float, np.ndarray] el0, float r_petal, float f_cycle, float f_petal)
 Get scanning pattern for a daisy scan. More...
 
Union[np.ndarray, np.ndarray] gateau.scan_patterns.chopnod (np.ndarray times, Union[float, np.ndarray] az0, Union[float, np.ndarray] el0, float chop_duty_cycle, float nod_duty_cycle, float throw)
 Get scanning pattern for chopping and nodding. More...
 

Detailed Description

This page contains the API reference for the built-in scan patterns of gateau.

Function Documentation

◆ chop()

Union[np.ndarray, np.ndarray] gateau.scan_patterns.chop ( np.ndarray  times,
Union[float, np.ndarray]  az0,
Union[float, np.ndarray]  el0,
float  duty_cycle,
float  throw 
)

Get scanning pattern for a sky chopper, alternating between two points on sky.

Currently, only chopping in azimuth direction is supported.

Parameters
timesNumpy array containing times of scan. Units: seconds.
az0Azimuth co-ordinate of the reference chop position. Units: deg.
el0Elevation co-ordinate to stare at. Units: deg.
duty_cycleFrequency of a full revolution of the chopper blade. Units: Hz.
throwAngular distance between reference chop and other chop. Units: deg.
Returns
Array of azimuth and elevation co-ordinates for the observation.

◆ chopnod()

Union[np.ndarray, np.ndarray] gateau.scan_patterns.chopnod ( np.ndarray  times,
Union[float, np.ndarray]  az0,
Union[float, np.ndarray]  el0,
float  chop_duty_cycle,
float  nod_duty_cycle,
float  throw 
)

Get scanning pattern for chopping and nodding.

In this observation mode, the telescope observes 3 positions: one on-source and two off-source. It first rapidly chops between the on-source and one of the off-source position. Then it moves to alternating between on-source and the other off-source position. Currently, only chopping and nodding in azimuth direction is supported.

Parameters
timesNumpy array containing times of scan. Units: seconds.
az0Azimuth co-ordinate of the reference chop position. Units: deg.
el0Elevation co-ordinate to stare at. Units: deg.
chop_duty_cycleFrequency of a full revolution of the chopper blade. Units: Hz.
nod_duty_cycleFrequency of a full nod cycle (both telescope positions). Units: Hz.
throwAngular distance between reference chop and other chop. Units: deg.
Returns
Array of azimuth and elevation co-ordinates for the observation.

◆ daisy()

Union[np.ndarray, np.ndarray] gateau.scan_patterns.daisy ( np.ndarray  times,
Union[float, np.ndarray]  az0,
Union[float, np.ndarray]  el0,
float  r_petal,
float  f_cycle,
float  f_petal 
)

Get scanning pattern for a daisy scan.

Parameters
timesNumpy array containing times of scan. Units: seconds.
az0Azimuth co-ordinate of the center of the daisy scan. Units: deg.
el0Elevation co-ordinate of the center of the daisy scan. Units: deg.
r_petalDistance of center of scan to edge of the petal. Units: deg.
f_cycleFrequency of a full cycle. Units: Hz.
f_petalFrequency of a single petal. Units: Hz.
Returns
Array of azimuth and elevation co-ordinates for the observation.

◆ stare()

Union[np.ndarray, np.ndarray] gateau.scan_patterns.stare ( np.ndarray  times,
Union[float, np.ndarray]  az0,
Union[float, np.ndarray]  el0 
)

Get scanning pattern for a stare.

Parameters
timesNumpy array containing times of scan.
az0Azimuth co-ordinate to stare at.
el0Elevation co-ordinate to stare at.
Returns
Array of azimuth and elevation co-ordinates for the observation.