def rmp_deg_pixel_xys(vecX, vecY, vecPrfSd, tplPngSize,<EOL>varExtXmin, varExtXmax, varExtYmin, varExtYmax):
<EOL>vecXpxl = rmp_rng(vecX, <NUM_LIT:0.0>, (tplPngSize[<NUM_LIT:0>] - <NUM_LIT:1>), varOldThrMin=varExtXmin,<EOL>varOldAbsMax=varExtXmax)<EOL>vecYpxl = rmp_rng(vecY, <NUM_LIT:0.0>, (tplPngSize[<NUM_LIT:1>] - <NUM_LIT:1>), varOldThrMin=varExtYmin,<EOL>varOldAbsMax=varExtYmax)<EOL>varDgr2PixX = np.divide(tplPngSize[<NUM_LIT:0>], (varExtXmax - varExtXmin))<EOL>varDgr2PixY = np.divide(tplPngSize[<NUM_LIT:1>], (varExtYmax - varExtYmin))<EOL>strErrMsg = '<STR_LIT>' +'<STR_LIT>' +'<STR_LIT>' +'<STR_LIT>'<EOL>assert <NUM_LIT:0.5> > np.absolute((varDgr2PixX - varDgr2PixY)), strErrMsg<EOL>vecPrfSdpxl = np.multiply(vecPrfSd, varDgr2PixX)<EOL>return np.column_stack((vecXpxl, vecYpxl, vecPrfSdpxl)).astype(np.int32)<EOL>
Remap x, y, sigma parameters from degrees to pixel.

    Parameters
    ----------
    vecX : 1D numpy array
        Array with possible x parametrs in degree
    vecY : 1D numpy array
        Array with possible y parametrs in degree
    vecPrfSd : 1D numpy array
        Array with possible sd parametrs in degree
    tplPngSize : tuple, 2
        Pixel dimensions of the visual space in pixel (width, height).
    varExtXmin : float
        Extent of visual space from centre in negative x-direction (width)
    varExtXmax : float
        Extent of visual space from centre in positive x-direction (width)
    varExtYmin : float
        Extent of visual space from centre in negative y-direction (height)
    varExtYmax : float
        Extent of visual space from centre in positive y-direction (height)
    Returns
    -------
    vecX : 1D numpy array
        Array with possible x parametrs in pixel
    vecY : 1D numpy array
        Array with possible y parametrs in pixel
    vecPrfSd : 1D numpy array
        Array with possible sd parametrs in pixel