Source
xxxxxxxxxx
168
168
}
169
169
170
170
return ret;
171
171
}
172
172
173
173
// -----------------------------------------------------------------------
174
174
//
175
175
// -----------------------------------------------------------------------
176
176
Vector<Int> FreqAxisTVI::getChannels (Double,Int,Int spectralWindowId,Int) const
177
177
{
178
-
return spwOutChanIdxMap_p.at(spectralWindowId);
178
+
Vector<Int> ret(spwOutChanNumMap_p[spectralWindowId]);
179
+
180
+
for (uInt chanIdx = 0; chanIdx<spwOutChanNumMap_p[spectralWindowId];chanIdx++)
181
+
{
182
+
ret(chanIdx) = chanIdx;
183
+
}
184
+
185
+
return ret;
179
186
}
180
187
181
188
// -----------------------------------------------------------------------
182
189
//
183
190
// -----------------------------------------------------------------------
184
191
void FreqAxisTVI::writeFlagRow (const Vector<Bool> & flag)
185
192
{
186
193
getVii()->writeFlagRow(flag);
187
194
}
188
195