casa
$Rev:20696$
|
00001 00002 /* 00003 * ALMA - Atacama Large Millimeter Array 00004 * (c) European Southern Observatory, 2002 00005 * (c) Associated Universities Inc., 2002 00006 * Copyright by ESO (in the framework of the ALMA collaboration), 00007 * Copyright by AUI (in the framework of the ALMA collaboration), 00008 * All rights reserved. 00009 * 00010 * This library is free software; you can redistribute it and/or 00011 * modify it under the terms of the GNU Lesser General Public 00012 * License as published by the Free software Foundation; either 00013 * version 2.1 of the License, or (at your option) any later version. 00014 * 00015 * This library is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY, without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 * Lesser General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU Lesser General Public 00021 * License along with this library; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00023 * MA 02111-1307 USA 00024 * 00025 * Warning! 00026 * -------------------------------------------------------------------- 00027 * | This is generated code! Do not modify this file. | 00028 * | If you do, all changes will be lost when the file is re-generated. | 00029 * -------------------------------------------------------------------- 00030 * 00031 * File CalPointingRow.h 00032 */ 00033 00034 #ifndef CalPointingRow_CLASS 00035 #define CalPointingRow_CLASS 00036 00037 #include <vector> 00038 #include <string> 00039 #include <set> 00040 00041 #ifndef WITHOUT_ACS 00042 #include <asdmIDLC.h> 00043 #endif 00044 00045 00046 00047 00048 00049 00050 00051 #include <ArrayTime.h> 00052 00053 00054 00055 #include <Temperature.h> 00056 00057 00058 00059 #include <Angle.h> 00060 00061 00062 00063 #include <Tag.h> 00064 00065 00066 00067 #include <Frequency.h> 00068 00069 00070 00071 00072 00073 00074 00075 00076 #include "CReceiverBand.h" 00077 00078 00079 00080 00081 00082 00083 00084 00085 00086 #include "CAntennaMake.h" 00087 00088 00089 00090 #include "CAtmPhaseCorrection.h" 00091 00092 00093 00094 00095 00096 00097 00098 #include "CPointingModelMode.h" 00099 00100 00101 00102 #include "CPointingMethod.h" 00103 00104 00105 00106 00107 00108 #include "CPolarizationType.h" 00109 00110 00111 00112 00113 00114 00115 00116 00117 00118 00119 00120 00121 00122 00123 00124 00125 00126 00127 00128 00129 00130 00131 00132 00133 00134 00135 00136 00137 00138 00139 00140 00141 00142 00143 00144 00145 00146 00147 00148 00149 #include <ConversionException.h> 00150 #include <NoSuchRow.h> 00151 #include <IllegalAccessException.h> 00152 00153 #include <RowTransformer.h> 00154 //#include <TableStreamReader.h> 00155 00156 /*\file CalPointing.h 00157 \brief Generated from model's revision "1.64", branch "HEAD" 00158 */ 00159 00160 namespace asdm { 00161 00162 //class asdm::CalPointingTable; 00163 00164 00165 // class asdm::CalDataRow; 00166 class CalDataRow; 00167 00168 // class asdm::CalReductionRow; 00169 class CalReductionRow; 00170 00171 00172 class CalPointingRow; 00173 typedef void (CalPointingRow::*CalPointingAttributeFromBin) (EndianIStream& eis); 00174 typedef void (CalPointingRow::*CalPointingAttributeFromText) (const string& s); 00175 00182 class CalPointingRow { 00183 friend class asdm::CalPointingTable; 00184 friend class asdm::RowTransformer<CalPointingRow>; 00185 //friend class asdm::TableStreamReader<CalPointingTable, CalPointingRow>; 00186 00187 public: 00188 00189 virtual ~CalPointingRow(); 00190 00194 CalPointingTable &getTable() const; 00195 00200 bool isAdded() const; 00201 00203 // Intrinsic Table Attributes // 00205 00206 00207 // ===> Attribute antennaName 00208 00209 00210 00211 00212 00217 string getAntennaName() const; 00218 00219 00220 00221 00231 void setAntennaName (string antennaName); 00232 00233 00234 00235 00236 00237 00238 00239 // ===> Attribute receiverBand 00240 00241 00242 00243 00244 00249 ReceiverBandMod::ReceiverBand getReceiverBand() const; 00250 00251 00252 00253 00263 void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand); 00264 00265 00266 00267 00268 00269 00270 00271 // ===> Attribute startValidTime 00272 00273 00274 00275 00276 00281 ArrayTime getStartValidTime() const; 00282 00283 00284 00285 00293 void setStartValidTime (ArrayTime startValidTime); 00294 00295 00296 00297 00298 00299 00300 00301 // ===> Attribute endValidTime 00302 00303 00304 00305 00306 00311 ArrayTime getEndValidTime() const; 00312 00313 00314 00315 00323 void setEndValidTime (ArrayTime endValidTime); 00324 00325 00326 00327 00328 00329 00330 00331 // ===> Attribute ambientTemperature 00332 00333 00334 00335 00336 00341 Temperature getAmbientTemperature() const; 00342 00343 00344 00345 00353 void setAmbientTemperature (Temperature ambientTemperature); 00354 00355 00356 00357 00358 00359 00360 00361 // ===> Attribute antennaMake 00362 00363 00364 00365 00366 00371 AntennaMakeMod::AntennaMake getAntennaMake() const; 00372 00373 00374 00375 00383 void setAntennaMake (AntennaMakeMod::AntennaMake antennaMake); 00384 00385 00386 00387 00388 00389 00390 00391 // ===> Attribute atmPhaseCorrection 00392 00393 00394 00395 00396 00401 AtmPhaseCorrectionMod::AtmPhaseCorrection getAtmPhaseCorrection() const; 00402 00403 00404 00405 00413 void setAtmPhaseCorrection (AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection); 00414 00415 00416 00417 00418 00419 00420 00421 // ===> Attribute direction 00422 00423 00424 00425 00426 00431 vector<Angle > getDirection() const; 00432 00433 00434 00435 00443 void setDirection (vector<Angle > direction); 00444 00445 00446 00447 00448 00449 00450 00451 // ===> Attribute frequencyRange 00452 00453 00454 00455 00456 00461 vector<Frequency > getFrequencyRange() const; 00462 00463 00464 00465 00473 void setFrequencyRange (vector<Frequency > frequencyRange); 00474 00475 00476 00477 00478 00479 00480 00481 // ===> Attribute pointingModelMode 00482 00483 00484 00485 00486 00491 PointingModelModeMod::PointingModelMode getPointingModelMode() const; 00492 00493 00494 00495 00503 void setPointingModelMode (PointingModelModeMod::PointingModelMode pointingModelMode); 00504 00505 00506 00507 00508 00509 00510 00511 // ===> Attribute pointingMethod 00512 00513 00514 00515 00516 00521 PointingMethodMod::PointingMethod getPointingMethod() const; 00522 00523 00524 00525 00533 void setPointingMethod (PointingMethodMod::PointingMethod pointingMethod); 00534 00535 00536 00537 00538 00539 00540 00541 // ===> Attribute numReceptor 00542 00543 00544 00545 00546 00551 int getNumReceptor() const; 00552 00553 00554 00555 00563 void setNumReceptor (int numReceptor); 00564 00565 00566 00567 00568 00569 00570 00571 // ===> Attribute polarizationTypes 00572 00573 00574 00575 00576 00581 vector<PolarizationTypeMod::PolarizationType > getPolarizationTypes() const; 00582 00583 00584 00585 00593 void setPolarizationTypes (vector<PolarizationTypeMod::PolarizationType > polarizationTypes); 00594 00595 00596 00597 00598 00599 00600 00601 // ===> Attribute collOffsetRelative 00602 00603 00604 00605 00606 00611 vector<vector<Angle > > getCollOffsetRelative() const; 00612 00613 00614 00615 00623 void setCollOffsetRelative (vector<vector<Angle > > collOffsetRelative); 00624 00625 00626 00627 00628 00629 00630 00631 // ===> Attribute collOffsetAbsolute 00632 00633 00634 00635 00636 00641 vector<vector<Angle > > getCollOffsetAbsolute() const; 00642 00643 00644 00645 00653 void setCollOffsetAbsolute (vector<vector<Angle > > collOffsetAbsolute); 00654 00655 00656 00657 00658 00659 00660 00661 // ===> Attribute collError 00662 00663 00664 00665 00666 00671 vector<vector<Angle > > getCollError() const; 00672 00673 00674 00675 00683 void setCollError (vector<vector<Angle > > collError); 00684 00685 00686 00687 00688 00689 00690 00691 // ===> Attribute collOffsetTied 00692 00693 00694 00695 00696 00701 vector<vector<bool > > getCollOffsetTied() const; 00702 00703 00704 00705 00713 void setCollOffsetTied (vector<vector<bool > > collOffsetTied); 00714 00715 00716 00717 00718 00719 00720 00721 // ===> Attribute reducedChiSquared 00722 00723 00724 00725 00726 00731 vector<double > getReducedChiSquared() const; 00732 00733 00734 00735 00743 void setReducedChiSquared (vector<double > reducedChiSquared); 00744 00745 00746 00747 00748 00749 00750 00751 // ===> Attribute averagedPolarizations, which is optional 00752 00753 00754 00759 bool isAveragedPolarizationsExists() const; 00760 00761 00762 00768 bool getAveragedPolarizations() const; 00769 00770 00771 00772 00779 void setAveragedPolarizations (bool averagedPolarizations); 00780 00781 00782 00783 00787 void clearAveragedPolarizations (); 00788 00789 00790 00791 00792 // ===> Attribute beamPA, which is optional 00793 00794 00795 00800 bool isBeamPAExists() const; 00801 00802 00803 00809 vector<Angle > getBeamPA() const; 00810 00811 00812 00813 00820 void setBeamPA (vector<Angle > beamPA); 00821 00822 00823 00824 00828 void clearBeamPA (); 00829 00830 00831 00832 00833 // ===> Attribute beamPAError, which is optional 00834 00835 00836 00841 bool isBeamPAErrorExists() const; 00842 00843 00844 00850 vector<Angle > getBeamPAError() const; 00851 00852 00853 00854 00861 void setBeamPAError (vector<Angle > beamPAError); 00862 00863 00864 00865 00869 void clearBeamPAError (); 00870 00871 00872 00873 00874 // ===> Attribute beamPAWasFixed, which is optional 00875 00876 00877 00882 bool isBeamPAWasFixedExists() const; 00883 00884 00885 00891 bool getBeamPAWasFixed() const; 00892 00893 00894 00895 00902 void setBeamPAWasFixed (bool beamPAWasFixed); 00903 00904 00905 00906 00910 void clearBeamPAWasFixed (); 00911 00912 00913 00914 00915 // ===> Attribute beamWidth, which is optional 00916 00917 00918 00923 bool isBeamWidthExists() const; 00924 00925 00926 00932 vector<vector<Angle > > getBeamWidth() const; 00933 00934 00935 00936 00943 void setBeamWidth (vector<vector<Angle > > beamWidth); 00944 00945 00946 00947 00951 void clearBeamWidth (); 00952 00953 00954 00955 00956 // ===> Attribute beamWidthError, which is optional 00957 00958 00959 00964 bool isBeamWidthErrorExists() const; 00965 00966 00967 00973 vector<vector<Angle > > getBeamWidthError() const; 00974 00975 00976 00977 00984 void setBeamWidthError (vector<vector<Angle > > beamWidthError); 00985 00986 00987 00988 00992 void clearBeamWidthError (); 00993 00994 00995 00996 00997 // ===> Attribute beamWidthWasFixed, which is optional 00998 00999 01000 01005 bool isBeamWidthWasFixedExists() const; 01006 01007 01008 01014 vector<bool > getBeamWidthWasFixed() const; 01015 01016 01017 01018 01025 void setBeamWidthWasFixed (vector<bool > beamWidthWasFixed); 01026 01027 01028 01029 01033 void clearBeamWidthWasFixed (); 01034 01035 01036 01037 01038 // ===> Attribute offIntensity, which is optional 01039 01040 01041 01046 bool isOffIntensityExists() const; 01047 01048 01049 01055 vector<Temperature > getOffIntensity() const; 01056 01057 01058 01059 01066 void setOffIntensity (vector<Temperature > offIntensity); 01067 01068 01069 01070 01074 void clearOffIntensity (); 01075 01076 01077 01078 01079 // ===> Attribute offIntensityError, which is optional 01080 01081 01082 01087 bool isOffIntensityErrorExists() const; 01088 01089 01090 01096 vector<Temperature > getOffIntensityError() const; 01097 01098 01099 01100 01107 void setOffIntensityError (vector<Temperature > offIntensityError); 01108 01109 01110 01111 01115 void clearOffIntensityError (); 01116 01117 01118 01119 01120 // ===> Attribute offIntensityWasFixed, which is optional 01121 01122 01123 01128 bool isOffIntensityWasFixedExists() const; 01129 01130 01131 01137 bool getOffIntensityWasFixed() const; 01138 01139 01140 01141 01148 void setOffIntensityWasFixed (bool offIntensityWasFixed); 01149 01150 01151 01152 01156 void clearOffIntensityWasFixed (); 01157 01158 01159 01160 01161 // ===> Attribute peakIntensity, which is optional 01162 01163 01164 01169 bool isPeakIntensityExists() const; 01170 01171 01172 01178 vector<Temperature > getPeakIntensity() const; 01179 01180 01181 01182 01189 void setPeakIntensity (vector<Temperature > peakIntensity); 01190 01191 01192 01193 01197 void clearPeakIntensity (); 01198 01199 01200 01201 01202 // ===> Attribute peakIntensityError, which is optional 01203 01204 01205 01210 bool isPeakIntensityErrorExists() const; 01211 01212 01213 01219 vector<Temperature > getPeakIntensityError() const; 01220 01221 01222 01223 01230 void setPeakIntensityError (vector<Temperature > peakIntensityError); 01231 01232 01233 01234 01238 void clearPeakIntensityError (); 01239 01240 01241 01242 01243 // ===> Attribute peakIntensityWasFixed, which is optional 01244 01245 01246 01251 bool isPeakIntensityWasFixedExists() const; 01252 01253 01254 01260 bool getPeakIntensityWasFixed() const; 01261 01262 01263 01264 01271 void setPeakIntensityWasFixed (bool peakIntensityWasFixed); 01272 01273 01274 01275 01279 void clearPeakIntensityWasFixed (); 01280 01281 01282 01284 // Extrinsic Table Attributes // 01286 01287 01288 // ===> Attribute calDataId 01289 01290 01291 01292 01293 01298 Tag getCalDataId() const; 01299 01300 01301 01302 01312 void setCalDataId (Tag calDataId); 01313 01314 01315 01316 01317 01318 01319 01320 // ===> Attribute calReductionId 01321 01322 01323 01324 01325 01330 Tag getCalReductionId() const; 01331 01332 01333 01334 01344 void setCalReductionId (Tag calReductionId); 01345 01346 01347 01348 01349 01350 01352 // Links // 01354 01355 01356 01357 01358 01365 CalDataRow* getCalDataUsingCalDataId(); 01366 01367 01368 01369 01370 01371 01372 01373 01380 CalReductionRow* getCalReductionUsingCalReductionId(); 01381 01382 01383 01384 01385 01386 01387 01433 bool compareNoAutoInc(string antennaName, ReceiverBandMod::ReceiverBand receiverBand, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, Temperature ambientTemperature, AntennaMakeMod::AntennaMake antennaMake, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, vector<Angle > direction, vector<Frequency > frequencyRange, PointingModelModeMod::PointingModelMode pointingModelMode, PointingMethodMod::PointingMethod pointingMethod, int numReceptor, vector<PolarizationTypeMod::PolarizationType > polarizationTypes, vector<vector<Angle > > collOffsetRelative, vector<vector<Angle > > collOffsetAbsolute, vector<vector<Angle > > collError, vector<vector<bool > > collOffsetTied, vector<double > reducedChiSquared); 01434 01435 01436 01437 01475 bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, Temperature ambientTemperature, AntennaMakeMod::AntennaMake antennaMake, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, vector<Angle > direction, vector<Frequency > frequencyRange, PointingModelModeMod::PointingModelMode pointingModelMode, PointingMethodMod::PointingMethod pointingMethod, int numReceptor, vector<PolarizationTypeMod::PolarizationType > polarizationTypes, vector<vector<Angle > > collOffsetRelative, vector<vector<Angle > > collOffsetAbsolute, vector<vector<Angle > > collError, vector<vector<bool > > collOffsetTied, vector<double > reducedChiSquared); 01476 01477 01486 bool equalByRequiredValue(CalPointingRow* x) ; 01487 01488 #ifndef WITHOUT_ACS 01489 01493 asdmIDL::CalPointingRowIDL *toIDL() const; 01494 01502 void toIDL(asdmIDL::CalPointingRowIDL& x) const; 01503 #endif 01504 01505 #ifndef WITHOUT_ACS 01506 01511 void setFromIDL (asdmIDL::CalPointingRowIDL x) ; 01512 #endif 01513 01518 std::string toXML() const; 01519 01526 void setFromXML (std::string rowDoc) ; 01527 01530 // binary-deserialization material from an EndianIStream // 01532 01533 std::map<std::string, CalPointingAttributeFromBin> fromBinMethods; 01534 void antennaNameFromBin( EndianIStream& eis); 01535 void receiverBandFromBin( EndianIStream& eis); 01536 void calDataIdFromBin( EndianIStream& eis); 01537 void calReductionIdFromBin( EndianIStream& eis); 01538 void startValidTimeFromBin( EndianIStream& eis); 01539 void endValidTimeFromBin( EndianIStream& eis); 01540 void ambientTemperatureFromBin( EndianIStream& eis); 01541 void antennaMakeFromBin( EndianIStream& eis); 01542 void atmPhaseCorrectionFromBin( EndianIStream& eis); 01543 void directionFromBin( EndianIStream& eis); 01544 void frequencyRangeFromBin( EndianIStream& eis); 01545 void pointingModelModeFromBin( EndianIStream& eis); 01546 void pointingMethodFromBin( EndianIStream& eis); 01547 void numReceptorFromBin( EndianIStream& eis); 01548 void polarizationTypesFromBin( EndianIStream& eis); 01549 void collOffsetRelativeFromBin( EndianIStream& eis); 01550 void collOffsetAbsoluteFromBin( EndianIStream& eis); 01551 void collErrorFromBin( EndianIStream& eis); 01552 void collOffsetTiedFromBin( EndianIStream& eis); 01553 void reducedChiSquaredFromBin( EndianIStream& eis); 01554 01555 void averagedPolarizationsFromBin( EndianIStream& eis); 01556 void beamPAFromBin( EndianIStream& eis); 01557 void beamPAErrorFromBin( EndianIStream& eis); 01558 void beamPAWasFixedFromBin( EndianIStream& eis); 01559 void beamWidthFromBin( EndianIStream& eis); 01560 void beamWidthErrorFromBin( EndianIStream& eis); 01561 void beamWidthWasFixedFromBin( EndianIStream& eis); 01562 void offIntensityFromBin( EndianIStream& eis); 01563 void offIntensityErrorFromBin( EndianIStream& eis); 01564 void offIntensityWasFixedFromBin( EndianIStream& eis); 01565 void peakIntensityFromBin( EndianIStream& eis); 01566 void peakIntensityErrorFromBin( EndianIStream& eis); 01567 void peakIntensityWasFixedFromBin( EndianIStream& eis); 01568 01569 01577 static CalPointingRow* fromBin(EndianIStream& eis, CalPointingTable& table, const std::vector<std::string>& attributesSeq); 01578 01585 void fromText(const std::string& attributeName, const std::string& t); 01587 01588 private: 01592 CalPointingTable &table; 01596 bool hasBeenAdded; 01597 01598 // This method is used by the Table class when this row is added to the table. 01599 void isAdded(bool added); 01600 01601 01610 CalPointingRow (CalPointingTable &table); 01611 01629 CalPointingRow (CalPointingTable &table, CalPointingRow &row); 01630 01632 // Intrinsic Table Attributes // 01634 01635 01636 // ===> Attribute antennaName 01637 01638 01639 01640 string antennaName; 01641 01642 01643 01644 01645 01646 01647 // ===> Attribute receiverBand 01648 01649 01650 01651 ReceiverBandMod::ReceiverBand receiverBand; 01652 01653 01654 01655 01656 01657 01658 // ===> Attribute startValidTime 01659 01660 01661 01662 ArrayTime startValidTime; 01663 01664 01665 01666 01667 01668 01669 // ===> Attribute endValidTime 01670 01671 01672 01673 ArrayTime endValidTime; 01674 01675 01676 01677 01678 01679 01680 // ===> Attribute ambientTemperature 01681 01682 01683 01684 Temperature ambientTemperature; 01685 01686 01687 01688 01689 01690 01691 // ===> Attribute antennaMake 01692 01693 01694 01695 AntennaMakeMod::AntennaMake antennaMake; 01696 01697 01698 01699 01700 01701 01702 // ===> Attribute atmPhaseCorrection 01703 01704 01705 01706 AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection; 01707 01708 01709 01710 01711 01712 01713 // ===> Attribute direction 01714 01715 01716 01717 vector<Angle > direction; 01718 01719 01720 01721 01722 01723 01724 // ===> Attribute frequencyRange 01725 01726 01727 01728 vector<Frequency > frequencyRange; 01729 01730 01731 01732 01733 01734 01735 // ===> Attribute pointingModelMode 01736 01737 01738 01739 PointingModelModeMod::PointingModelMode pointingModelMode; 01740 01741 01742 01743 01744 01745 01746 // ===> Attribute pointingMethod 01747 01748 01749 01750 PointingMethodMod::PointingMethod pointingMethod; 01751 01752 01753 01754 01755 01756 01757 // ===> Attribute numReceptor 01758 01759 01760 01761 int numReceptor; 01762 01763 01764 01765 01766 01767 01768 // ===> Attribute polarizationTypes 01769 01770 01771 01772 vector<PolarizationTypeMod::PolarizationType > polarizationTypes; 01773 01774 01775 01776 01777 01778 01779 // ===> Attribute collOffsetRelative 01780 01781 01782 01783 vector<vector<Angle > > collOffsetRelative; 01784 01785 01786 01787 01788 01789 01790 // ===> Attribute collOffsetAbsolute 01791 01792 01793 01794 vector<vector<Angle > > collOffsetAbsolute; 01795 01796 01797 01798 01799 01800 01801 // ===> Attribute collError 01802 01803 01804 01805 vector<vector<Angle > > collError; 01806 01807 01808 01809 01810 01811 01812 // ===> Attribute collOffsetTied 01813 01814 01815 01816 vector<vector<bool > > collOffsetTied; 01817 01818 01819 01820 01821 01822 01823 // ===> Attribute reducedChiSquared 01824 01825 01826 01827 vector<double > reducedChiSquared; 01828 01829 01830 01831 01832 01833 01834 // ===> Attribute averagedPolarizations, which is optional 01835 01836 01837 bool averagedPolarizationsExists; 01838 01839 01840 bool averagedPolarizations; 01841 01842 01843 01844 01845 01846 01847 // ===> Attribute beamPA, which is optional 01848 01849 01850 bool beamPAExists; 01851 01852 01853 vector<Angle > beamPA; 01854 01855 01856 01857 01858 01859 01860 // ===> Attribute beamPAError, which is optional 01861 01862 01863 bool beamPAErrorExists; 01864 01865 01866 vector<Angle > beamPAError; 01867 01868 01869 01870 01871 01872 01873 // ===> Attribute beamPAWasFixed, which is optional 01874 01875 01876 bool beamPAWasFixedExists; 01877 01878 01879 bool beamPAWasFixed; 01880 01881 01882 01883 01884 01885 01886 // ===> Attribute beamWidth, which is optional 01887 01888 01889 bool beamWidthExists; 01890 01891 01892 vector<vector<Angle > > beamWidth; 01893 01894 01895 01896 01897 01898 01899 // ===> Attribute beamWidthError, which is optional 01900 01901 01902 bool beamWidthErrorExists; 01903 01904 01905 vector<vector<Angle > > beamWidthError; 01906 01907 01908 01909 01910 01911 01912 // ===> Attribute beamWidthWasFixed, which is optional 01913 01914 01915 bool beamWidthWasFixedExists; 01916 01917 01918 vector<bool > beamWidthWasFixed; 01919 01920 01921 01922 01923 01924 01925 // ===> Attribute offIntensity, which is optional 01926 01927 01928 bool offIntensityExists; 01929 01930 01931 vector<Temperature > offIntensity; 01932 01933 01934 01935 01936 01937 01938 // ===> Attribute offIntensityError, which is optional 01939 01940 01941 bool offIntensityErrorExists; 01942 01943 01944 vector<Temperature > offIntensityError; 01945 01946 01947 01948 01949 01950 01951 // ===> Attribute offIntensityWasFixed, which is optional 01952 01953 01954 bool offIntensityWasFixedExists; 01955 01956 01957 bool offIntensityWasFixed; 01958 01959 01960 01961 01962 01963 01964 // ===> Attribute peakIntensity, which is optional 01965 01966 01967 bool peakIntensityExists; 01968 01969 01970 vector<Temperature > peakIntensity; 01971 01972 01973 01974 01975 01976 01977 // ===> Attribute peakIntensityError, which is optional 01978 01979 01980 bool peakIntensityErrorExists; 01981 01982 01983 vector<Temperature > peakIntensityError; 01984 01985 01986 01987 01988 01989 01990 // ===> Attribute peakIntensityWasFixed, which is optional 01991 01992 01993 bool peakIntensityWasFixedExists; 01994 01995 01996 bool peakIntensityWasFixed; 01997 01998 01999 02000 02001 02003 // Extrinsic Table Attributes // 02005 02006 02007 // ===> Attribute calDataId 02008 02009 02010 02011 Tag calDataId; 02012 02013 02014 02015 02016 02017 02018 // ===> Attribute calReductionId 02019 02020 02021 02022 Tag calReductionId; 02023 02024 02025 02026 02027 02029 // Links // 02031 02032 02033 02034 02035 02036 02037 02038 02039 02040 02041 02042 02043 02044 02045 02046 02047 /* 02049 // binary-deserialization material from an EndianIStream // 02051 std::map<std::string, CalPointingAttributeFromBin> fromBinMethods; 02052 void antennaNameFromBin( EndianIStream& eis); 02053 void receiverBandFromBin( EndianIStream& eis); 02054 void calDataIdFromBin( EndianIStream& eis); 02055 void calReductionIdFromBin( EndianIStream& eis); 02056 void startValidTimeFromBin( EndianIStream& eis); 02057 void endValidTimeFromBin( EndianIStream& eis); 02058 void ambientTemperatureFromBin( EndianIStream& eis); 02059 void antennaMakeFromBin( EndianIStream& eis); 02060 void atmPhaseCorrectionFromBin( EndianIStream& eis); 02061 void directionFromBin( EndianIStream& eis); 02062 void frequencyRangeFromBin( EndianIStream& eis); 02063 void pointingModelModeFromBin( EndianIStream& eis); 02064 void pointingMethodFromBin( EndianIStream& eis); 02065 void numReceptorFromBin( EndianIStream& eis); 02066 void polarizationTypesFromBin( EndianIStream& eis); 02067 void collOffsetRelativeFromBin( EndianIStream& eis); 02068 void collOffsetAbsoluteFromBin( EndianIStream& eis); 02069 void collErrorFromBin( EndianIStream& eis); 02070 void collOffsetTiedFromBin( EndianIStream& eis); 02071 void reducedChiSquaredFromBin( EndianIStream& eis); 02072 02073 void averagedPolarizationsFromBin( EndianIStream& eis); 02074 void beamPAFromBin( EndianIStream& eis); 02075 void beamPAErrorFromBin( EndianIStream& eis); 02076 void beamPAWasFixedFromBin( EndianIStream& eis); 02077 void beamWidthFromBin( EndianIStream& eis); 02078 void beamWidthErrorFromBin( EndianIStream& eis); 02079 void beamWidthWasFixedFromBin( EndianIStream& eis); 02080 void offIntensityFromBin( EndianIStream& eis); 02081 void offIntensityErrorFromBin( EndianIStream& eis); 02082 void offIntensityWasFixedFromBin( EndianIStream& eis); 02083 void peakIntensityFromBin( EndianIStream& eis); 02084 void peakIntensityErrorFromBin( EndianIStream& eis); 02085 void peakIntensityWasFixedFromBin( EndianIStream& eis); 02086 02087 */ 02088 02090 // text-deserialization material // 02092 std::map<std::string, CalPointingAttributeFromText> fromTextMethods; 02093 02094 void antennaNameFromText (const string & s); 02095 02096 02097 void receiverBandFromText (const string & s); 02098 02099 02100 void calDataIdFromText (const string & s); 02101 02102 02103 void calReductionIdFromText (const string & s); 02104 02105 02106 void startValidTimeFromText (const string & s); 02107 02108 02109 void endValidTimeFromText (const string & s); 02110 02111 02112 void ambientTemperatureFromText (const string & s); 02113 02114 02115 void antennaMakeFromText (const string & s); 02116 02117 02118 void atmPhaseCorrectionFromText (const string & s); 02119 02120 02121 void directionFromText (const string & s); 02122 02123 02124 void frequencyRangeFromText (const string & s); 02125 02126 02127 void pointingModelModeFromText (const string & s); 02128 02129 02130 void pointingMethodFromText (const string & s); 02131 02132 02133 void numReceptorFromText (const string & s); 02134 02135 02136 void polarizationTypesFromText (const string & s); 02137 02138 02139 void collOffsetRelativeFromText (const string & s); 02140 02141 02142 void collOffsetAbsoluteFromText (const string & s); 02143 02144 02145 void collErrorFromText (const string & s); 02146 02147 02148 void collOffsetTiedFromText (const string & s); 02149 02150 02151 void reducedChiSquaredFromText (const string & s); 02152 02153 02154 02155 void averagedPolarizationsFromText (const string & s); 02156 02157 02158 void beamPAFromText (const string & s); 02159 02160 02161 void beamPAErrorFromText (const string & s); 02162 02163 02164 void beamPAWasFixedFromText (const string & s); 02165 02166 02167 void beamWidthFromText (const string & s); 02168 02169 02170 void beamWidthErrorFromText (const string & s); 02171 02172 02173 void beamWidthWasFixedFromText (const string & s); 02174 02175 02176 void offIntensityFromText (const string & s); 02177 02178 02179 void offIntensityErrorFromText (const string & s); 02180 02181 02182 void offIntensityWasFixedFromText (const string & s); 02183 02184 02185 void peakIntensityFromText (const string & s); 02186 02187 02188 void peakIntensityErrorFromText (const string & s); 02189 02190 02191 void peakIntensityWasFixedFromText (const string & s); 02192 02193 02194 02199 void toBin(EndianOSStream& eoss); 02200 02210 }; 02211 02212 } // End namespace asdm 02213 02214 #endif /* CalPointing_CLASS */