casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CalBandpassRow.h
Go to the documentation of this file.
1 
2 /*
3  * ALMA - Atacama Large Millimeter Array
4  * (c) European Southern Observatory, 2002
5  * (c) Associated Universities Inc., 2002
6  * Copyright by ESO (in the framework of the ALMA collaboration),
7  * Copyright by AUI (in the framework of the ALMA collaboration),
8  * All rights reserved.
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free software Foundation; either
13  * version 2.1 of the License, or (at your option) any later version.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY, without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with this library; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23  * MA 02111-1307 USA
24  *
25  * Warning!
26  * --------------------------------------------------------------------
27  * | This is generated code! Do not modify this file. |
28  * | If you do, all changes will be lost when the file is re-generated. |
29  * --------------------------------------------------------------------
30  *
31  * File CalBandpassRow.h
32  */
33 
34 #ifndef CalBandpassRow_CLASS
35 #define CalBandpassRow_CLASS
36 
37 #include <vector>
38 #include <string>
39 #include <set>
40 
41 #ifndef WITHOUT_ACS
42 #include <asdmIDLC.h>
43 #endif
44 
45 
46 
47 
48 
49 
50 
51 #include <alma/ASDM/ArrayTime.h>
52 
53 
54 
55 #include <alma/ASDM/Frequency.h>
56 
57 
58 
59 #include <alma/ASDM/Tag.h>
60 
61 
62 
63 
64 
65 
67 
68 
69 
71 
72 
73 
75 
76 
77 
79 
80 
81 
83 
84 
85 
86 
87 
88 
89 
90 
91 
92 
93 
94 
95 
96 
97 
98 
99 
100 
101 
103 
104 
105 
106 
107 
108 
109 
110 
111 
112 
113 
114 
115 
116 
117 
118 
119 
120 
121 
122 
123 
124 
125 
126 
127 
128 
130 #include <alma/ASDM/NoSuchRow.h>
132 
134 //#include <alma/ASDM/TableStreamReader.h>
135 
136 /*\file CalBandpass.h
137  \brief Generated from model's revision "-1", branch ""
138 */
139 
140 namespace asdm {
141 
142 //class asdm::CalBandpassTable;
143 
144 
145 // class asdm::CalReductionRow;
146 class CalReductionRow;
147 
148 // class asdm::CalDataRow;
149 class CalDataRow;
150 
151 
152 class CalBandpassRow;
154 typedef void (CalBandpassRow::*CalBandpassAttributeFromText) (const std::string& s);
155 
165 //friend class asdm::TableStreamReader<CalBandpassTable, CalBandpassRow>;
166 
167 public:
168 
169  virtual ~CalBandpassRow();
170 
174  CalBandpassTable &getTable() const;
175 
180  bool isAdded() const;
181 
183  // Intrinsic Table Attributes //
185 
186 
187  // ===> Attribute basebandName
188 
189 
190 
191 
192 
197  BasebandNameMod::BasebandName getBasebandName() const;
198 
199 
200 
201 
211  void setBasebandName (BasebandNameMod::BasebandName basebandName);
212 
213 
214 
215 
216 
217 
218 
219  // ===> Attribute sideband
220 
221 
222 
223 
224 
229  NetSidebandMod::NetSideband getSideband() const;
230 
231 
232 
233 
243  void setSideband (NetSidebandMod::NetSideband sideband);
244 
245 
246 
247 
248 
249 
250 
251  // ===> Attribute atmPhaseCorrection
252 
253 
254 
255 
256 
261  AtmPhaseCorrectionMod::AtmPhaseCorrection getAtmPhaseCorrection() const;
262 
263 
264 
265 
275  void setAtmPhaseCorrection (AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection);
276 
277 
278 
279 
280 
281 
282 
283  // ===> Attribute typeCurve
284 
285 
286 
287 
288 
293  CalCurveTypeMod::CalCurveType getTypeCurve() const;
294 
295 
296 
297 
307  void setTypeCurve (CalCurveTypeMod::CalCurveType typeCurve);
308 
309 
310 
311 
312 
313 
314 
315  // ===> Attribute receiverBand
316 
317 
318 
319 
320 
325  ReceiverBandMod::ReceiverBand getReceiverBand() const;
326 
327 
328 
329 
339  void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand);
340 
341 
342 
343 
344 
345 
346 
347  // ===> Attribute startValidTime
348 
349 
350 
351 
352 
358 
359 
360 
361 
370 
371 
372 
373 
374 
375 
376 
377  // ===> Attribute endValidTime
378 
379 
380 
381 
382 
387  ArrayTime getEndValidTime() const;
388 
389 
390 
391 
400 
401 
402 
403 
404 
405 
406 
407  // ===> Attribute numAntenna
408 
409 
410 
411 
412 
417  int getNumAntenna() const;
418 
419 
420 
421 
429  void setNumAntenna (int numAntenna);
430 
431 
432 
433 
434 
435 
436 
437  // ===> Attribute numPoly
438 
439 
440 
441 
442 
447  int getNumPoly() const;
448 
449 
450 
451 
459  void setNumPoly (int numPoly);
460 
461 
462 
463 
464 
465 
466 
467  // ===> Attribute numReceptor
468 
469 
470 
471 
472 
477  int getNumReceptor() const;
478 
479 
480 
481 
489  void setNumReceptor (int numReceptor);
490 
491 
492 
493 
494 
495 
496 
497  // ===> Attribute antennaNames
498 
499 
500 
501 
502 
507  std::vector<std::string > getAntennaNames() const;
508 
509 
510 
511 
519  void setAntennaNames (std::vector<std::string > antennaNames);
520 
521 
522 
523 
524 
525 
526 
527  // ===> Attribute refAntennaName
528 
529 
530 
531 
532 
537  std::string getRefAntennaName() const;
538 
539 
540 
541 
549  void setRefAntennaName (std::string refAntennaName);
550 
551 
552 
553 
554 
555 
556 
557  // ===> Attribute freqLimits
558 
559 
560 
561 
562 
567  std::vector<Frequency > getFreqLimits() const;
568 
569 
570 
571 
579  void setFreqLimits (std::vector<Frequency > freqLimits);
580 
581 
582 
583 
584 
585 
586 
587  // ===> Attribute polarizationTypes
588 
589 
590 
591 
592 
597  std::vector<PolarizationTypeMod::PolarizationType > getPolarizationTypes() const;
598 
599 
600 
601 
609  void setPolarizationTypes (std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes);
610 
611 
612 
613 
614 
615 
616 
617  // ===> Attribute curve
618 
619 
620 
621 
622 
627  std::vector<std::vector<std::vector<float > > > getCurve() const;
628 
629 
630 
631 
639  void setCurve (std::vector<std::vector<std::vector<float > > > curve);
640 
641 
642 
643 
644 
645 
646 
647  // ===> Attribute reducedChiSquared
648 
649 
650 
651 
652 
657  std::vector<double > getReducedChiSquared() const;
658 
659 
660 
661 
669  void setReducedChiSquared (std::vector<double > reducedChiSquared);
670 
671 
672 
673 
674 
675 
676 
677  // ===> Attribute numBaseline, which is optional
678 
679 
680 
685  bool isNumBaselineExists() const;
686 
687 
688 
694  int getNumBaseline() const;
695 
696 
697 
698 
705  void setNumBaseline (int numBaseline);
706 
707 
708 
709 
713  void clearNumBaseline ();
714 
715 
716 
717 
718  // ===> Attribute numFreq, which is optional
719 
720 
721 
726  bool isNumFreqExists() const;
727 
728 
729 
735  int getNumFreq() const;
736 
737 
738 
739 
746  void setNumFreq (int numFreq);
747 
748 
749 
750 
754  void clearNumFreq ();
755 
756 
757 
758 
759  // ===> Attribute rms, which is optional
760 
761 
762 
767  bool isRmsExists() const;
768 
769 
770 
776  std::vector<std::vector<float > > getRms() const;
777 
778 
779 
780 
787  void setRms (std::vector<std::vector<float > > rms);
788 
789 
790 
791 
795  void clearRms ();
796 
797 
798 
799 
800  // ===> Attribute frequencyRange, which is optional
801 
802 
803 
808  bool isFrequencyRangeExists() const;
809 
810 
811 
817  std::vector<Frequency > getFrequencyRange() const;
818 
819 
820 
821 
828  void setFrequencyRange (std::vector<Frequency > frequencyRange);
829 
830 
831 
832 
836  void clearFrequencyRange ();
837 
838 
839 
840 
841  // ===> Attribute numSpectralWindow, which is optional
842 
843 
844 
849  bool isNumSpectralWindowExists() const;
850 
851 
852 
858  int getNumSpectralWindow() const;
859 
860 
861 
862 
870 
871 
872 
873 
877  void clearNumSpectralWindow ();
878 
879 
880 
881 
882  // ===> Attribute chanFreqStart, which is optional
883 
884 
885 
890  bool isChanFreqStartExists() const;
891 
892 
893 
899  std::vector<Frequency > getChanFreqStart() const;
900 
901 
902 
903 
910  void setChanFreqStart (std::vector<Frequency > chanFreqStart);
911 
912 
913 
914 
918  void clearChanFreqStart ();
919 
920 
921 
922 
923  // ===> Attribute chanFreqStep, which is optional
924 
925 
926 
931  bool isChanFreqStepExists() const;
932 
933 
934 
940  std::vector<Frequency > getChanFreqStep() const;
941 
942 
943 
944 
951  void setChanFreqStep (std::vector<Frequency > chanFreqStep);
952 
953 
954 
955 
959  void clearChanFreqStep ();
960 
961 
962 
963 
964  // ===> Attribute numSpectralWindowChan, which is optional
965 
966 
967 
972  bool isNumSpectralWindowChanExists() const;
973 
974 
975 
981  std::vector<int > getNumSpectralWindowChan() const;
982 
983 
984 
985 
992  void setNumSpectralWindowChan (std::vector<int > numSpectralWindowChan);
993 
994 
995 
996 
1001 
1002 
1003 
1004 
1005  // ===> Attribute spectrum, which is optional
1006 
1007 
1008 
1013  bool isSpectrumExists() const;
1014 
1015 
1016 
1022  std::vector<std::vector<std::vector<float > > > getSpectrum() const;
1023 
1024 
1025 
1026 
1033  void setSpectrum (std::vector<std::vector<std::vector<float > > > spectrum);
1034 
1035 
1036 
1037 
1041  void clearSpectrum ();
1042 
1043 
1044 
1046  // Extrinsic Table Attributes //
1048 
1049 
1050  // ===> Attribute calDataId
1051 
1052 
1053 
1054 
1055 
1060  Tag getCalDataId() const;
1061 
1062 
1063 
1064 
1074  void setCalDataId (Tag calDataId);
1075 
1076 
1077 
1078 
1079 
1080 
1081 
1082  // ===> Attribute calReductionId
1083 
1084 
1085 
1086 
1087 
1092  Tag getCalReductionId() const;
1093 
1094 
1095 
1096 
1107 
1108 
1109 
1110 
1111 
1112 
1114  // Links //
1116 
1117 
1118 
1119 
1120 
1128 
1129 
1130 
1131 
1132 
1133 
1134 
1135 
1143 
1144 
1145 
1146 
1147 
1148 
1149 
1191  bool compareNoAutoInc(BasebandNameMod::BasebandName basebandName, NetSidebandMod::NetSideband sideband, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, CalCurveTypeMod::CalCurveType typeCurve, ReceiverBandMod::ReceiverBand receiverBand, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, int numAntenna, int numPoly, int numReceptor, std::vector<std::string > antennaNames, std::string refAntennaName, std::vector<Frequency > freqLimits, std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector<std::vector<std::vector<float > > > curve, std::vector<double > reducedChiSquared);
1192 
1193 
1194 
1195 
1223  bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, int numAntenna, int numPoly, int numReceptor, std::vector<std::string > antennaNames, std::string refAntennaName, std::vector<Frequency > freqLimits, std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector<std::vector<std::vector<float > > > curve, std::vector<double > reducedChiSquared);
1224 
1225 
1235 
1236 #ifndef WITHOUT_ACS
1237 
1241  asdmIDL::CalBandpassRowIDL *toIDL() const;
1242 
1250  void toIDL(asdmIDL::CalBandpassRowIDL& x) const;
1251 #endif
1252 
1253 #ifndef WITHOUT_ACS
1254 
1259  void setFromIDL (asdmIDL::CalBandpassRowIDL x) ;
1260 #endif
1261 
1266  std::string toXML() const;
1267 
1274  void setFromXML (std::string rowDoc) ;
1275 
1278  // binary-deserialization material from an EndianIStream //
1280 
1281  std::map<std::string, CalBandpassAttributeFromBin> fromBinMethods;
1283 void sidebandFromBin( EndianIStream& eis);
1285 void typeCurveFromBin( EndianIStream& eis);
1287 void calDataIdFromBin( EndianIStream& eis);
1291 void numAntennaFromBin( EndianIStream& eis);
1292 void numPolyFromBin( EndianIStream& eis);
1293 void numReceptorFromBin( EndianIStream& eis);
1296 void freqLimitsFromBin( EndianIStream& eis);
1298 void curveFromBin( EndianIStream& eis);
1300 
1301 void numBaselineFromBin( EndianIStream& eis);
1302 void numFreqFromBin( EndianIStream& eis);
1303 void rmsFromBin( EndianIStream& eis);
1309 void spectrumFromBin( EndianIStream& eis);
1310 
1311 
1319  static CalBandpassRow* fromBin(EndianIStream& eis, CalBandpassTable& table, const std::vector<std::string>& attributesSeq);
1320 
1327  void fromText(const std::string& attributeName, const std::string& t);
1329 
1330 private:
1339 
1340  // This method is used by the Table class when this row is added to the table.
1341  void isAdded(bool added);
1342 
1343 
1353 
1372 
1374  // Intrinsic Table Attributes //
1376 
1377 
1378  // ===> Attribute basebandName
1379 
1380 
1381 
1382  BasebandNameMod::BasebandName basebandName;
1383 
1384 
1385 
1386 
1387 
1388 
1389  // ===> Attribute sideband
1390 
1391 
1392 
1393  NetSidebandMod::NetSideband sideband;
1394 
1395 
1396 
1397 
1398 
1399 
1400  // ===> Attribute atmPhaseCorrection
1401 
1402 
1403 
1404  AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection;
1405 
1406 
1407 
1408 
1409 
1410 
1411  // ===> Attribute typeCurve
1412 
1413 
1414 
1415  CalCurveTypeMod::CalCurveType typeCurve;
1416 
1417 
1418 
1419 
1420 
1421 
1422  // ===> Attribute receiverBand
1423 
1424 
1425 
1426  ReceiverBandMod::ReceiverBand receiverBand;
1427 
1428 
1429 
1430 
1431 
1432 
1433  // ===> Attribute startValidTime
1434 
1435 
1436 
1438 
1439 
1440 
1441 
1442 
1443 
1444  // ===> Attribute endValidTime
1445 
1446 
1447 
1449 
1450 
1451 
1452 
1453 
1454 
1455  // ===> Attribute numAntenna
1456 
1457 
1458 
1460 
1461 
1462 
1463 
1464 
1465 
1466  // ===> Attribute numPoly
1467 
1468 
1469 
1470  int numPoly;
1471 
1472 
1473 
1474 
1475 
1476 
1477  // ===> Attribute numReceptor
1478 
1479 
1480 
1482 
1483 
1484 
1485 
1486 
1487 
1488  // ===> Attribute antennaNames
1489 
1490 
1491 
1492  std::vector<std::string > antennaNames;
1493 
1494 
1495 
1496 
1497 
1498 
1499  // ===> Attribute refAntennaName
1500 
1501 
1502 
1503  std::string refAntennaName;
1504 
1505 
1506 
1507 
1508 
1509 
1510  // ===> Attribute freqLimits
1511 
1512 
1513 
1514  std::vector<Frequency > freqLimits;
1515 
1516 
1517 
1518 
1519 
1520 
1521  // ===> Attribute polarizationTypes
1522 
1523 
1524 
1525  std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes;
1526 
1527 
1528 
1529 
1530 
1531 
1532  // ===> Attribute curve
1533 
1534 
1535 
1536  std::vector<std::vector<std::vector<float > > > curve;
1537 
1538 
1539 
1540 
1541 
1542 
1543  // ===> Attribute reducedChiSquared
1544 
1545 
1546 
1547  std::vector<double > reducedChiSquared;
1548 
1549 
1550 
1551 
1552 
1553 
1554  // ===> Attribute numBaseline, which is optional
1555 
1556 
1558 
1559 
1561 
1562 
1563 
1564 
1565 
1566 
1567  // ===> Attribute numFreq, which is optional
1568 
1569 
1571 
1572 
1573  int numFreq;
1574 
1575 
1576 
1577 
1578 
1579 
1580  // ===> Attribute rms, which is optional
1581 
1582 
1584 
1585 
1586  std::vector<std::vector<float > > rms;
1587 
1588 
1589 
1590 
1591 
1592 
1593  // ===> Attribute frequencyRange, which is optional
1594 
1595 
1597 
1598 
1599  std::vector<Frequency > frequencyRange;
1600 
1601 
1602 
1603 
1604 
1605 
1606  // ===> Attribute numSpectralWindow, which is optional
1607 
1608 
1610 
1611 
1613 
1614 
1615 
1616 
1617 
1618 
1619  // ===> Attribute chanFreqStart, which is optional
1620 
1621 
1623 
1624 
1625  std::vector<Frequency > chanFreqStart;
1626 
1627 
1628 
1629 
1630 
1631 
1632  // ===> Attribute chanFreqStep, which is optional
1633 
1634 
1636 
1637 
1638  std::vector<Frequency > chanFreqStep;
1639 
1640 
1641 
1642 
1643 
1644 
1645  // ===> Attribute numSpectralWindowChan, which is optional
1646 
1647 
1649 
1650 
1651  std::vector<int > numSpectralWindowChan;
1652 
1653 
1654 
1655 
1656 
1657 
1658  // ===> Attribute spectrum, which is optional
1659 
1660 
1662 
1663 
1664  std::vector<std::vector<std::vector<float > > > spectrum;
1665 
1666 
1667 
1668 
1669 
1671  // Extrinsic Table Attributes //
1673 
1674 
1675  // ===> Attribute calDataId
1676 
1677 
1678 
1679  Tag calDataId;
1680 
1681 
1682 
1683 
1684 
1685 
1686  // ===> Attribute calReductionId
1687 
1688 
1689 
1691 
1692 
1693 
1694 
1695 
1697  // Links //
1699 
1700 
1701 
1702 
1703 
1704 
1705 
1706 
1707 
1708 
1709 
1710 
1711 
1712 
1713 
1714 
1715 /*
1717  // binary-deserialization material from an EndianIStream //
1719  std::map<std::string, CalBandpassAttributeFromBin> fromBinMethods;
1720 void basebandNameFromBin( EndianIStream& eis);
1721 void sidebandFromBin( EndianIStream& eis);
1722 void atmPhaseCorrectionFromBin( EndianIStream& eis);
1723 void typeCurveFromBin( EndianIStream& eis);
1724 void receiverBandFromBin( EndianIStream& eis);
1725 void calDataIdFromBin( EndianIStream& eis);
1726 void calReductionIdFromBin( EndianIStream& eis);
1727 void startValidTimeFromBin( EndianIStream& eis);
1728 void endValidTimeFromBin( EndianIStream& eis);
1729 void numAntennaFromBin( EndianIStream& eis);
1730 void numPolyFromBin( EndianIStream& eis);
1731 void numReceptorFromBin( EndianIStream& eis);
1732 void antennaNamesFromBin( EndianIStream& eis);
1733 void refAntennaNameFromBin( EndianIStream& eis);
1734 void freqLimitsFromBin( EndianIStream& eis);
1735 void polarizationTypesFromBin( EndianIStream& eis);
1736 void curveFromBin( EndianIStream& eis);
1737 void reducedChiSquaredFromBin( EndianIStream& eis);
1738 
1739 void numBaselineFromBin( EndianIStream& eis);
1740 void numFreqFromBin( EndianIStream& eis);
1741 void rmsFromBin( EndianIStream& eis);
1742 void frequencyRangeFromBin( EndianIStream& eis);
1743 void numSpectralWindowFromBin( EndianIStream& eis);
1744 void chanFreqStartFromBin( EndianIStream& eis);
1745 void chanFreqStepFromBin( EndianIStream& eis);
1746 void numSpectralWindowChanFromBin( EndianIStream& eis);
1747 void spectrumFromBin( EndianIStream& eis);
1748 
1749 */
1750 
1752  // text-deserialization material //
1754  std::map<std::string, CalBandpassAttributeFromText> fromTextMethods;
1755 
1756 void basebandNameFromText (const std::string & s);
1757 
1758 
1759 void sidebandFromText (const std::string & s);
1760 
1761 
1762 void atmPhaseCorrectionFromText (const std::string & s);
1763 
1764 
1765 void typeCurveFromText (const std::string & s);
1766 
1767 
1768 void receiverBandFromText (const std::string & s);
1769 
1770 
1771 void calDataIdFromText (const std::string & s);
1772 
1773 
1774 void calReductionIdFromText (const std::string & s);
1775 
1776 
1777 void startValidTimeFromText (const std::string & s);
1778 
1779 
1780 void endValidTimeFromText (const std::string & s);
1781 
1782 
1783 void numAntennaFromText (const std::string & s);
1784 
1785 
1786 void numPolyFromText (const std::string & s);
1787 
1788 
1789 void numReceptorFromText (const std::string & s);
1790 
1791 
1792 void antennaNamesFromText (const std::string & s);
1793 
1794 
1795 void refAntennaNameFromText (const std::string & s);
1796 
1797 
1798 void freqLimitsFromText (const std::string & s);
1799 
1800 
1801 void polarizationTypesFromText (const std::string & s);
1802 
1803 
1804 void curveFromText (const std::string & s);
1805 
1806 
1807 void reducedChiSquaredFromText (const std::string & s);
1808 
1809 
1810 
1811 void numBaselineFromText (const std::string & s);
1812 
1813 
1814 void numFreqFromText (const std::string & s);
1815 
1816 
1817 void rmsFromText (const std::string & s);
1818 
1819 
1820 void frequencyRangeFromText (const std::string & s);
1821 
1822 
1823 void numSpectralWindowFromText (const std::string & s);
1824 
1825 
1826 void chanFreqStartFromText (const std::string & s);
1827 
1828 
1829 void chanFreqStepFromText (const std::string & s);
1830 
1831 
1832 void numSpectralWindowChanFromText (const std::string & s);
1833 
1834 
1835 void spectrumFromText (const std::string & s);
1836 
1837 
1838 
1843  void toBin(EndianOSStream& eoss);
1844 
1854 };
1855 
1856 } // End namespace asdm
1857 
1858 #endif /* CalBandpass_CLASS */
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
void frequencyRangeFromText(const std::string &s)
void calReductionIdFromText(const std::string &s)
void antennaNamesFromText(const std::string &s)
void setNumFreq(int numFreq)
Set numFreq with the specified int.
void clearChanFreqStart()
Mark chanFreqStart, which is an optional field, as non-existent.
int numAntenna
===&gt; Attribute numAntenna
void calReductionIdFromBin(EndianIStream &eis)
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
void clearNumSpectralWindow()
Mark numSpectralWindow, which is an optional field, as non-existent.
std::vector< double > reducedChiSquared
===&gt; Attribute reducedChiSquared
void basebandNameFromBin(EndianIStream &eis)
bool isNumBaselineExists() const
===&gt; Attribute numBaseline, which is optional
void atmPhaseCorrectionFromBin(EndianIStream &eis)
void typeCurveFromBin(EndianIStream &eis)
void numPolyFromText(const std::string &s)
void antennaNamesFromBin(EndianIStream &eis)
void(CalBandpassRow::* CalBandpassAttributeFromText)(const std::string &s)
std::vector< int > numSpectralWindowChan
void reducedChiSquaredFromBin(EndianIStream &eis)
std::vector< Frequency > chanFreqStep
void curveFromText(const std::string &s)
void setNumBaseline(int numBaseline)
Set numBaseline with the specified int.
void setRms(std::vector< std::vector< float > > rms)
Set rms with the specified std::vector&lt;std::vector&lt;float &gt; &gt;.
void setNumPoly(int numPoly)
Set numPoly with the specified int.
ArrayTime getStartValidTime() const
===&gt; Attribute startValidTime
bool isChanFreqStartExists() const
===&gt; Attribute chanFreqStart, which is optional
void chanFreqStartFromBin(EndianIStream &eis)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
std::string refAntennaName
===&gt; Attribute refAntennaName
bool numFreqExists
===&gt; Attribute numFreq, which is optional
bool rmsExists
===&gt; Attribute rms, which is optional
CalCurveTypeMod::CalCurveType typeCurve
===&gt; Attribute typeCurve
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
void setBasebandName(BasebandNameMod::BasebandName basebandName)
Set basebandName with the specified BasebandNameMod::BasebandName.
CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
void clearRms()
Mark rms, which is an optional field, as non-existent.
void setTypeCurve(CalCurveTypeMod::CalCurveType typeCurve)
Set typeCurve with the specified CalCurveTypeMod::CalCurveType.
std::vector< std::vector< std::vector< float > > > spectrum
void setAntennaNames(std::vector< std::string > antennaNames)
Set antennaNames with the specified std::vector&lt;std::string &gt;.
bool numSpectralWindowExists
===&gt; Attribute numSpectralWindow, which is optional
void numBaselineFromBin(EndianIStream &eis)
void atmPhaseCorrectionFromText(const std::string &s)
void endValidTimeFromBin(EndianIStream &eis)
ReceiverBandMod::ReceiverBand getReceiverBand() const
===&gt; Attribute receiverBand
int getNumPoly() const
===&gt; Attribute numPoly
The CalBandpassTable class is an Alma table.
void sidebandFromText(const std::string &s)
void setSideband(NetSidebandMod::NetSideband sideband)
Set sideband with the specified NetSidebandMod::NetSideband.
The CalBandpassRow class is a row of a CalBandpassTable.
ArrayTime endValidTime
===&gt; Attribute endValidTime
void setChanFreqStart(std::vector< Frequency > chanFreqStart)
Set chanFreqStart with the specified std::vector&lt;Frequency &gt;.
bool isSpectrumExists() const
===&gt; Attribute spectrum, which is optional
void chanFreqStepFromBin(EndianIStream &eis)
std::vector< int > getNumSpectralWindowChan() const
Get numSpectralWindowChan, which is optional.
bool numSpectralWindowChanExists
===&gt; Attribute numSpectralWindowChan, which is optional
bool isNumSpectralWindowChanExists() const
===&gt; Attribute numSpectralWindowChan, which is optional
bool compareNoAutoInc(BasebandNameMod::BasebandName basebandName, NetSidebandMod::NetSideband sideband, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, CalCurveTypeMod::CalCurveType typeCurve, ReceiverBandMod::ReceiverBand receiverBand, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, int numAntenna, int numPoly, int numReceptor, std::vector< std::string > antennaNames, std::string refAntennaName, std::vector< Frequency > freqLimits, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< std::vector< float > > > curve, std::vector< double > reducedChiSquared)
Compare each mandatory attribute except the autoincrementable one of this CalBandpassRow with the cor...
asdmIDL::CalBandpassRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void numSpectralWindowFromBin(EndianIStream &eis)
void polarizationTypesFromText(const std::string &s)
void setReducedChiSquared(std::vector< double > reducedChiSquared)
Set reducedChiSquared with the specified std::vector&lt;double &gt;.
void polarizationTypesFromBin(EndianIStream &eis)
std::string getRefAntennaName() const
===&gt; Attribute refAntennaName
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector&lt;PolarizationTypeMod::PolarizationType &gt;...
void numPolyFromBin(EndianIStream &eis)
void numAntennaFromBin(EndianIStream &eis)
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
void numReceptorFromBin(EndianIStream &eis)
void freqLimitsFromText(const std::string &s)
void numSpectralWindowFromText(const std::string &s)
void numSpectralWindowChanFromBin(EndianIStream &eis)
bool hasBeenAdded
Whether this row has been added to the table or not.
bool numBaselineExists
===&gt; Attribute numBaseline, which is optional
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
ReceiverBandMod::ReceiverBand receiverBand
===&gt; Attribute receiverBand
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===&gt; Attribute polarizationTypes
void calDataIdFromText(const std::string &s)
AtmPhaseCorrectionMod::AtmPhaseCorrection getAtmPhaseCorrection() const
===&gt; Attribute atmPhaseCorrection
void setChanFreqStep(std::vector< Frequency > chanFreqStep)
Set chanFreqStep with the specified std::vector&lt;Frequency &gt;.
NetSidebandMod::NetSideband sideband
===&gt; Attribute sideband
std::vector< Frequency > frequencyRange
CalBandpassTable & getTable() const
Return the table to which this row belongs.
void refAntennaNameFromBin(EndianIStream &eis)
void numBaselineFromText(const std::string &s)
std::vector< std::vector< std::vector< float > > > getSpectrum() const
Get spectrum, which is optional.
void clearFrequencyRange()
Mark frequencyRange, which is an optional field, as non-existent.
The CalReductionRow class is a row of a CalReductionTable.
void numFreqFromText(const std::string &s)
void startValidTimeFromBin(EndianIStream &eis)
void refAntennaNameFromText(const std::string &s)
void setFreqLimits(std::vector< Frequency > freqLimits)
Set freqLimits with the specified std::vector&lt;Frequency &gt;.
AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection
===&gt; Attribute atmPhaseCorrection
bool isFrequencyRangeExists() const
===&gt; Attribute frequencyRange, which is optional
bool isNumFreqExists() const
===&gt; Attribute numFreq, which is optional
bool isChanFreqStepExists() const
===&gt; Attribute chanFreqStep, which is optional
bool isRmsExists() const
===&gt; Attribute rms, which is optional
std::vector< Frequency > getFreqLimits() const
===&gt; Attribute freqLimits
bool spectrumExists
===&gt; Attribute spectrum, which is optional
void endValidTimeFromText(const std::string &s)
void basebandNameFromText(const std::string &s)
void startValidTimeFromText(const std::string &s)
Links *CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
void setRefAntennaName(std::string refAntennaName)
Set refAntennaName with the specified std::string.
void rmsFromBin(EndianIStream &eis)
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
Definition: ArrayTime.h:89
CalBandpassRow(CalBandpassTable &table)
Create a CalBandpassRow.
void numReceptorFromText(const std::string &s)
void setFrequencyRange(std::vector< Frequency > frequencyRange)
Set frequencyRange with the specified std::vector&lt;Frequency &gt;.
void freqLimitsFromBin(EndianIStream &eis)
bool chanFreqStepExists
===&gt; Attribute chanFreqStep, which is optional
void setCurve(std::vector< std::vector< std::vector< float > > > curve)
Set curve with the specified std::vector&lt;std::vector&lt;std::vector&lt;float &gt; &gt; &gt;.
bool equalByRequiredValue(CalBandpassRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
int getNumAntenna() const
===&gt; Attribute numAntenna
void spectrumFromText(const std::string &s)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
Definition: Tag.h:73
void curveFromBin(EndianIStream &eis)
void calDataIdFromBin(EndianIStream &eis)
std::vector< Frequency > getFrequencyRange() const
Get frequencyRange, which is optional.
std::vector< std::vector< float > > rms
std::vector< Frequency > getChanFreqStart() const
Get chanFreqStart, which is optional.
void rmsFromText(const std::string &s)
ArrayTime startValidTime
===&gt; Attribute startValidTime
void spectrumFromBin(EndianIStream &eis)
void setFromIDL(asdmIDL::CalBandpassRowIDL x)
Fill the values of this row from the IDL struct CalBandpassRowIDL.
void typeCurveFromText(const std::string &s)
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, int numAntenna, int numPoly, int numReceptor, std::vector< std::string > antennaNames, std::string refAntennaName, std::vector< Frequency > freqLimits, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< std::vector< float > > > curve, std::vector< double > reducedChiSquared)
Compare each mandatory value (i.e.
void setAtmPhaseCorrection(AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection)
Set atmPhaseCorrection with the specified AtmPhaseCorrectionMod::AtmPhaseCorrection.
bool chanFreqStartExists
===&gt; Attribute chanFreqStart, which is optional
void numAntennaFromText(const std::string &s)
void clearSpectrum()
Mark spectrum, which is an optional field, as non-existent.
void frequencyRangeFromBin(EndianIStream &eis)
bool isNumSpectralWindowExists() const
===&gt; Attribute numSpectralWindow, which is optional
std::string toXML() const
Return this row in the form of an XML string.
std::vector< Frequency > getChanFreqStep() const
Get chanFreqStep, which is optional.
CalBandpassTable & table
The table to which this row belongs.
std::vector< std::string > antennaNames
===&gt; Attribute antennaNames
std::vector< std::vector< std::vector< float > > > curve
===&gt; Attribute curve
Tag getCalReductionId() const
===&gt; Attribute calReductionId
void clearChanFreqStep()
Mark chanFreqStep, which is an optional field, as non-existent.
void setNumSpectralWindow(int numSpectralWindow)
Set numSpectralWindow with the specified int.
int numPoly
===&gt; Attribute numPoly
*text deserialization material std::map< std::string, CalBandpassAttributeFromText > fromTextMethods
void chanFreqStartFromText(const std::string &s)
virtual ~CalBandpassRow()
friend class asdm::TableStreamReader&lt;CalBandpassTable, CalBandpassRow&gt;;
void setSpectrum(std::vector< std::vector< std::vector< float > > > spectrum)
Set spectrum with the specified std::vector&lt;std::vector&lt;std::vector&lt;float &gt; &gt; &gt;.
void receiverBandFromText(const std::string &s)
std::vector< std::string > getAntennaNames() const
===&gt; Attribute antennaNames
The CalDataRow class is a row of a CalDataTable.
Definition: CalDataRow.h:130
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void sidebandFromBin(EndianIStream &eis)
void chanFreqStepFromText(const std::string &s)
Links *binary deserialization material from an EndianIStream std::map< std::string, CalBandpassAttributeFromBin > fromBinMethods
std::vector< Frequency > chanFreqStart
ArrayTime getEndValidTime() const
===&gt; Attribute endValidTime
void setNumAntenna(int numAntenna)
Set numAntenna with the specified int.
void clearNumSpectralWindowChan()
Mark numSpectralWindowChan, which is an optional field, as non-existent.
int getNumReceptor() const
===&gt; Attribute numReceptor
void(CalBandpassRow::* CalBandpassAttributeFromBin)(EndianIStream &eis)
void receiverBandFromBin(EndianIStream &eis)
int getNumFreq() const
Get numFreq, which is optional.
CalCurveTypeMod::CalCurveType getTypeCurve() const
===&gt; Attribute typeCurve
std::vector< double > getReducedChiSquared() const
===&gt; Attribute reducedChiSquared
Tag calReductionId
===&gt; Attribute calReductionId
void numFreqFromBin(EndianIStream &eis)
void numSpectralWindowChanFromText(const std::string &s)
void clearNumBaseline()
Mark numBaseline, which is an optional field, as non-existent.
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===&gt; Attribute polarizationTypes
void clearNumFreq()
Mark numFreq, which is an optional field, as non-existent.
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
bool frequencyRangeExists
===&gt; Attribute frequencyRange, which is optional
NetSidebandMod::NetSideband getSideband() const
===&gt; Attribute sideband
std::vector< std::vector< float > > getRms() const
Get rms, which is optional.
bool isAdded() const
Has this row been added to its table ?
int getNumBaseline() const
Get numBaseline, which is optional.
void reducedChiSquaredFromText(const std::string &s)
std::vector< std::vector< std::vector< float > > > getCurve() const
===&gt; Attribute curve
void setNumSpectralWindowChan(std::vector< int > numSpectralWindowChan)
Set numSpectralWindowChan with the specified std::vector&lt;int &gt;.
int numReceptor
===&gt; Attribute numReceptor
int getNumSpectralWindow() const
Get numSpectralWindow, which is optional.
std::vector< Frequency > freqLimits
===&gt; Attribute freqLimits