Changeset 1586 for trunk/src/STMath.cpp
- Timestamp:
- 06/30/09 15:46:14 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMath.cpp
r1579 r1586 1576 1576 id = out->molecules().addEntry(rf, name, fname); 1577 1577 molidcol.put(k, id); 1578 Float f rot,fax,ftan,fhand,fmount,fuser, fxy, fxyp;1579 (*it)->focus().getEntry(f ax, ftan, frot, fhand,1578 Float fpa,frot,fax,ftan,fhand,fmount,fuser, fxy, fxyp; 1579 (*it)->focus().getEntry(fpa, fax, ftan, frot, fhand, 1580 1580 fmount,fuser, fxy, fxyp, 1581 1581 rec.asuInt("FOCUS_ID")); 1582 id = out->focus().addEntry(f ax, ftan, frot, fhand,1582 id = out->focus().addEntry(fpa, fax, ftan, frot, fhand, 1583 1583 fmount,fuser, fxy, fxyp); 1584 1584 focusidcol.put(k, id); … … 1630 1630 ArrayColumn<Float> speccol(t, "SPECTRA"); 1631 1631 ScalarColumn<uInt> focidcol(t, "FOCUS_ID"); 1632 ScalarColumn<Float> parancol(t, "PARANGLE");1633 1632 Matrix<Float> pols(speccol.getColumn()); 1634 1633 try { 1635 1634 stpol->setSpectra(pols); 1636 Float fang,fhand ,parang;1637 fang = in->focusTable_.getTotal FeedAngle(focidcol(0));1635 Float fang,fhand; 1636 fang = in->focusTable_.getTotalAngle(focidcol(0)); 1638 1637 fhand = in->focusTable_.getFeedHand(focidcol(0)); 1639 parang = parancol(0); 1640 /// @todo re-enable this 1641 // disable total feed angle to support paralactifying Caswell style 1642 stpol->setPhaseCorrections(parang, -parang, fhand); 1638 stpol->setPhaseCorrections(fang, fhand); 1643 1639 // use a member function pointer in STPol. This only works on 1644 1640 // the STPol pointer itself, not the Counted Pointer so … … 1906 1902 uInt row = tab.rowNumbers()[0]; 1907 1903 stpol->setSpectra(in->getPolMatrix(row)); 1908 Float fang,fhand ,parang;1909 fang = in->focusTable_.getTotal FeedAngle(in->mfocusidCol_(row));1904 Float fang,fhand; 1905 fang = in->focusTable_.getTotalAngle(in->mfocusidCol_(row)); 1910 1906 fhand = in->focusTable_.getFeedHand(in->mfocusidCol_(row)); 1911 parang = in->paraCol_(row); 1912 /// @todo re-enable this 1913 // disable total feed angle to support paralactifying Caswell style 1914 stpol->setPhaseCorrections(parang, -parang, fhand); 1907 stpol->setPhaseCorrections(fang, fhand); 1915 1908 Int npolout = 0; 1916 1909 for (uInt i=0; i<tab.nrow(); ++i) {
Note: See TracChangeset
for help on using the changeset viewer.