- Timestamp:
- 03/26/09 10:41:07 (16 years ago)
- Location:
- tags/asap2.3.1
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/asap2.3.1/python/selector.py
r1349 r1543 47 47 48 48 # for the americans 49 set_polarization = set_polarisations 49 set_polarizations = set_polarisations 50 # for the lazy 51 set_pols = set_polarisations 50 52 51 53 def set_ifs(self, ifs=[]): … … 163 165 prefix = "SELECT FROM $1 WHERE " 164 166 return self._gettaql().replace(prefix, "") 167 165 168 def get_name(self): 166 169 print "NYI" -
tags/asap2.3.1/src/STMathWrapper.h
r1391 r1543 174 174 const std::string& refTime, 175 175 const std::string& method ) 176 { return ScantableWrapper(STMath::frequencyAlign(in.getCP() )); }176 { return ScantableWrapper(STMath::frequencyAlign(in.getCP(), refTime, method)); } 177 177 178 178 ScantableWrapper convertPolarisation( const ScantableWrapper& in, -
tags/asap2.3.1/src/STSelector.cpp
r1428 r1543 104 104 void STSelector::setTaQL( const std::string& taql ) 105 105 { 106 taql_ = "USING STYLE PYTHON " +taql;106 taql_ = taql; 107 107 } 108 108 … … 143 143 if ( taql_.size() > 0 ) { 144 144 Table tmpt = tab; 145 std::string pytaql = "USING STYLE PYTHON " + taql_; 145 146 146 147 if ( !query.isNull() ) { // taql and selection 147 tmpt = tableCommand( taql_, tab(query));148 tmpt = tableCommand(pytaql, tab(query)); 148 149 } else { // taql only 149 tmpt = tableCommand( taql_, tab);150 tmpt = tableCommand(pytaql, tab); 150 151 } 151 152 return sort(tmpt);
Note:
See TracChangeset
for help on using the changeset viewer.