Changeset 209 for trunk/src/SDMath.cc
- Timestamp:
- 01/18/05 17:31:59 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMath.cc
r185 r209 59 59 60 60 #include "MathUtils.h" 61 #include "Definitions.h" 61 62 #include "SDContainer.h" 62 63 #include "SDMemTable.h" … … 109 110 // Setup 110 111 111 const uInt axis = 3;// Spectral axis112 const uInt axis = asap::ChanAxis; // Spectral axis 112 113 IPosition shp = in[0]->rowAsMaskedArray(0).shape(); // Must not change 113 114 Array<Float> arr(shp); … … 479 480 // Loop over rows and bin along channel axis 480 481 481 const uInt axis = 3;482 const uInt axis = asap::ChanAxis; 482 483 for (uInt i=0; i < in.nRow(); ++i) { 483 484 SDContainer sc = in.getSDContainer(i); … … 588 589 589 590 const uInt nRows = in.nRow(); 590 const uInt polAxis = 2; // Polarization axis591 const uInt chanAxis = 3; // Spectrum axis591 const uInt polAxis = asap::PolAxis; // Polarization axis 592 const uInt chanAxis = asap::ChanAxis; // Spectrum axis 592 593 593 594 // Create output Table and reshape number of polarizations … … 719 720 // Number of channels 720 721 721 const uInt chanAxis = 3;// Spectral axis722 const uInt chanAxis = asap::ChanAxis; // Spectral axis 722 723 SDHeader sh = in.getSDHeader(); 723 724 const uInt nChan = sh.nchan;
Note: See TracChangeset
for help on using the changeset viewer.