Gateau User Manual
Atmospheric simulation of astronomical signals
scan_patterns.py File Reference

File containing some commonly encountered scanning patterns. 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 period_cycle, float period_petal)
 
def gateau.scan_patterns.check_size (times, az0, el0)
 Check size of az0 and el0 values. More...
 

Detailed Description

File containing some commonly encountered scanning patterns.

Function Documentation

◆ check_size()

def gateau.scan_patterns.check_size (   times,
  az0,
  el0 
)

Check size of az0 and el0 values.

If az0 and/or el0 are float, resizes to times array.

◆ 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.

◆ 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.