Changeset 17367 for trunk/FACT++/src


Ignore:
Timestamp:
11/23/13 18:05:31 (11 years ago)
Author:
tbretz
Message:
Missed the correct calculation of the coefficient derived from the angle to the moon.
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/makedata.cc

    r17366 r17367  
    148148
    149149        // Current prediction
    150         const double cang = sin(angle   *M_PI/180);
    151150        const double calt = sin(hrzm.alt*M_PI/180);
     151        const double cang = 1-sin(angle*M_PI/180);
    152152
    153153        //const double lc = cang==0 ? -1 : calt*pow(disk, 2.2)*pow(dist, -2);
  • trunk/FACT++/src/makeplots.cc

    r17366 r17367  
    281281
    282282            // Current prediction
    283             const double cang = sin(angle   *M_PI/180);
    284283            const double calt = sin(hrzm.alt*M_PI/180);
     284            const double cang = 1-sin(angle*M_PI/180);
    285285
    286286            //const double lc = cang==0 ? -1 : calt*pow(disk, 2.2)*pow(dist, -2);
Note: See TracChangeset for help on using the changeset viewer.