Source
177
177
PlotMSIndexer(const PlotMSIndexer& mc);
178
178
179
179
// get method for x and y axes depends on column
180
180
void setMethod(CacheMemPtr& getmethod, PMS::Axis axis, PMS::DataColumn data);
181
181
182
182
// index for iteraxis
183
183
void setIndexer(IndexerMethPtr& indexmethod, PMS::Axis axis);
184
184
185
185
// Reindex for connecting points
186
186
void reindexForConnect();
187
-
void getConnectSetsMaps(std::set<casacore::Double>& times, std::set<casacore::Int>& spws,
188
-
std::set<casacore::Int>& corrs, std::set<casacore::Int>& ant1s,
189
-
std::unordered_map<casacore::Int, casacore::Int>& chansPerSpw);
190
-
// all points in own bin
191
-
void setConnectBinsPerPt(casacore::Int npoints);
192
-
// reindex into one vector, by bin
193
-
void reindexBins(casacore::uInt npoints, std::vector<casacore::uInt>* chunks,
194
-
std::vector<casacore::uInt>* offsets);
195
-
// Bin data by various axes
196
-
void reindexForAllConnect(const std::vector<casacore::Double>& times, const std::vector<casacore::Int>& spws,
197
-
std::unordered_map<casacore::Int, casacore::Int>& chans, const std::vector<casacore::Int>& corrs,
198
-
const std::vector<casacore::Int>& ant1s, Int npoints);
199
-
void reindexForTimeConnect(const std::vector<casacore::Int>& spws,
200
-
std::unordered_map<casacore::Int,casacore::Int>& chans, const std::vector<casacore::Int>& corrs,
201
-
const std::vector<casacore::Int>& ant1s, Int npoints);
202
-
// for GSPLINE:
203
-
void reindexForTimeConnectNoChans(const std::vector<casacore::Int>& spws, const std::vector<casacore::Int>& corrs,
204
-
const std::vector<casacore::Int>& ant1s, Int npoints);
205
-
void reindexForSpwConnect(const std::vector<casacore::Double>& times, casacore::Int nchans,
206
-
const std::vector<casacore::Int>& corrs, const std::vector<casacore::Int>& ant1s, Int npoints);
207
-
void reindexForChannelConnect(const std::vector<casacore::Double>& times, const std::vector<casacore::Int>& spws,
208
-
const std::vector<casacore::Int>& corrs, const std::vector<casacore::Int>& ant1s, Int npoints);
209
-
void reindexForCorrConnect(const std::vector<casacore::Double>& times, const std::vector<casacore::Int>& spws,
210
-
std::unordered_map<casacore::Int, casacore::Int>& chans, const std::vector<casacore::Int>& ant1s,
211
-
Int npoints);
212
-
void reindexForAnt1Connect(const std::vector<casacore::Double>& times, const std::vector<casacore::Int>& spws,
213
-
std::unordered_map<casacore::Int, casacore::Int>& chans, const std::vector<casacore::Int>& corrs,
214
-
Int npoints);
215
187
216
188
// void setCollapser(CollapseMethPtr& collmethod, PMS::Axis axis);
217
189
218
190
// Generate collapsed versions of the plmask
219
191
/* not needed? (gmoellen, 2011Mar15)
220
192
void collapseMask0000(casacore::Int ch,casacore::Array<casacore::Bool>& collmask);
221
193
void collapseMask1000(casacore::Int ch,casacore::Array<casacore::Bool>& collmask);
222
194
void collapseMask0100(casacore::Int ch,casacore::Array<casacore::Bool>& collmask);
223
195
void collapseMask0010(casacore::Int ch,casacore::Array<casacore::Bool>& collmask);
224
196
void collapseMask0110(casacore::Int ch,casacore::Array<casacore::Bool>& collmask);