Utility¶
processing_library.util Package¶
Functions¶
|
Average the array arr with weights by chunks |
|
Average the two dimensional array arr with weights by chunks |
|
Converting Az El to HA Dec |
|
Compute baselines in uvw co-ordinate system from uvw co-ordinate system station positions |
|
Calculates the bearing between two points. |
|
|
|
Convert HA Dec to Az El |
|
Insert point into image using specified function |
|
|
|
|
|
Convert l,m,n coordinate system + phascentre to astropy sky coordinate relative to a phase centre. |
|
Calculate parallactic angle and zenith angle of source at ha, dec observed from site at latitude dec |
|
Calculate parallactic angle of source at ha, dec observed from site at latitude dec |
|
Simulate visibilities for unit amplitude point source at direction cosines (l,m) relative to the phase centre. |
|
Convert astropy sky coordinates into the l,m,n coordinate system relative to a phase centre. |
|
Calculate the Tukey (tapered cosine) filter |
|
Rotate \((x,y,z)\) positions relative to a sky position at \((ha, dec)\) to earth coordinates. |
|
Transforms UVW baseline coordinates such that the image is transformed with the given matrix. |
|
Shift visibilities by the given image-space distance. |
|
Rotate local XYZ coordinates into celestial XYZ coordinates. |
|
Calculate baselines in \((u,v,w)\) co-ordinate system for a range of hour angles (i.e. |
|
Rotate \((x,y,z)\) positions in earth coordinates to \((u,v,w)\) coordinates relative to astronomical source position \((ha, dec)\). |