IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41703


Ignore:
Timestamp:
Jul 7, 2021, 5:24:40 PM (5 years ago)
Author:
tdeboer
Message:

fixed an issue with number of stars used in the loaded refcat being too low, and not bright enough

Location:
tags/ipp-ps1-20210510
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-ps1-20210510/psModules/src/objects/pmSourceIO_Glints.c

    r41391 r41703  
    175175
    176176                double glintLength = GLINT_LENGTH_MAG_SLOPE*(GLINT_LENGTH_MAG_ZERO - star->Mag);
    177                 double glintAngle = 0;
     177                double glintAngle = 0.;
    178178
    179179                //Besides brightness, the length of the glints also depends on the position of the star compared to the focal plane. But, seemingly only for stars closer than about 30k pixels
  • tags/ipp-ps1-20210510/psastro/src/psastroLoadGlints.c

    r41688 r41703  
    147147            //glint length should depend on the brightness on image, i.e. in instrumental mag. The same instrumental mag in different filters should likely give the same glint length.
    148148            double glintLength = GLINT_LENGTH_MAG_SLOPE*(GLINT_LENGTH_MAG_ZERO - (star->Mag-MagOffset));
    149             double glintAngle = 0;
     149            double glintAngle = 0.;
    150150
    151151            //Besides brightness, the length of the glints also depends on the position of the star compared to the focal plane. But, seemingly only for stars closer than about 30k pixels
Note: See TracChangeset for help on using the changeset viewer.