Changeset 16379 for trunk/FACT++
- Timestamp:
- 05/28/13 13:42:50 (11 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/makedata.cc
r16378 r16379 190 190 //const double cs = cos((90+hrz.alt)*M_PI/180); 191 191 //const double ratio = (10.*sqrt(409600.*cs*cs+9009.) + 6400.*cs - 60.)/10.; 192 const double ratio = pow(cos((90 .-hrz.alt)*M_PI/180, -2.664);192 const double ratio = pow(cos((90-hrz.alt)*M_PI/180), -2.664); 193 193 194 194 // Add points to curve -
trunk/FACT++/src/makeplots.cc
r16378 r16379 311 311 //const double cs = cos((90+hrz.alt)*M_PI/180); 312 312 //const double ratio = (10.*sqrt(409600.*cs*cs+9009.) + 6400.*cs - 60.)/10.; 313 const double ratio = pow(cos((90 .-hrz.alt)*M_PI/180, -2.664);313 const double ratio = pow(cos((90-hrz.alt)*M_PI/180), -2.664); 314 314 315 315 // Add points to curve
Note:
See TracChangeset
for help on using the changeset viewer.