def cnvlPwBoxCarFn(aryNrlTc, varNumVol, varTr, tplPngSize, varNumMtDrctn,<EOL>switchHrfSet, lgcOldSchoolHrf, varPar,):
print('<STR_LIT>')<EOL>if switchHrfSet == <NUM_LIT:3>:<EOL><INDENT>lstHrf = [spmt, dspmt, ddspmt]<EOL><DEDENT>elif switchHrfSet == <NUM_LIT:2>:<EOL><INDENT>lstHrf = [spmt, dspmt]<EOL><DEDENT>elif switchHrfSet == <NUM_LIT:1>:<EOL><INDENT>lstHrf = [spmt]<EOL><DEDENT>tplInpShp = aryNrlTc.shape<EOL>aryNrlTc = np.reshape(aryNrlTc, (-<NUM_LIT:1>, aryNrlTc.shape[-<NUM_LIT:1>]))<EOL>lstNrlTc = np.array_split(aryNrlTc, varPar)<EOL>queOut = mp.Queue()<EOL>lstPrcs = [None] * varPar<EOL>lstConv = [None] * varPar<EOL>print('<STR_LIT>')<EOL>if lgcOldSchoolHrf:<EOL><INDENT>for idxPrc in range(<NUM_LIT:0>, varPar):<EOL><INDENT>lstPrcs[idxPrc] = mp.Process(target=cnvlTcOld,<EOL>args=(idxPrc,<EOL>lstNrlTc[idxPrc],<EOL>varTr,<EOL>varNumVol,<EOL>queOut)<EOL>)<EOL>lstPrcs[idxPrc].Daemon = True<EOL><DEDENT><DEDENT>else:<EOL><INDENT>for idxPrc in range(<NUM_LIT:0>, varPar):<EOL><INDENT>lstPrcs[idxPrc] = mp.Process(target=cnvlTc,<EOL>args=(idxPrc,<EOL>lstNrlTc[idxPrc],<EOL>lstHrf,<EOL>varTr,<EOL>varNumVol,<EOL>queOut)<EOL>)<EOL>lstPrcs[idxPrc].Daemon = True<EOL><DEDENT><DEDENT>for idxPrc in range(<NUM_LIT:0>, varPar):<EOL><INDENT>lstPrcs[idxPrc].start()<EOL><DEDENT>for idxPrc in range(<NUM_LIT:0>, varPar):<EOL><INDENT>lstConv[idxPrc] = queOut.get(True)<EOL><DEDENT>for idxPrc in range(<NUM_LIT:0>, varPar):<EOL><INDENT>lstPrcs[idxPrc].join()<EOL><DEDENT>print('<STR_LIT>')<EOL>lstConv = sorted(lstConv)<EOL>aryNrlTcConv = np.zeros((<NUM_LIT:0>, switchHrfSet, varNumVol))<EOL>for idxRes in range(<NUM_LIT:0>, varPar):<EOL><INDENT>aryNrlTcConv = np.concatenate((aryNrlTcConv, lstConv[idxRes][<NUM_LIT:1>]),<EOL>axis=<NUM_LIT:0>)<EOL><DEDENT>del(aryNrlTc)<EOL>del(lstConv)<EOL>tplOutShp = tplInpShp[:-<NUM_LIT:2>] + (varNumMtDrctn * len(lstHrf), ) +(tplInpShp[-<NUM_LIT:1>], )<EOL>return np.reshape(aryNrlTcConv, tplOutShp)<EOL>
Create 2D Gaussian kernel.

    Parameters
    ----------
    aryNrlTc : 5d numpy array, shape [n_x_pos, n_y_pos, n_sd, n_mtn_dir, n_vol]
        Description of input 1.
    varNumVol : float, positive
        Description of input 2.
    varTr : float, positive
        Description of input 1.
    tplPngSize : tuple
        Description of input 1.
    varNumMtDrctn : int, positive
        Description of input 1.
    switchHrfSet :
        Description of input 1.
    lgcOldSchoolHrf : int, positive
        Description of input 1.
    varPar : int, positive
        Description of input 1.
    Returns
    -------
    data : 2d numpy array, shape [n_samples, n_measurements]
        Closed data.
    Reference
    ---------
    [1]