Changeset 1399
- Timestamp:
- 11/16/07 13:36:15 (17 years ago)
- Location:
- trunk/external/atnf/PKSIO
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/atnf/PKSIO/FITSreader.h
r1325 r1399 2 2 //# FITSreader.h: ATNF single-dish FITS reader. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 64 //# Copyright (C) 2000-2007 5 5 //# Mark Calabretta, ATNF 6 6 //# … … 27 27 //# AUSTRALIA 28 28 //# 29 //# $Id: FITSreader.h,v 19. 5 2006/05/19 02:18:02 mcalabreExp $29 //# $Id: FITSreader.h,v 19.6 2007/11/12 03:37:56 cal103 Exp $ 30 30 //#--------------------------------------------------------------------------- 31 31 //# The FITSreader class is an abstract base class for the Parkes Multibeam … … 74 74 double antPos[3], 75 75 char obsType[32], 76 char bunit[32], 76 77 float &equinox, 77 78 char radecsys[32], -
trunk/external/atnf/PKSIO/MBFITSreader.cc
r1372 r1399 27 27 //# AUSTRALIA 28 28 //# 29 //# $Id: MBFITSreader.cc,v 19.3 4 2007/07/02 06:12:18cal103 Exp $29 //# $Id: MBFITSreader.cc,v 19.36 2007/11/12 03:37:56 cal103 Exp $ 30 30 //#--------------------------------------------------------------------------- 31 31 //# The MBFITSreader class reads single dish RPFITS files (such as Parkes … … 317 317 double antPos[3], 318 318 char obsType[32], 319 char bunit[32], 319 320 float &equinox, 320 321 char radecsys[32], … … 392 393 obsType[j] = '\0'; 393 394 395 // Brightness unit. 396 sprintf(bunit, "%-16.16s", names_.bunit); 397 if (strcmp(bunit, "JY") == 0) { 398 bunit[1] = 'y'; 399 } else if (strcmp(bunit, "JY/BEAM") == 0) { 400 strcpy(bunit, "Jy/beam"); 401 } 402 394 403 // Coordinate frames. 395 404 equinox = 2000.0f; … … 613 622 } 614 623 624 // Check for change-of-day. 625 if (cUTC < cPrevUTC - 85800.0) { 626 cUTC += 86400.0; 627 } 628 629 if (cNBin > 1) { 630 // Binning mode: correct the time. 631 cUTC += param_.intbase * (cBin - (cNBin + 1)/2.0); 632 } 633 634 // New integration cycle? 635 if (cUTC > cPrevUTC) { 636 cCycleNo++; 637 cPrevUTC = cUTC + 0.0001; 638 } 639 615 640 // Apply beam selection. 616 641 beamNo = int(cBaseline / 256.0); … … 626 651 627 652 sprintf(cDateObs, "%-10.10s", names_.datobs); 628 629 // Check for change-of-day.630 if (cUTC < cPrevUTC - 85800.0) {631 cUTC += 86400.0;632 }633 634 if (cNBin > 1) {635 // Binning mode: correct the time.636 cUTC += param_.intbase * (cBin - (cNBin + 1)/2.0);637 }638 639 // New integration cycle?640 if (cUTC > cPrevUTC) {641 cCycleNo++;642 cPrevUTC = cUTC + 0.0001;643 }644 653 645 654 // Compute buffer number. … … 895 904 if (!cFlushing) { 896 905 // Buffer this MBrec. 897 if ( cCycleNo == 1&& iMBuff->IFno[0]) {906 if ((cScanNo > iMBuff->scanNo) && iMBuff->IFno[0]) { 898 907 // Sanity check on the number of IFs in the new scan. 899 908 if (if_.n_if != cNIF) { -
trunk/external/atnf/PKSIO/MBFITSreader.h
r1372 r1399 27 27 //# AUSTRALIA 28 28 //# 29 //# $Id: MBFITSreader.h,v 19.1 3 2007/07/02 06:11:22cal103 Exp $29 //# $Id: MBFITSreader.h,v 19.14 2007/11/12 03:37:56 cal103 Exp $ 30 30 //#--------------------------------------------------------------------------- 31 31 //# The MBFITSreader class reads single dish RPFITS files (such as Parkes … … 78 78 double antPos[3], 79 79 char obsType[32], 80 char bunit[32], 80 81 float &equinox, 81 82 char radecsys[32], -
trunk/external/atnf/PKSIO/PKSFITSreader.cc
r1325 r1399 1 //#---------------------------------------------------------------------------2 1 //# PKSFITSreader.cc: Class to read Parkes multibeam data from a FITS file. 3 2 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 63 //# Copyright (C) 2000-2007 5 4 //# Associated Universities, Inc. Washington DC, USA. 6 5 //# … … 26 25 //# Charlottesville, VA 22903-2475 USA 27 26 //# 28 //# $Id: PKSFITSreader.cc,v 19.1 2 2006/07/05 04:49:57 mcalabreExp $27 //# $Id: PKSFITSreader.cc,v 19.13 2007/11/12 03:37:56 cal103 Exp $ 29 28 //#--------------------------------------------------------------------------- 30 29 //# Original: 2000/08/02, Mark Calabretta, ATNF … … 138 137 Vector<Double> &antPosition, 139 138 String &obsType, 139 String &bunit, 140 140 Float &equinox, 141 141 String &dopplerFrame, … … 144 144 Double &bandwidth) 145 145 { 146 char datobs[32], dopplerFrame_[32], observer_[32], obsType_[32],147 project_[32], radecsys[32], telescope[32];146 char bunit_[32], datobs[32], dopplerFrame_[32], observer_[32], 147 obsType_[32], project_[32], radecsys[32], telescope[32]; 148 148 float equinox_; 149 149 double antPos[3], utc; 150 150 151 151 if (cReader->getHeader(observer_, project_, telescope, antPos, obsType_, 152 equinox_, radecsys, dopplerFrame_, datobs, utc,153 refFreq, bandwidth)) {152 bunit_, equinox_, radecsys, dopplerFrame_, 153 datobs, utc, refFreq, bandwidth)) { 154 154 return 1; 155 155 } … … 163 163 antPosition(2) = antPos[2]; 164 164 obsType = trim(obsType_); 165 bunit = trim(bunit_); 165 166 equinox = equinox_; 166 167 dopplerFrame = trim(dopplerFrame_); -
trunk/external/atnf/PKSIO/PKSFITSreader.h
r1325 r1399 2 2 //# PKSFITSreader.h: Class to read Parkes Multibeam data from a FITS file. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 64 //# Copyright (C) 2000-2007 5 5 //# Associated Universities, Inc. Washington DC, USA. 6 6 //# … … 26 26 //# Charlottesville, VA 22903-2475 USA 27 27 //# 28 //# $Id: PKSFITSreader.h,v 19.1 1 2006/07/05 04:49:57 mcalabreExp $28 //# $Id: PKSFITSreader.h,v 19.12 2007/11/12 03:37:56 cal103 Exp $ 29 29 //#--------------------------------------------------------------------------- 30 30 //# This class is basically a wrapper class for reading data from either an … … 82 82 Vector<Double> &antPosition, 83 83 String &obsType, 84 String &bunit, 84 85 Float &equinox, 85 86 String &dopplerFrame, -
trunk/external/atnf/PKSIO/PKSMS2reader.cc
r1325 r1399 2 2 //# PKSMS2reader.cc: Class to read Parkes Multibeam data from a v2 MS. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 64 //# Copyright (C) 2000-2007 5 5 //# Associated Universities, Inc. Washington DC, USA. 6 6 //# … … 26 26 //# Charlottesville, VA 22903-2475 USA 27 27 //# 28 //# $Id: PKSMS2reader.cc,v 19.1 1 2006/07/05 04:59:20 mcalabreExp $28 //# $Id: PKSMS2reader.cc,v 19.12 2007/11/12 03:37:56 cal103 Exp $ 29 29 //#--------------------------------------------------------------------------- 30 30 //# Original: 2000/08/03, Mark Calabretta, ATNF … … 249 249 Vector<Double> &antPosition, 250 250 String &obsMode, 251 String &bunit, 251 252 Float &equinox, 252 253 String &dopplerFrame, … … 277 278 } 278 279 280 // Brightness units. 281 bunit = cPKSMS.unit(MSMainEnums::FLOAT_DATA); 279 282 280 283 // Coordinate equinox. -
trunk/external/atnf/PKSIO/PKSMS2reader.h
r1325 r1399 2 2 //# PKSMS2reader.h: Class to read Parkes Multibeam data from a v2 MS. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 64 //# Copyright (C) 2000-2007 5 5 //# Associated Universities, Inc. Washington DC, USA. 6 6 //# … … 26 26 //# Charlottesville, VA 22903-2475 USA 27 27 //# 28 //# $Id: PKSMS2reader.h,v 19.1 2 2006/07/05 04:55:45 mcalabreExp $28 //# $Id: PKSMS2reader.h,v 19.13 2007/11/12 03:37:56 cal103 Exp $ 29 29 //#--------------------------------------------------------------------------- 30 30 //# Original: 2000/08/03, Mark Calabretta, ATNF … … 79 79 Vector<Double> &antPosition, 80 80 String &obsMode, 81 String &bunit, 81 82 Float &equinox, 82 String & freqRef,83 String &dopplerFrame, 83 84 Double &mjd, 84 85 Double &refFreq, -
trunk/external/atnf/PKSIO/PKSMS2writer.cc
r1325 r1399 2 2 //# PKSMS2writer.cc: Class to write Parkes multibeam data to a measurementset. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 64 //# Copyright (C) 2000-2007 5 5 //# Associated Universities, Inc. Washington DC, USA. 6 6 //# … … 26 26 //# Charlottesville, VA 22903-2475 USA 27 27 //# 28 //# $Id: PKSMS2writer.cc,v 19.1 1 2006/11/06 22:25:22 mmarquarExp $28 //# $Id: PKSMS2writer.cc,v 19.12 2007/11/12 03:37:56 cal103 Exp $ 29 29 //#--------------------------------------------------------------------------- 30 30 … … 76 76 const Vector<Double> antPosition, 77 77 const String obsMode, 78 const String bunit, 78 79 const Float equinox, 79 80 const String dopplerFrame, … … 100 101 MS::addColumnToDesc(pksDesc, MS::FLOAT_DATA, 2); 101 102 pksDesc.rwColumnDesc(MS::columnName(MS::FLOAT_DATA)).rwKeywordSet(). 102 define("UNIT", String("Jy"));103 define("UNIT", bunit); 103 104 pksDesc.rwColumnDesc(MS::columnName(MS::FLOAT_DATA)).rwKeywordSet(). 104 105 define("MEASURE_TYPE", ""); … … 120 121 MS::addColumnToDesc(pksDesc, MS::DATA, 2); 121 122 pksDesc.rwColumnDesc(MS::columnName(MS::DATA)).rwKeywordSet(). 122 define("UNIT", "Jy");123 define("UNIT", bunit); 123 124 pksDesc.rwColumnDesc(MS::columnName(MS::DATA)).rwKeywordSet(). 124 125 define("MEASURE_TYPE", ""); … … 567 568 delete cXCalFctrCol; cXCalFctrCol=0; 568 569 } 569 570 570 571 // Release all subtables. 571 572 cAntenna = MSAntenna(); -
trunk/external/atnf/PKSIO/PKSMS2writer.h
r1325 r1399 2 2 //# PKSMS2writer.h: Class to write Parkes Multibeam data to a measurementset. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 64 //# Copyright (C) 2000-2007 5 5 //# Associated Universities, Inc. Washington DC, USA. 6 6 //# … … 26 26 //# Charlottesville, VA 22903-2475 USA 27 27 //# 28 //# $Id: PKSMS2writer.h,v 19.1 1 2006/07/05 05:35:31 mcalabreExp $28 //# $Id: PKSMS2writer.h,v 19.12 2007/11/12 03:37:56 cal103 Exp $ 29 29 //#--------------------------------------------------------------------------- 30 30 … … 64 64 const Vector<Double> antPosition, 65 65 const String obsMode, 66 const String bunit, 66 67 const Float equinox, 67 68 const String dopplerFrame, -
trunk/external/atnf/PKSIO/PKSSDwriter.cc
r1325 r1399 2 2 //# PKSSDwriter.cc: Class to write Parkes multibeam data to an SDFITS file. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 64 //# Copyright (C) 2000-2007 5 5 //# Associated Universities, Inc. Washington DC, USA. 6 6 //# … … 26 26 //# Charlottesville, VA 22903-2475 USA 27 27 //# 28 //# $Id: PKSSDwriter.cc,v 19.1 1 2006/07/05 05:41:12 mcalabreExp $28 //# $Id: PKSSDwriter.cc,v 19.13 2007/11/12 03:37:56 cal103 Exp $ 29 29 //#--------------------------------------------------------------------------- 30 30 … … 63 63 const Vector<Double> antPosition, 64 64 const String obsMode, 65 const String bunit, 65 66 const Float equinox, 66 67 const String dopplerFrame, … … 101 102 Int status = cSDwriter.create((char *)sdName.chars(), 102 103 (char *)observer.chars(), (char *)project.chars(), 103 (char *)antName.chars(), antPos, (char *)obsMode.chars(), equinox,104 (char *) dopplerFrame.chars(), cNIF,104 (char *)antName.chars(), antPos, (char *)obsMode.chars(), 105 (char *)bunit.chars(), equinox, (char *)dopplerFrame.chars(), cNIF, 105 106 (int *)cNChan.getStorage(deleteIt), 106 107 (int *)cNPol.getStorage(deleteIt), … … 316 317 } 317 318 319 //------------------------------------------------------- PKSSDwriter::history 320 321 // Write a history record. 322 323 Int PKSSDwriter::history(const String text) 324 { 325 return cSDwriter.history((char *)text.chars()); 326 } 327 328 Int PKSSDwriter::history(const char *text) 329 { 330 return cSDwriter.history((char *)text); 331 } 332 318 333 //--------------------------------------------------------- PKSSDwriter::close 319 334 -
trunk/external/atnf/PKSIO/PKSSDwriter.h
r1325 r1399 1 1 //#--------------------------------------------------------------------------- 2 //# PKSSD Writer.h: Class to write Parkes multibeam data to an SDFITS file.2 //# PKSSDwriter.h: Class to write Parkes multibeam data to an SDFITS file. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 64 //# Copyright (C) 2000-2007 5 5 //# Associated Universities, Inc. Washington DC, USA. 6 6 //# … … 26 26 //# Charlottesville, VA 22903-2475 USA 27 27 //# 28 //# $Id: PKSSDwriter.h,v 19.1 2 2006/07/05 05:37:32 mcalabreExp $28 //# $Id: PKSSDwriter.h,v 19.14 2007/11/12 03:37:56 cal103 Exp $ 29 29 //# Original: 2000/07/21, Mark Calabretta, ATNF 30 30 //#--------------------------------------------------------------------------- … … 64 64 const Vector<Double> antPosition, 65 65 const String obsMode, 66 const String bunit, 66 67 const Float equinox, 67 68 const String dopplerFrame, … … 115 116 const Vector<Complex> &xPol); 116 117 118 // Write a history record. 119 virtual Int history(const String text); 120 virtual Int history(const char *text); 121 117 122 // Close the SDFITS file. 118 123 virtual void close(); -
trunk/external/atnf/PKSIO/PKSreader.h
r1325 r1399 2 2 //# PKSreader.h: Class to read Parkes multibeam data. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 64 //# Copyright (C) 2000-2007 5 5 //# Associated Universities, Inc. Washington DC, USA. 6 6 //# … … 26 26 //# Charlottesville, VA 22903-2475 USA 27 27 //# 28 //# $Id: PKSreader.h,v 19.1 1 2006/07/05 05:00:21 mcalabreExp $28 //# $Id: PKSreader.h,v 19.12 2007/11/12 03:37:56 cal103 Exp $ 29 29 //#--------------------------------------------------------------------------- 30 30 //# Original: 2000/08/02, Mark Calabretta, ATNF … … 101 101 Vector<Double> &antPosition, 102 102 String &obsType, 103 String &bunit, 103 104 Float &equinox, 104 105 String &dopplerFrame, -
trunk/external/atnf/PKSIO/PKSwriter.h
r1325 r1399 2 2 //# PKSwriter.h: Class to write out Parkes multibeam data. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 64 //# Copyright (C) 2000-2007 5 5 //# Associated Universities, Inc. Washington DC, USA. 6 6 //# … … 26 26 //# Charlottesville, VA 22903-2475 USA 27 27 //# 28 //# $Id: PKSwriter.h,v 19.1 2 2006/07/05 05:33:31 mcalabreExp $28 //# $Id: PKSwriter.h,v 19.14 2007/11/12 03:37:56 cal103 Exp $ 29 29 //#--------------------------------------------------------------------------- 30 30 … … 57 57 const Vector<Double> antPosition, 58 58 const String obsMode, 59 const String bunit, 59 60 const Float equinox, 60 61 const String dopplerFrame, … … 108 109 const Vector<Complex> &xPol) = 0; 109 110 111 // Write a history record. 112 virtual Int history(const String text) {return 0;}; 113 virtual Int history(const char *text) {return 0;}; 114 110 115 // Close the output file. 111 116 virtual void close() = 0; -
trunk/external/atnf/PKSIO/SDFITSreader.cc
r1325 r1399 2 2 //# SDFITSreader.cc: ATNF CFITSIO interface class for SDFITS input. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 64 //# Copyright (C) 2000-2007 5 5 //# Associated Universities, Inc. Washington DC, USA. 6 6 //# … … 26 26 //# Charlottesville, VA 22903-2475 USA 27 27 //# 28 //# $Id: SDFITSreader.cc,v 19.2 2 2006/07/12 00:14:26 mcalabreExp $28 //# $Id: SDFITSreader.cc,v 19.23 2007/11/12 03:37:56 cal103 Exp $ 29 29 //#--------------------------------------------------------------------------- 30 30 //# The SDFITSreader class reads single dish FITS files such as those written … … 57 57 long nelem; // Column data repeat count; < 0 for vardim. 58 58 int tdimcol; // TDIM column number; 0 for keyword; -1 absent. 59 char units[32]; // Units from TUNITn keyword. 59 60 }; 60 61 … … 182 183 183 184 if (cALFA_BD) { 184 // ALFA BDFITS: variable length arrays don't actually vary and there is 185 // ALFA BDFITS: variable length arrays don't actually vary and there is 185 186 // no TDIM (or MAXISn) card; use the LAGS_IN value. 186 187 cNAxis = 5; … … 725 726 double antPos[3], 726 727 char obsMode[32], 728 char bunit[32], 727 729 float &equinox, 728 730 char radecsys[32], … … 773 775 readData(OBSMODE, 1, obsMode); // Shared. 774 776 777 // Brightness unit. 778 strcpy(bunit, cData[DATA].units); 779 if (strcmp(bunit, "JY") == 0) { 780 bunit[1] = 'y'; 781 } else if (strcmp(bunit, "JY/BEAM") == 0) { 782 strcpy(bunit, "Jy/beam"); 783 } 784 775 785 readParm("EQUINOX", TFLOAT, &equinox); // Shared. 776 786 if (cStatus == 405) { … … 1242 1252 1243 1253 // Source identification. 1244 readData(OBJECT, cRow,mbrec.srcName);1254 readData(OBJECT, cRow, mbrec.srcName); 1245 1255 1246 1256 readData(OBJ_RA, cRow, &mbrec.srcRA); … … 1737 1747 long nelem, width; 1738 1748 fits_get_coltype(cSDptr, colnum, &coltype, &nelem, &width, &cStatus); 1749 fits_get_bcolparms(cSDptr, colnum, 0x0, cData[iData].units, 0x0, 0x0, 0x0, 1750 0x0, 0x0, 0x0, &cStatus); 1739 1751 1740 1752 // Look for a TDIMnnn keyword or column. -
trunk/external/atnf/PKSIO/SDFITSreader.h
r1325 r1399 2 2 //# SDFITSreader.h: ATNF CFITSIO interface class for SDFITS input. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 64 //# Copyright (C) 2000-2007 5 5 //# Associated Universities, Inc. Washington DC, USA. 6 6 //# … … 26 26 //# Charlottesville, VA 22903-2475 USA 27 27 //# 28 //# $Id: SDFITSreader.h,v 19.1 2 2006/07/05 05:24:35 mcalabreExp $28 //# $Id: SDFITSreader.h,v 19.13 2007/11/12 03:37:56 cal103 Exp $ 29 29 //#--------------------------------------------------------------------------- 30 30 //# The SDFITSreader class reads single dish FITS files such as those written … … 76 76 double antPos[3], 77 77 char obsMode[32], 78 char bunit[32], 78 79 float &equinox, 79 80 char radecsys[32], -
trunk/external/atnf/PKSIO/SDFITSwriter.cc
r1325 r1399 2 2 //# SDFITSwriter.cc: ATNF CFITSIO interface class for SDFITS output. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 64 //# Copyright (C) 2000-2007 5 5 //# Mark Calabretta, ATNF 6 6 //# … … 27 27 //# AUSTRALIA 28 28 //# 29 //# $Id: SDFITSwriter.cc,v 19.1 0 2006/07/05 05:44:52 mcalabreExp $29 //# $Id: SDFITSwriter.cc,v 19.12 2007/11/12 03:37:56 cal103 Exp $ 30 30 //#--------------------------------------------------------------------------- 31 31 //# Original: 2000/07/24, Mark Calabretta, ATNF … … 76 76 double antPos[3], 77 77 char* obsMode, 78 char* bunit, 78 79 float equinox, 79 80 char* dopplerFrame, … … 113 114 break; 114 115 } 115 116 116 117 if (cNChan[iIF] != cNChan[0] || cNPol[iIF] != cNPol[0]) { 117 118 // Varying channels and/or polarizations, need a TDIM column at least. … … 159 160 char version[7]; 160 161 char date[11]; 161 sscanf("$Revision: 19.1 0$", "%*s%s", version);162 sscanf("$Date: 200 6/07/05 05:44:52$", "%*s%s", date);162 sscanf("$Revision: 19.12 $", "%*s%s", version); 163 sscanf("$Date: 2007/11/12 03:37:56 $", "%*s%s", date); 163 164 sprintf(text, "SDFITSwriter (v%s, %s)", version, date); 164 165 fits_write_key_str(cSDptr, "ORIGIN", text, "output class", &cStatus); … … 355 356 fits_insert_col(cSDptr, ++ncol, "TSYS", tform, &cStatus); 356 357 sprintf(tunit, "TUNIT%d", ncol); 357 fits_write_key_str(cSDptr, tunit, "Jy", "units of field", &cStatus);358 fits_write_key_str(cSDptr, tunit, bunit, "units of field", &cStatus); 358 359 359 360 // CALFCTR (additional, real). … … 396 397 397 398 sprintf(tunit, "TUNIT%d", ncol); 398 fits_write_key_str(cSDptr, tunit, "Jy", "units of field", &cStatus);399 fits_write_key_str(cSDptr, tunit, bunit, "units of field", &cStatus); 399 400 400 401 // FLAGGED (additional, logical). … … 444 445 445 446 sprintf(tunit, "TUNIT%d", ncol); 446 fits_write_key_str(cSDptr, tunit, "Jy", "units of field", &cStatus);447 fits_write_key_str(cSDptr, tunit, bunit, "units of field", &cStatus); 447 448 } 448 449 … … 743 744 744 745 746 //------------------------------------------------------ SDFITSwriter::history 747 748 // Write a history record. 749 750 int SDFITSwriter::history(char *text) 751 752 { 753 fits_write_history(cSDptr, text, &cStatus); 754 755 return cStatus; 756 } 757 745 758 //-------------------------------------------------- SDFITSwriter::reportError 746 759 -
trunk/external/atnf/PKSIO/SDFITSwriter.h
r1325 r1399 2 2 //# SDFITSwriter.h: ATNF CFITSIO interface class for SDFITS output. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 64 //# Copyright (C) 2000-2007 5 5 //# Mark Calabretta, ATNF 6 6 //# … … 27 27 //# AUSTRALIA 28 28 //# 29 //# $Id: SDFITSwriter.h,v 19. 5 2006/05/19 02:19:58 mcalabreExp $29 //# $Id: SDFITSwriter.h,v 19.7 2007/11/12 03:37:56 cal103 Exp $ 30 30 //#--------------------------------------------------------------------------- 31 31 //# Original: 2000/07/24, Mark Calabretta, ATNF … … 60 60 double antPos[3], 61 61 char* obsMode, 62 char* bunit, 62 63 float equinox, 63 64 char* dopplerFrame, … … 71 72 // Store time-variable data. 72 73 int write(PKSMBrecord &record); 74 75 // Write a history record. 76 int history(char* text); 73 77 74 78 // Print out CFITSIO error messages.
Note:
See TracChangeset
for help on using the changeset viewer.