Changeset 1635 for trunk/external/atnf/PKSIO/PKSMS2writer.cc
- Timestamp:
- 09/25/09 11:47:11 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/atnf/PKSIO/PKSMS2writer.cc
r1452 r1635 2 2 //# PKSMS2writer.cc: Class to write Parkes multibeam data to a measurementset. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 84 //# Copyright (C) 2000-2009 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 4 2008-11-17 06:56:13 cal103 Exp $28 //# $Id: PKSMS2writer.cc,v 19.15 2009-03-24 06:15:33 cal103 Exp $ 29 29 //#--------------------------------------------------------------------------- 30 30 … … 123 123 IPosition(2,2,maxNPol), ColumnDesc::Direct)); 124 124 pksDesc.addColumn(ArrayColumnDesc<Float>("BASESUB", "Baseline subtracted", 125 IPosition(2, 9,maxNPol), ColumnDesc::Direct));125 IPosition(2,24,maxNPol), ColumnDesc::Direct)); 126 126 } 127 127 … … 469 469 cBaseLinCol->put(irow, pksrec.baseLin); 470 470 471 if (pksrec.baseSub.nrow() == 9) {471 if (pksrec.baseSub.nrow() == 24) { 472 472 cBaseSubCol->put(irow, pksrec.baseSub); 473 473 474 474 } else { 475 Matrix<Float> tmp( 9, 2, 0.0f);475 Matrix<Float> tmp(24, 2, 0.0f); 476 476 for (Int ipol = 0; ipol < nPol; ipol++) { 477 477 for (uInt j = 0; j < pksrec.baseSub.nrow(); j++) {
Note: See TracChangeset
for help on using the changeset viewer.