IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36245


Ignore:
Timestamp:
Oct 28, 2013, 11:23:03 AM (13 years ago)
Author:
bills
Message:

change kappa value for EXP model from 1.70056 to 1.678

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130904/psModules/src/objects/models/pmModel_EXP.c

    r36196 r36245  
    6363// 0.5 PIX: the parameters are defined in terms of pixel coords, so the incoming pixcoords
    6464// values need to be pixel coords
     65//
     66
     67// Notes on changing kappa value from 1.70056 to 1.678
     68// I'm using a functional form f(x,y) = Io exp(-kappa (r / r_e)). 
     69// The article by Graham & Driver (2005) uses a form Ie exp(-bn [(r / r_e) -1])
     70// which is equal to Ie exp(-bn (r / r_e)) exp(bn). 
     71// Thus, my Io = Ie exp(bn) and my kappa is their bn.
     72// My value of kappa is 1.700, their value for bn is 1.678., so I am off by a small amount there (1.5%). 
     73
     74
     75#define KAPPA_EXP 1.678
     76#define OLD_KAPP_EXP 1.70056
     77
    6578
    6679// Lax parameter limits
     
    109122    // for EXP, we can hard-wire kappa(1):
    110123    // float index = 1.0;
    111     float kappa = 1.70056;
     124    float kappa = KAPPA_EXP;
    112125
    113126    // sqrt(z) is r
     
    318331
    319332    // static value for EXP:
    320     float kappa = 1.70056;
     333    float kappa = KAPPA_EXP;
    321334
    322335    // f = Io exp(-kappa*sqrt(z)) -> sqrt(z) = ln(Io/f) / kappa
Note: See TracChangeset for help on using the changeset viewer.