Changeset 3080
- Timestamp:
- 11/25/15 15:49:41 (10 years ago)
- Location:
- trunk/src
- Files:
- 
      - 3 edited
 
 - 
          
  STPolCircular.cpp (modified) (1 diff)
- 
          
  STPolLinear.cpp (modified) (2 diffs)
- 
          
  STPolStokes.cpp (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/src/STPolCircular.cppr1259 r3080 46 46 throw(AipsError("You must have 4 circular polarisations to run this function")); 47 47 } 48 if ( index < 0 || index >4 ) throw(AipsError("LinPol index out of range")); 48 // if ( index < 0 || index >4 ) throw(AipsError("LinPol index out of range")); 49 if ( index >= 4 ) throw(AipsError("LinPol index out of range")); 49 50 Vector<Float> out,q,u; 50 51 if ( nspec() == 4) { 
- 
      trunk/src/STPolLinear.cppr2163 r3080 30 30 Vector<Float> asap::STPolLinear::getStokes( uint index ) 31 31 { 32 if ( index > 4 ) throw(AipsError("Stokes index out of range"));32 if ( index >= 4 ) throw(AipsError("Stokes index out of range")); 33 33 Vector<Float> out; 34 34 Float phase = getTotalPhase(); … … 61 61 throw(AipsError("You must have 4 linear polarizations to run this function")); 62 62 } 63 if ( index > 4 ) throw(AipsError("LinPol index out of range"));63 if ( index >= 4 ) throw(AipsError("LinPol index out of range")); 64 64 Vector<Float> out,q,u; 65 65 if ( nspec() == 4) { 
- 
      trunk/src/STPolStokes.cppr1007 r3080 35 35 Vector<Float> asap::STPolStokes::getLinPol( uInt index ) 36 36 { 37 if ( index < 0 || index >4 ) throw(AipsError("LinPol index out of range")); 37 // if ( index < 0 || index >4 ) throw(AipsError("LinPol index out of range")); 38 if ( index >= 4 ) throw(AipsError("LinPol index out of range")); 38 39 Vector<Float> out; 39 40 if ( nspec() == 4) { 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
