casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CLPatchPanel.h
Go to the documentation of this file.
1 //# CLPatchPanel.h: Definition for Calibration patch panel
2 //# Copyright (C) 1996,1997,1998,1999,2000,2001,2002,2003
3 //# Associated Universities, Inc. Washington DC, USA.
4 //#
5 //# This library is free software; you can redistribute it and/or modify it
6 //# under the terms of the GNU Library General Public License as published by
7 //# the Free Software Foundation; either version 2 of the License, or (at your
8 //# option) any later version.
9 //#
10 //# This library is distributed in the hope that it will be useful, but WITHOUT
11 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 //# License for more details.
14 //#
15 //# You should have received a copy of the GNU Library General Public License
16 //# along with this library; if not, write to the Free Software Foundation,
17 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18 //#
19 //# Correspondence concerning AIPS++ should be adressed as follows:
20 //# Internet email: aips2-request@nrao.edu.
21 //# Postal address: AIPS++ Project Office
22 //# National Radio Astronomy Observatory
23 //# 520 Edgemont Road
24 //# Charlottesville, VA 22903-2475 USA
25 //#
26 //#
27 
28 #ifndef CALTABLES_CLPATCHPANEL_H
29 #define CALTABLES_CLPATCHPANEL_H
30 
37 #include <casa/Arrays/Array.h>
38 #include <casa/Arrays/Matrix.h>
39 #include <casa/Arrays/Cube.h>
43 #include <casa/aips.h>
44 
45 //#include <casa/BasicSL/Constants.h>
46 //#include <casa/OS/File.h>
47 //#include <casa/Logging/LogMessage.h>
48 //#include <casa/Logging/LogSink.h>
49 
50 namespace casacore{
51 
52 class MSSelectableTable;
53 }
54 
55 namespace casa { //# NAMESPACE CASA - BEGIN
56 
57 
58 // A specialized key class for Calibration patch panel elements
60 {
61 public:
63  virtual ~CalPatchKey() {};
64  virtual casacore::Bool operator<(const CalPatchKey& other) const;
65  virtual casacore::String print() const =0;
66 private:
68 };
69 
70 class MSCalPatchKey : virtual public CalPatchKey
71 {
72 public:
74  virtual ~MSCalPatchKey(){};
75  virtual casacore::String print() const;
76 private:
78 };
79 
80 
81 class CTCalPatchKey : virtual public CalPatchKey
82 {
83 public:
85  virtual ~CTCalPatchKey(){};
86  virtual casacore::String print() const;
87 private:
89 };
90 
91 // A base class for calmaps
92 class CalMap
93 {
94 public:
95 
96  // Null ctor (defaults everything)
97  CalMap();
98 
99  // Construct from a Vector
100  CalMap(const casacore::Vector<casacore::Int>& calmap);
101 
102  // Construct from a casacore::Record (int:int; TBD: need an casacore::MS to parse strings)
103  // CalMap(const casacore::Record calmap):
104 
105  // Construct from a casacore::String (an algorithm or selection)
106  //CalMap(casacore::String calmaptype,const NewCalTable& ct, const casacore::MeasurementSet ms,
107  // casacore::Vector<casacore::Int> availids=casacore::Vector<casacore::Int>());
108  // Construct from casacore::String and 2 Vectors (default, and explict to/from override)
109  // TBD
110 
111  // Index method returns the ct id mapped to the specified msid
112  casacore::Int operator()(casacore::Int msid) const; // ,const casacore::Vector<casacore::Int> availids=casacore::Vector<casacore::Int>()) const;
113 
114  // Return the ctids required for a set a msids (from among those available)
115  // TBD: what to do if nominally required ctid is UNavailable (return only the avail ones?)
116  casacore::Vector<casacore::Int> ctids(const casacore::Vector<casacore::Int>& msids) const;// const casacore::Vector<casacore::Int> availctids=casacore::Vector<casacore::Int>(0)) const;
117 
118  // Return the msids that will be satisfied by a specific ctid
120 
121  // Return the verbatim (casacore::Vector) map
123 
124 protected:
126  //casacore::Matrix<casacore::Int> mcalmap_; // per-id prioritized, e.g., 'nearest'
127 };
128 
129 class FieldCalMap : public CalMap
130 {
131 public:
132 
133  // Null ctor
134  FieldCalMap();
135 
136  // Construct from casacore::Vector<casacore::Int> (override CalMap)
138 
139  // Algorithmic ctor that uses casacore::MS and CT meta info
140  FieldCalMap(const casacore::String fieldcalmap, const casacore::MeasurementSet& ms, const NewCalTable& ct);
141 
142 private:
143 
144  // Calculate the simple nearest field map
145  void setNearestFieldMap(const casacore::MeasurementSet& ms, const NewCalTable& ct);
146  void setNearestFieldMap(const NewCalTable& ctasms, const NewCalTable& ct);
147  void setNearestFieldMap(const casacore::ROMSFieldColumns& msfc, const ROCTColumns& ctc);
148 
149  // Parse field selection map
150  void setSelectedFieldMap(const casacore::String& fieldsel,
151  const casacore::MeasurementSet& ms,const NewCalTable& ct);
152 
153  // User's specification
155 
156 
157 };
158 
159 
160 
161 
162 // A class to parse the contents of a single CalLib slice
163 // i.e., for one caltable, one setup
165 {
166 public:
173  CalLibSlice(const casacore::Record& clslice,
175  const NewCalTable& ct=NewCalTable());
176 
177 
181 
182  // validation
183  static casacore::Bool validateCLS(const casacore::Record& clslice);
184 
185  // Extract as a record
187 
189 
190 };
191 
192 
194 {
195 public:
196 
197  CLPPResult();
200  CLPPResult& operator=(const CLPPResult& other); // avoids deep casacore::Array copies
201 
203 
207 
210 
211  //private:
212 
213 };
214 
215 
216 
217 
218 
219 
221 {
222 public:
223 
224  // From caltable name and casacore::MS shapes
225  CLPatchPanel(const casacore::String& ctname,
226  const casacore::Record& callib,
229  const CTTIFactoryPtr cttifactoryptr=&CTTimeInterp1::factory);
230 
231  // From caltable name and (selected) casacore::MS
232  CLPatchPanel(const casacore::String& ctname,
233  const casacore::MeasurementSet& ms,
234  const casacore::Record& callib,
236  casacore::Int nPar,
237  const CTTIFactoryPtr cttifactoryptr=&CTTimeInterp1::factory);
238  // Destructor
239  virtual ~CLPatchPanel();
240 
241  // Is specific calibration explicitly available for a obs,fld,intent,spw,ant combination?
243  casacore::Int spw, casacore::Int ant=-1);
244  // Are specified indices OK for this CL (i.e., not explicitly marked as expected but absent)
245  // Will be calibrated if calAvailable=true, will be ignored if calAvailable()=false
247  casacore::Int spw, casacore::Int ant=-1);
248 
249  // Interpolate, given input obs, field, intent, spw, timestamp, & (optionally) freq
250  // returns T if new result (anywhere,anyhow)
251  // For casacore::Complex params (calls casacore::Float version)
255  // For casacore::Float params
258  casacore::Double time, casacore::Double freq=-1.0);
259 
260  // Interpolate, given input obs, field, intent, spw, timestamp, & freq list
261  // This is for freqdep interpolation context
262  // returns T if new result (anywhere,anyhow)
263  // For casacore::Complex params (calls casacore::Float version)
267  // For casacore::Float params
271 
272  // Const access to various state
273  // TBD
274 
277 
278 
279  // Access to CalTable's freq info
280  const casacore::Vector<casacore::Double>& freqIn(casacore::Int spw) {return freqIn_[spw]; }; // per spw
281  const casacore::Vector<casacore::Double>& refFreqIn() { return refFreqIn_; }; // indexed by spw
282 
283  // Report state
284  void listmappings();
285  void state();
286 
287  // CASA version of the internal caltable
289 
290 private:
291 
292  // Null ctor does nothing
294 
295 
296 
297  // Methods to support layered selection
299  const casacore::String& obs, const casacore::String& fld,
300  const casacore::String& ent,
301  const casacore::String& spw, const casacore::String& ant,
302  const casacore::String& taql);
304  const casacore::String& obs, const casacore::String& fld,
305  const casacore::String& ent,
306  const casacore::String& spw, const casacore::String& ant);
307  void selectOnCT(NewCalTable& ctout,const NewCalTable& ctin,
308  const casacore::String& obs, const casacore::String& fld,
309  const casacore::String& spw, const casacore::String& ant1);
310 
311  // Extract unique indices from caltables
316 
317  // Extract unique indices (net selected) from MS
319 
320  // Set generic antenna/baseline map
321  // void setElemMap();
322 
323  // Resample in frequency
326  casacore::String finterp);
329  casacore::String finterp);
330 
331  // Baseline index from antenna indices: (assumes a1<=a2 !!)
332  // inline casacore::Int blnidx(const casacore::Int& a1, const casacore::Int& a2, const casacore::Int& nAnt) { return a1*nAnt-a1*(a1+1)/2+a2; };
333 
334  // Translate freq axis interpolation string
336 
337 
340 
341 
342 
343  // PRIVATE DATA:
344 
345  // The Caltable
347 
348  // Associated (selected) MS
350 
351  // casacore::Matrix type
353 
354  // Are parameters fundamentally complex?
356 
357  // The number of (casacore::Float) parameters (per-chan, per-element)
359 
360  // casacore::InterpolateArray1D<casacore::Double,casacore::Float>::InterpolationMethod ia1dmethod_;
361 
362  // CalTable freq axis info
366 
367  // Obs, Field, Spw, Ant _output_ (casacore::MS) sizes
368  // calibration required for up to this many
370 
371  // Obs, Field, Spw, Ant _input_ (CalTable) sizes
372  // patch panels should not violate these (point to larger indices)
374 
375  // Maps
376  std::map<CTCalPatchKey,CLPPResult> clTres_;
377  std::map<CTCalPatchKey,casacore::String> ciname_;
378  std::map<CTCalPatchKey,CTTimeInterp1*> ci_;
379 
380 
381  std::map<MSCalPatchKey,CLPPResult> msTres_,msFres_;
382  std::map<MSCalPatchKey,casacore::String> msciname_;
383  std::map<MSCalPatchKey,casacore::String> badmsciname_;
384  std::map<MSCalPatchKey,casacore::Int> ctspw_;
385  std::map<MSCalPatchKey,casacore::String> finterp_;
386  std::map<MSCalPatchKey,CTTimeInterp1*> msci_;
387 
388  // Keep track of last cal result address (per spw)
390 
391  // Control conjugation of baseline-based solutions when mapping requires
392  // casacore::Vector<casacore::Bool> conjTab_;
393 
394 
397 
399 
400  // The factory to use to create CTTimeInterp1s
402 
403 };
404 
405 
406 } //# NAMESPACE CASA - END
407 
408 #endif
A Vector of integers, for indexing into Array&lt;T&gt; objects.
Definition: IPosition.h:119
casacore::Int spw_
Definition: CLPatchPanel.h:77
casacore::Matrix< casacore::Bool > resultFlag(casacore::Int ielem)
Definition: CLPatchPanel.h:206
std::map< CTCalPatchKey, casacore::String > ciname_
Definition: CLPatchPanel.h:377
int Int
Definition: aipstype.h:50
CLPPResult & operator=(const CLPPResult &other)
void resampleFlagsInFreq(casacore::Vector< casacore::Bool > &flgout, const casacore::Vector< casacore::Double > &fout, casacore::Vector< casacore::Bool > &flgin, const casacore::Vector< casacore::Double > &fin, casacore::String finterp)
CTCalPatchKey(casacore::Int clsl, casacore::Int obs, casacore::Int fld, casacore::Int spw, casacore::Int ant=-1)
casacore::String fld
Definition: CLPatchPanel.h:178
virtual casacore::String print() const
casacore::Cube< casacore::Float > result_
Control conjugation of baseline-based solutions when mapping requires casacore::Vector&lt;casacore::Bool...
Definition: CLPatchPanel.h:395
CTTimeInterp1 *(* CTTIFactoryPtr)(NewCalTable &, const casacore::String &, casacore::Array< casacore::Float > &, casacore::Array< casacore::Bool > &)
Pointer to static factory methods for CTTimeInterp1.
Main interface class to a read/write table.
Definition: Table.h:153
A class to parse the contents of a single CalLib slice i.e., for one caltable, one setup...
Definition: CLPatchPanel.h:164
void listmappings()
Report state.
void selectOnCTorMS(casacore::Table &ctout, casacore::MSSelectableTable &msst, const casacore::String &obs, const casacore::String &fld, const casacore::String &ent, const casacore::String &spw, const casacore::String &ant, const casacore::String &taql)
Methods to support layered selection.
const casacore::Vector< casacore::Double > & freqIn(casacore::Int spw)
Access to CalTable&#39;s freq info.
Definition: CLPatchPanel.h:280
A class to provide easy access to MSField columns.
CalMap()
Null ctor (defaults everything)
void setNearestFieldMap(const casacore::MeasurementSet &ms, const NewCalTable &ct)
Calculate the simple nearest field map.
casacore::Int fld_
Definition: CLPatchPanel.h:77
casacore::Matrix< casacore::Float > operator()(casacore::Int ielem)
Definition: CLPatchPanel.h:204
void resize(casacore::uInt nPar, casacore::uInt nFPar, casacore::uInt nChan, casacore::uInt nelem)
casacore::Bool isCmplx_
Are parameters fundamentally complex?
Definition: CLPatchPanel.h:355
void selectOnCT(NewCalTable &ctout, const NewCalTable &ctin, const casacore::String &obs, const casacore::String &fld, const casacore::String &spw, const casacore::String &ant1)
casacore::Bool MSIndicesOK(casacore::Int obs, casacore::Int fld, casacore::Int ent, casacore::Int spw, casacore::Int ant=-1)
Are specified indices OK for this CL (i.e., not explicitly marked as expected but absent) Will be cal...
casacore::Cube< casacore::Bool > resultFlag_
Definition: CLPatchPanel.h:209
virtual casacore::Bool operator<(const CalPatchKey &other) const
std::map< CTCalPatchKey, CTTimeInterp1 * > ci_
Definition: CLPatchPanel.h:378
virtual ~MSCalPatchKey()
Definition: CLPatchPanel.h:74
CLPatchPanel()
Null ctor does nothing.
Definition: CLPatchPanel.h:293
std::map< MSCalPatchKey, casacore::Int > ctspw_
Definition: CLPatchPanel.h:384
casacore::Vector< casacore::Int > msids(casacore::Int ctid, const casacore::Vector< casacore::Int > &superset=casacore::Vector< casacore::Int >()) const
Return the msids that will be satisfied by a specific ctid.
casacore::Record asRecord()
Extract as a record.
ABSTRACT TOOL CLASSES A PlotTool is a higher level event handler for a PlotCanvas The idea is to take common tasks which may require multiple events and put them in one place PlotTools also provide additional functionality in that they can be active and blocking non blocking The PlotCanvas will only send events to active and will not send events to later tools or event handlers if the latest tool was blocking In this way a single tool can be used to handle ALL user interaction via the GUI at one time
Definition: PlotTool.h:43
casacore::Vector< casacore::Int > vcalmap_
Definition: CLPatchPanel.h:122
casacore::Cube< casacore::Bool > resFlag_
Definition: CLPatchPanel.h:396
casacore::Vector< casacore::Float * > lastresadd_
Keep track of last cal result address (per spw)
Definition: CLPatchPanel.h:389
virtual casacore::Int nPar()
M currently has just 2 complex parameters, i.e., both parallel hands.
A specialized key class for Calibration patch panel elements.
Definition: CLPatchPanel.h:59
casacore::Vector< casacore::Vector< casacore::Double > > freqIn_
Definition: CLPatchPanel.h:364
CalPatchKey(casacore::IPosition keyids)
casacore::String CASAvers()
Report the CASA version at which the NCT was created (from header)
ostream-like interface to creating log messages.
Definition: LogIO.h:167
casacore::Vector< casacore::Int > getCLuniqueIds(NewCalTable &ct, casacore::String vcol)
NewCalTable ctasms_
Definition: CLPatchPanel.h:346
casacore::Int ent_
Definition: CLPatchPanel.h:77
void setSelectedFieldMap(const casacore::String &fieldsel, const casacore::MeasurementSet &ms, const NewCalTable &ct)
Parse field selection map.
CalLibSlice(casacore::String obs, casacore::String fld, casacore::String ent, casacore::String spw, casacore::String tinterp, casacore::String finterp, casacore::Vector< casacore::Int > obsmap=casacore::Vector< casacore::Int >(1,-1), casacore::Vector< casacore::Int > fldmap=casacore::Vector< casacore::Int >(1,-1), casacore::Vector< casacore::Int > spwmap=casacore::Vector< casacore::Int >(1,-1), casacore::Vector< casacore::Int > antmap=casacore::Vector< casacore::Int >(1,-1))
casacore::Int fld_
Definition: CLPatchPanel.h:88
casacore::Int obs_
Definition: CLPatchPanel.h:77
casacore::Vector< casacore::Int > nChanIn_
casacore::InterpolateArray1D&lt;casacore::Double,casacore::Float&gt;::InterpolationMethod ia1dmethod_; ...
Definition: CLPatchPanel.h:363
casacore::Vector< casacore::Int > vmap() const
Return the verbatim (casacore::Vector) map.
Definition: CLPatchPanel.h:122
casacore::Bool interpolate(casacore::Cube< casacore::Complex > &resultC, casacore::Cube< casacore::Bool > &resFlag, casacore::Int obs, casacore::Int fld, casacore::Int ent, casacore::Int spw, casacore::Double time, casacore::Double freq=-1.0)
Interpolate, given input obs, field, intent, spw, timestamp, &amp; (optionally) freq returns T if new res...
NewCalTable ct_
PRIVATE DATA:
Definition: CLPatchPanel.h:346
casacore::Int obs_
Definition: CLPatchPanel.h:88
casacore::Int nMSSpw_
Definition: CLPatchPanel.h:369
casacore::Vector< casacore::Int > getCLuniqueObsIds(NewCalTable &ct)
Extract unique indices from caltables.
Definition: CLPatchPanel.h:312
casacore::Int operator()(casacore::Int msid) const
Construct from a casacore::Record (int:int; TBD: need an casacore::MS to parse strings) CalMap(const ...
void resampleInFreq(casacore::Matrix< casacore::Float > &fres, casacore::Matrix< casacore::Bool > &fflg, const casacore::Vector< casacore::Double > &fout, casacore::Matrix< casacore::Float > &tres, casacore::Matrix< casacore::Bool > &tflg, const casacore::Vector< casacore::Double > &fin, casacore::String finterp)
Set generic antenna/baseline map void setElemMap();.
casacore::String finterp
Definition: CLPatchPanel.h:179
casacore::InterpolateArray1D< casacore::Double, casacore::Float >::InterpolationMethod ftype(casacore::String &strtype)
Baseline index from antenna indices: (assumes a1&lt;=a2 !!) inline casacore::Int blnidx(const casacore::...
InterpolationMethod
Interpolation methods.
std::map< MSCalPatchKey, CLPPResult > msFres_
Definition: CLPatchPanel.h:381
A base class for calmaps.
Definition: CLPatchPanel.h:92
casacore::Int ant_
Definition: CLPatchPanel.h:88
casacore::Int nCTObs_
Obs, Field, Spw, Ant input (CalTable) sizes patch panels should not violate these (point to larger in...
Definition: CLPatchPanel.h:373
casacore::Int nMSObs_
Obs, Field, Spw, Ant output (casacore::MS) sizes calibration required for up to this many...
Definition: CLPatchPanel.h:369
casacore::Bool getTresult(casacore::Cube< casacore::Float > &resultR, casacore::Cube< casacore::Bool > &resFlag, casacore::Int obs, casacore::Int fld, casacore::Int ent, casacore::Int spw)
Const access to various state TBD.
virtual ~CTCalPatchKey()
Definition: CLPatchPanel.h:85
casacore::Int nMSFld_
Definition: CLPatchPanel.h:369
void selectOnMS(casacore::MeasurementSet &msout, const casacore::MeasurementSet &msin, const casacore::String &obs, const casacore::String &fld, const casacore::String &ent, const casacore::String &spw, const casacore::String &ant)
casacore::MeasurementSet ms_
Associated (selected) MS.
Definition: CLPatchPanel.h:349
std::map< CTCalPatchKey, CLPPResult > clTres_
Maps.
Definition: CLPatchPanel.h:376
casacore::Int nCTElem_
Definition: CLPatchPanel.h:373
casacore::LogIO logsink_
Definition: CLPatchPanel.h:398
double Double
Definition: aipstype.h:55
casacore::String ent
Definition: CLPatchPanel.h:178
std::map< MSCalPatchKey, CLPPResult > msTres_
Definition: CLPatchPanel.h:381
casacore::Int nFPar_
Definition: CLPatchPanel.h:358
static CTTimeInterp1 * factory(NewCalTable &ct, const casacore::String &timetype, casacore::Array< casacore::Float > &result, casacore::Array< casacore::Bool > &rflag)
static factory method to make CTTimeInterp1
Definition: CTTimeInterp1.h:73
casacore::String CTCASAvers()
CASA version of the internal caltable.
Definition: CLPatchPanel.h:288
casacore::Int nCTAnt_
Definition: CLPatchPanel.h:373
casacore::Int ant_
Definition: CLPatchPanel.h:77
A hierarchical collection of named fields of various types.
Definition: Record.h:180
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
casacore::String tinterp
Definition: CLPatchPanel.h:179
casacore::String state()
casacore::Int clsl_
Definition: CLPatchPanel.h:88
MSSelectableTable: An interface class used by MSSelection module to access the sub-tables and main-ta...
virtual ~CLPatchPanel()
Destructor.
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
Definition: ExprNode.h:1944
casacore::Int nMSAnt_
Definition: CLPatchPanel.h:369
casacore::Int nMSElem_
Definition: CLPatchPanel.h:369
casacore::String fieldcalmap_
User&#39;s specification.
Definition: CLPatchPanel.h:154
A Table intended to hold astronomical data (a set of Measurements).
std::map< MSCalPatchKey, casacore::String > msciname_
Definition: CLPatchPanel.h:382
std::map< MSCalPatchKey, casacore::String > finterp_
Definition: CLPatchPanel.h:385
casacore::Vector< casacore::Double > refFreqIn_
Definition: CLPatchPanel.h:365
casacore::Bool calAvailable(casacore::Int obs, casacore::Int fld, casacore::Int ent, casacore::Int spw, casacore::Int ant=-1)
Is specific calibration explicitly available for a obs,fld,intent,spw,ant combination?
Matrix< T > xyPlane(size_t zplane)
Extract a plane as a matrix referencing the original data.
MSCalPatchKey(casacore::Int obs, casacore::Int fld, casacore::Int ent, casacore::Int spw, casacore::Int ant=-1)
casacore::Int nPar_
The number of (casacore::Float) parameters (per-chan, per-element)
Definition: CLPatchPanel.h:358
casacore::Vector< casacore::Int > getCLuniqueFldIds(NewCalTable &ct)
Definition: CLPatchPanel.h:313
casacore::Matrix< casacore::Float > result(casacore::Int ielem)
Definition: CLPatchPanel.h:205
void recordBadMSIndices(const casacore::Vector< casacore::Int > &obs, const casacore::Vector< casacore::Int > &fld, const casacore::Vector< casacore::Int > &ent, const casacore::Vector< casacore::Int > &spw)
virtual casacore::String print() const =0
std::map< MSCalPatchKey, CTTimeInterp1 * > msci_
Definition: CLPatchPanel.h:386
virtual casacore::String print() const
String: the storage and methods of handling collections of characters.
Definition: String.h:223
casacore::String spw
Definition: CLPatchPanel.h:178
CTTIFactoryPtr cttifactoryptr_
The factory to use to create CTTimeInterp1s.
Definition: CLPatchPanel.h:401
A class to provide easy read-only access to new CalTable columns.
Definition: CTColumns.h:92
casacore::Int nCTFld_
Definition: CLPatchPanel.h:373
casacore::Vector< casacore::Int > getCLuniqueSpwIds(NewCalTable &ct)
Definition: CLPatchPanel.h:314
casacore::Vector< casacore::Int > ctids(const casacore::Vector< casacore::Int > &msids) const
Return the ctids required for a set a msids (from among those available) TBD: what to do if nominally...
static casacore::Bool validateCLS(const casacore::Record &clslice)
validation
casacore::Cube< casacore::Float > result_
Definition: CLPatchPanel.h:206
casacore::Vector< casacore::Int > cpk_
Definition: CLPatchPanel.h:67
casacore::Int spw_
Definition: CLPatchPanel.h:88
std::map< MSCalPatchKey, casacore::String > badmsciname_
Definition: CLPatchPanel.h:383
const casacore::Vector< casacore::Double > & refFreqIn()
Definition: CLPatchPanel.h:281
virtual ~CalPatchKey()
Definition: CLPatchPanel.h:63
FieldCalMap()
Null ctor.
casacore::String obs
Definition: CLPatchPanel.h:178
casacore::Vector< casacore::Int > getMSuniqueIds(casacore::MeasurementSet &ms, casacore::String vcol)
Extract unique indices (net selected) from MS.
unsigned int uInt
Definition: aipstype.h:51
VisCalEnum::MatrixType mtype_
casacore::Matrix type
Definition: CLPatchPanel.h:352
casacore::Int nCTSpw_
Definition: CLPatchPanel.h:373
#define casacore
&lt;X11/Intrinsic.h&gt; #defines true, false, casacore::Bool, and String.
Definition: X11Intrinsic.h:42