def PNewOTFTable (inOTF, access, tabType, tabVer, err,
                  numDet=1, numPoly=0, numParm=0):
    """ Return the specified associated table
    
    inOTF     = Python OTF object
    access    = access code 1=READONLY, 2=WRITEONLY, 3=READWRITE
    tabType   = Table type, e.g. "OTFSoln"
    tabVer    = table version, if > 0 on input that table returned,
                if 0 on input, the highest version is used.
    err       = Python Obit Error/message stack
        Optional parameters, values only used if table created
        numDet    = Number of Detectors (OTFCal, OTFSoln, OTFScanData)
        numPoly   = Number of polynomial terms (OTFCal, OTFSoln)
        numParm   = Number of model parameters (OTFModel)
    """
    ################################################################
    return inOTF.NewTable (access, tabType, tabVer, err, \
                           numDet=numDet, numPoly=numPoly, numParm=numParm)
    # end PNewOTFTable