IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 5, 2012, 4:25:56 PM (14 years ago)
Author:
eugene
Message:

merging change from eam_branches/ipp-20120805: adding psfQF, psfQFperf to both average and measure; deprecate average.Xp

Location:
trunk/Ohana
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/relastro/src/BrightCatalog.c

    r33652 r34405  
    154154    GET_COLUMN(Tmean,          "MEAN_EPOCH",  int);
    155155    GET_COLUMN(Trange,         "TIME_RANGE",  int);
    156     GET_COLUMN(Xp,             "SIGMA_POS",  float);
     156    GET_COLUMN(stargal,        "STARGAL_SEP", float);
    157157    GET_COLUMN(Npos,           "NUMBER_POS",  short);
    158158    GET_COLUMN(Nmeasure,       "NMEASURE",    short);
     
    189189      average[i].Tmean           = Tmean[i]           ;
    190190      average[i].Trange          = Trange[i]          ;
    191       average[i].Xp              = Xp[i]              ;
     191      average[i].stargal         = stargal[i]         ;
    192192      average[i].Npos            = Npos[i]            ;
    193193      average[i].Nmeasure        = Nmeasure[i]        ;
     
    221221    free (Tmean);
    222222    free (Trange);
    223     free (Xp);
     223    free (stargal);
    224224    free (Npos);
    225225    free (Nmeasure);
     
    487487    int      *Tmean         ; ALLOCATE (Tmean         , int     , catalog->Naverage);
    488488    int      *Trange        ; ALLOCATE (Trange        , int     , catalog->Naverage);
    489     float    *Xp            ; ALLOCATE (Xp            , float   , catalog->Naverage);
     489    float    *stargal       ; ALLOCATE (stargal       , float   , catalog->Naverage);
    490490    short    *Npos          ; ALLOCATE (Npos          , short   , catalog->Naverage);
    491491    short    *Nmeasure      ; ALLOCATE (Nmeasure      , short   , catalog->Naverage);
     
    520520      Tmean[i]           = average[i].Tmean           ;
    521521      Trange[i]          = average[i].Trange          ;
    522       Xp[i]              = average[i].Xp              ;
     522      stargal[i]         = average[i].stargal         ;
    523523      Npos[i]            = average[i].Npos            ;
    524524      Nmeasure[i]        = average[i].Nmeasure        ;
     
    552552    gfits_set_bintable_column (&theader, &ftable, "MEAN_EPOCH",  Tmean,           catalog->Naverage);
    553553    gfits_set_bintable_column (&theader, &ftable, "TIME_RANGE",  Trange,          catalog->Naverage);
    554     gfits_set_bintable_column (&theader, &ftable, "SIGMA_POS",   Xp,              catalog->Naverage);
     554    gfits_set_bintable_column (&theader, &ftable, "STARGAL_SEP", stargal,         catalog->Naverage);
    555555    gfits_set_bintable_column (&theader, &ftable, "NUMBER_POS",  Npos,            catalog->Naverage);
    556556    gfits_set_bintable_column (&theader, &ftable, "NMEASURE",    Nmeasure,        catalog->Naverage);
     
    582582    free (Tmean);
    583583    free (Trange);
    584     free (Xp);
     584    free (stargal);
    585585    free (Npos);
    586586    free (Nmeasure);
  • trunk/Ohana/src/relastro/src/UpdateObjectOffsets.c

    r33963 r34405  
    9595    // RESET (-reset)
    9696    // TimeSelect -time
    97     // (note that psfQual is applied rigidly at 0.85, as is the galaxy test)
     97    // (note that psfQF is applied rigidly at 0.85, as is the galaxy test)
    9898    // ImagSelect, ImagMin, ImagMax
    9999    // MaxDensityUse, MaxDensityValue
  • trunk/Ohana/src/relastro/src/UpdateObjects.c

    r33652 r34405  
    352352      catalog[i].average[j].dP  = fit.dp; // parallax error in arcsec
    353353
    354       // Xp is supposed to be the position scatter, not the chisq : fix this:
    355       // catalog[i].average[j].Xp  = (fit.Nfit > 1) ? 100.0*log10(fit.chisq) : NAN_S_SHORT;
    356354      catalog[i].average[j].ChiSqAve  = fitAve.chisq;
    357355      catalog[i].average[j].ChiSqPM   = fitPM.chisq;
    358356      catalog[i].average[j].ChiSqPar  = fitPAR.chisq;
    359       catalog[i].average[j].Xp        = 0.0;
    360357      catalog[i].average[j].Tmean = (Tmean * 86400 * 365.26) + T2000;
    361358      catalog[i].average[j].Trange = (Trange * 86400 * 365.26);
  • trunk/Ohana/src/relastro/src/load_catalogs.c

    r33963 r34405  
    137137    // RESET (-reset)
    138138    // TimeSelect -time
    139     // (note that psfQual is applied rigidly at 0.85, as is the galaxy test)
     139    // (note that psfQF is applied rigidly at 0.85, as is the galaxy test)
    140140    // ImagSelect, ImagMin, ImagMax
    141141    // MaxDensityUse, MaxDensityValue
  • trunk/Ohana/src/relastro/src/relastro_objects.c

    r34260 r34405  
    123123    // RESET (-reset)
    124124    // TimeSelect -time
    125     // (note that psfQual is applied rigidly at 0.85, as is the galaxy test)
     125    // (note that psfQF is applied rigidly at 0.85, as is the galaxy test)
    126126    // ImagSelect, ImagMin, ImagMax
    127127    // MaxDensityUse, MaxDensityValue
Note: See TracChangeset for help on using the changeset viewer.