PointingTable

class PointingTable(data=None, pointing: ~typing.Optional[~numpy.array] = None, nominal: ~typing.Optional[~numpy.array] = None, time: ~typing.Optional[~numpy.array] = None, interval=None, weight: ~typing.Optional[~numpy.array] = None, residual: ~typing.Optional[~numpy.array] = None, frequency: ~typing.Optional[~numpy.array] = None, receptor_frame: ~rascil.data_models.polarisation.ReceptorFrame = <rascil.data_models.polarisation.ReceptorFrame object>, pointing_frame: str = 'local', pointingcentre=None, configuration=None)[source]

Bases: Dataset

Pointing table with data_models: time, antenna, offset[:, chan, rec, 2], weight columns

Here is an example:

<xarray.PointingTable>
Dimensions:    (angle: 2, antenna: 115, frequency: 3, receptor: 2, time: 3)
Coordinates:
  * time       (time) float64 5.085e+09 5.085e+09 5.085e+09
  * antenna    (antenna) int64 0 1 2 3 4 5 6 7 ... 108 109 110 111 112 113 114
  * frequency  (frequency) float64 1e+08 1.05e+08 1.1e+08
  * receptor   (receptor) <U1 'X' 'Y'
  * angle      (angle) <U2 'az' 'el'
Data variables:
    pointing   (time, antenna, frequency, receptor, angle) float64 -0.0002627...
    nominal    (time, antenna, frequency, receptor, angle) float64 -3.142 ......
    weight     (time, antenna, frequency, receptor, angle) float64 1.0 ... 1.0
    residual   (time, frequency, receptor, angle) float64 0.0 0.0 ... 0.0 0.0
    interval   (time) float64 99.73 99.73 99.73
    datetime   (time) datetime64[ns] 2000-01-01T03:54:07.843184299 ... 2000-0...
Attributes:
    rascil_data_model:  PointingTable
    receptor_frame:     <rascil.data_models.polarisation.ReceptorFrame object...
    pointing_frame:     azel
    pointingcentre:     <SkyCoord (ICRS): (ra, dec) in deg    (180., -35.)>
    configuration:      <xarray.Configuration> Dimensions:   (id: 115, spati...

Methods Summary

to_native_dataset()

Convert to plain Dataset.

Methods Documentation

to_native_dataset()[source]

Convert to plain Dataset. Needed, e.g., for xarray.concat. This makes sure that the child class is represented as its parent class.