Changeset 839
- Timestamp:
- 02/23/06 11:20:02 (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFocus.cpp
r807 r839 77 77 } 78 78 79 void asap::STFocus::getEntry( Float& rotation, Float& angle, Float& ftan, 80 uInt id) 81 { 82 Table t = table_(table_.col("ID") == Int(id) ); 83 if (t.nrow() == 0 ) { 84 throw(AipsError("STFocus::getEntry - id out of range")); 85 } 86 ROTableRow row(t); 87 // get first row - there should only be one matching id 88 const TableRecord& rec = row.get(0); 89 rotation = rec.asFloat("ROTATION"); 90 angle = rec.asFloat("ANGLE"); 91 ftan = rec.asFloat("TAN"); 79 92 } 93 94 } -
trunk/src/STFocus.h
r807 r839 36 36 casa::Float ftan); 37 37 38 void getEntry( casa::Float& rotation, casa::Float& angle, 39 casa::Float& ftan, casa::uInt id); 40 38 41 private: 39 42 void setup();
Note:
See TracChangeset
for help on using the changeset viewer.