Changeset 2105
- Timestamp:
- 04/05/11 18:09:59 (14 years ago)
- Location:
- branches/casa-prerelease/pre-asap
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/casa-prerelease/pre-asap
-
branches/casa-prerelease/pre-asap/Makefile
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/SConstruct
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/apps
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/external-alma
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/external-alma/atnf/pks/pks_maths.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/getsvnrev.sh
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/python
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/src
- Property svn:mergeinfo changed
/trunk/src merged: 2104
- Property svn:mergeinfo changed
-
branches/casa-prerelease/pre-asap/src/MSWriter.cpp
r2099 r2105 444 444 fillSysCal() ; 445 445 446 // fill empty SPECTRAL_WINDOW rows 447 infillSpectralWindow() ; 448 446 449 // ASDM tables 447 450 const TableRecord &stKeys = table_->table().keywordSet() ; … … 1896 1899 return diameter ; 1897 1900 } 1898 } 1901 1902 void MSWriter::infillSpectralWindow() 1903 { 1904 MSSpectralWindow msSpw = mstable_->spectralWindow() ; 1905 MSSpWindowColumns msSpwCols( msSpw ) ; 1906 uInt nrow = msSpw.nrow() ; 1907 1908 ScalarColumn<Int> measFreqRefCol = msSpwCols.measFreqRef() ; 1909 ArrayColumn<Double> chanFreqCol = msSpwCols.chanFreq() ; 1910 ArrayColumn<Double> chanWidthCol = msSpwCols.chanWidth() ; 1911 ArrayColumn<Double> effectiveBWCol = msSpwCols.effectiveBW() ; 1912 ArrayColumn<Double> resolutionCol = msSpwCols.resolution() ; 1913 Vector<Double> dummy( 1, 0.0 ) ; 1914 for ( uInt irow = 0 ; irow < nrow ; irow++ ) { 1915 if ( !(chanFreqCol.isDefined( irow )) ) { 1916 measFreqRefCol.put( irow, 1 ) ; 1917 chanFreqCol.put( irow, dummy ) ; 1918 chanWidthCol.put( irow, dummy ) ; 1919 effectiveBWCol.put( irow, dummy ) ; 1920 resolutionCol.put( irow, dummy ) ; 1921 } 1922 } 1923 1924 } 1925 1926 } -
branches/casa-prerelease/pre-asap/src/MSWriter.h
r2026 r2105 67 67 void fillSysCal() ; 68 68 69 // fill empty rows 70 void infillSpectralWindow() ; 71 69 72 // add rows to subtables 70 73 void addFeed( casa::Int id ) ; -
branches/casa-prerelease/pre-asap/src/SConscript
- Property svn:mergeinfo changed (with no actual effect on merging)
Note:
See TracChangeset
for help on using the changeset viewer.