processing_components/calibration/pointing.py
def qa_pointingtable(pt: PointingTable, context=None) -> QA:
    """Assess the quality of a pointingtable

    :param pt:
    :return: AQ
    """
    apt = numpy.abs(pt.pointing[pt.weight > 0.0])
    ppt = numpy.angle(pt.pointing[pt.weight > 0.0])
    data = {'shape': pt.pointing.shape,
            'maxabs-amp': numpy.max(apt),
            'minabs-amp': numpy.min(apt),
            'rms-amp': numpy.std(apt),
            'medianabs-amp': numpy.median(apt),
            'maxabs-phase': numpy.max(ppt),
            'minabs-phase': numpy.min(ppt),
            'rms-phase': numpy.std(ppt),
            'medianabs-phase': numpy.median(ppt),
            'residual': numpy.max(pt.residual)
            }
    return QA(origin='qa_pointingtable', data=data, context=context)
Assess the quality of a pointingtable

    :param pt:
    :return: AQ
    
Assess the quality of a pointingtable
Assess the quality of a pointingtable
def qa_pointingtable(pt: PointingTable, context=None) -> QA:
    apt = numpy.abs(pt.pointing[pt.weight > 0.0])
    ppt = numpy.angle(pt.pointing[pt.weight > 0.0])
    data = {'shape': pt.pointing.shape,
            'maxabs-amp': numpy.max(apt),
            'minabs-amp': numpy.min(apt),
            'rms-amp': numpy.std(apt),
            'medianabs-amp': numpy.median(apt),
            'maxabs-phase': numpy.max(ppt),
            'minabs-phase': numpy.min(ppt),
            'rms-phase': numpy.std(ppt),
            'medianabs-phase': numpy.median(ppt),
            'residual': numpy.max(pt.residual)
            }
    return QA(origin='qa_pointingtable', data=data, context=context)
def qa_pointingtable ( pt : PointingTable , context = None ) -> QA : apt = numpy . abs ( pt . pointing [ pt . weight > 0.0 ] ) ppt = numpy . angle ( pt . pointing [ pt . weight > 0.0 ] ) data = { 'shape' : pt . pointing . shape , 'maxabs-amp' : numpy . max ( apt ) , 'minabs-amp' : numpy . min ( apt ) , 'rms-amp' : numpy . std ( apt ) , 'medianabs-amp' : numpy . median ( apt ) , 'maxabs-phase' : numpy . max ( ppt ) , 'minabs-phase' : numpy . min ( ppt ) , 'rms-phase' : numpy . std ( ppt ) , 'medianabs-phase' : numpy . median ( ppt ) , 'residual' : numpy . max ( pt . residual ) } return QA ( origin = 'qa_pointingtable' , data = data , context = context )
Assess the quality of a pointingtable
Assess the quality of a pointingtable
"""Assess the quality of a pointingtable

    :param pt:
    :return: AQ
    """
None
pt
PointingTable
None
context