Changeset 36375 for trunk/psModules/src/objects/models/pmModel_EXP.c
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
trunk/psModules
- Property svn:mergeinfo changed
-
trunk/psModules/src/objects/models/pmModel_EXP.c
r36106 r36375 63 63 // 0.5 PIX: the parameters are defined in terms of pixel coords, so the incoming pixcoords 64 64 // 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 65 78 66 79 // Lax parameter limits … … 109 122 // for EXP, we can hard-wire kappa(1): 110 123 // float index = 1.0; 111 float kappa = 1.70056;124 float kappa = KAPPA_EXP; 112 125 113 126 // sqrt(z) is r … … 318 331 319 332 // static value for EXP: 320 float kappa = 1.70056;333 float kappa = KAPPA_EXP; 321 334 322 335 // f = Io exp(-kappa*sqrt(z)) -> sqrt(z) = ln(Io/f) / kappa
Note:
See TracChangeset
for help on using the changeset viewer.
