Changeset 1618 for trunk


Ignore:
Timestamp:
08/14/09 16:04:47 (15 years ago)
Author:
Malte Marquarding
Message:

updated gain eleveation coeeficients for Parkes. changed ord of polynomial to ncoeff-1. Shouldn't have affected anything as the default value for coefficients is 0.0

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STAttr.cpp

    r1391 r1618  
    331331   TidGainElPoly_(2) = -3.219093e-4;
    332332   
     333   // 2009-09-15 - 13mm (22.2GHz) receiver
    333334   ParkesGainElPoly_.resize(3);
    334    ParkesGainElPoly_(0) = 0.296759e-1;
    335    ParkesGainElPoly_(1) = -0.293124e-3;
    336    ParkesGainElPoly_(2) = 0.264295e-6;
     335   ParkesGainElPoly_(0) = -0.194031;
     336   ParkesGainElPoly_(1) = 0.457724e-1;
     337   ParkesGainElPoly_(2) = -0.438659e-3;
    337338}
    338339
  • trunk/src/STMath.cpp

    r1586 r1618  
    12241224    String msg;
    12251225    if ( nc > 0 ) {
    1226       ppoly = new Polynomial<Float>(nc);
     1226      ppoly = new Polynomial<Float>(nc-1);
    12271227      coeff = coeffs;
    12281228      msg = String("user");
     
    12301230      STAttr sdAttr;
    12311231      coeff = sdAttr.gainElevationPoly(inst);
    1232       ppoly = new Polynomial<Float>(3);
     1232      ppoly = new Polynomial<Float>(coeff.nelements()-1);
    12331233      msg = String("built in");
    12341234    }
Note: See TracChangeset for help on using the changeset viewer.