Changeset 507
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDAttr.cc
r475 r507 224 224 } 225 225 226 FeedPolType SDAttr::feedPolType (Instrument inst) const 227 { 228 FeedPolType type = UNKNOWNFEED; 229 switch (inst) { 230 case ATMOPRA: 231 case ATPKSMB: 232 case ATPKSHOH: 233 { 234 type = LINEAR; 235 } 236 break; 237 case TIDBINBILLA: 238 { 239 type = CIRCULAR; 240 } 241 break; 242 default: 243 { 244 type = UNKNOWNFEED; 245 } 246 } 247 return type; 248 } 249 250 226 251 227 252 … … 304 329 // The strings are what SDReader returns, after cunning interrogation 305 330 // of station names... :-( 306 Instrument inst = asap::UNKNOWN ;331 Instrument inst = asap::UNKNOWNINST; 307 332 if (t==String("DSS-43")) { 308 333 inst = TIDBINBILLA; -
trunk/src/SDAttr.h
r475 r507 78 78 casa::Vector<casa::Float> gainElevationPoly (Instrument instr) const; 79 79 80 // Find feed polarization type of feeds. In future this needs to come from the data themselves 81 FeedPolType feedPolType (Instrument) const; 80 82 81 83 // Helper function to check instrument (antenna) name and give enum … … 85 87 // Helper function. Finds factor to convert K -> Jy. Provide aperture efficiency and dish geometric diameter (m) 86 88 static casa::Float findJyPerK (casa::Float etaAp, casa::Float D); 89 87 90 88 91 private:
Note:
See TracChangeset
for help on using the changeset viewer.