Ignore:
Timestamp:
11/16/07 13:36:15 (17 years ago)
Author:
Malte Marquarding
Message:

Mark C added brightness unit to getHeader()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/external/atnf/PKSIO/PKSFITSreader.cc

    r1325 r1399  
    1 //#---------------------------------------------------------------------------
    21//# PKSFITSreader.cc: Class to read Parkes multibeam data from a FITS file.
    32//#---------------------------------------------------------------------------
    4 //# Copyright (C) 2000-2006
     3//# Copyright (C) 2000-2007
    54//# Associated Universities, Inc. Washington DC, USA.
    65//#
     
    2625//#                        Charlottesville, VA 22903-2475 USA
    2726//#
    28 //# $Id: PKSFITSreader.cc,v 19.12 2006/07/05 04:49:57 mcalabre Exp $
     27//# $Id: PKSFITSreader.cc,v 19.13 2007/11/12 03:37:56 cal103 Exp $
    2928//#---------------------------------------------------------------------------
    3029//# Original: 2000/08/02, Mark Calabretta, ATNF
     
    138137        Vector<Double> &antPosition,
    139138        String &obsType,
     139        String &bunit,
    140140        Float  &equinox,
    141141        String &dopplerFrame,
     
    144144        Double &bandwidth)
    145145{
    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];
    148148  float  equinox_;
    149149  double antPos[3], utc;
    150150
    151151  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)) {
    154154    return 1;
    155155  }
     
    163163  antPosition(2) = antPos[2];
    164164  obsType = trim(obsType_);
     165  bunit   = trim(bunit_);
    165166  equinox = equinox_;
    166167  dopplerFrame = trim(dopplerFrame_);
Note: See TracChangeset for help on using the changeset viewer.