Source
2623
2623
// Fill propagated flag vector/cube
2624
2624
for (uInt row=0;row<nOriginalRows;row++)
2625
2625
{
2626
2626
uInt index = spwAnt1Ant2IndexMap[orgSPW(row)][orgAnt1(row)][orgAnt2(row)];
2627
2627
flagMapped(row) = flagRow(index);
2628
2628
2629
2629
for (uInt chan_i=0;chan_i<flagCubeMapped.shape()(1);chan_i++)
2630
2630
{
2631
2631
for (uInt corr_i=0;corr_i<flagCubeMapped.shape()(0);corr_i++)
2632
2632
{
2633
-
if (flag(corr_i,chan_i,index)) flagCubeMapped(corr_i,chan_i,row) = true;
2633
+
flagCubeMapped(corr_i,chan_i,row) = flag(corr_i,chan_i,index);
2634
2634
}
2635
2635
}
2636
2636
}
2637
2637
2638
2638
// Write propagated flag vector/cube
2639
2639
getVii()->writeFlag(flagCubeMapped);
2640
2640
getVii()->writeFlagRow(flagMapped);
2641
2641
2642
2642
}
2643
2643