Source
415
415
// Add input-output SPW pair to map
416
416
spwInfo inputSpw(inputFreq,inputWidth);
417
417
spwInfo outputSpw(outputFreq,outputWidth);
418
418
inputOutputSpwMap_p[spwId] = std::make_pair(inputSpw,outputSpw);
419
419
420
420
// Store weight/sigma factors
421
421
weightFactorMap_p[spwId] = weightScale;
422
422
sigmaFactorMap_p[spwId] = 1 / sqrt(weightScale);
423
423
424
424
// Populate nchan input-output maps
425
-
spwOutChanIdxMap_p[spwId].resize(outputSpw.NUM_CHAN);
426
-
std::iota(spwOutChanIdxMap_p[spwId].begin(), spwOutChanIdxMap_p[spwId].end(), 0);
425
+
spwOutChanNumMap_p[spwId] = outputSpw.NUM_CHAN;
427
426
}
428
427
429
428
return;
430
429
}
431
430
432
431
// -----------------------------------------------------------------------
433
432
//
434
433
// -----------------------------------------------------------------------
435
434
void RegriddingTVI::initFrequencyTransformationEngine() const
436
435
{