IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 9, 2015, 8:47:31 AM (11 years ago)
Author:
eugene
Message:

set R5,R6,R7 to use the SDSS apertures 5, 6, 7 = psphot cmf 2, 3, 4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150405/Ohana/src/addstar/src/ReadXradFITS.c

    r37357 r38101  
    7272    }
    7373
    74     stars[i].lensing-> F_ApR5 = AperFlux   [Nap*Ncol + 3];
    75     stars[i].lensing->dF_ApR5 = AperFluxErr[Nap*Ncol + 3];
    76     stars[i].lensing->sF_ApR5 = AperFluxStd[Nap*Ncol + 3];
    77     stars[i].lensing->fF_ApR5 = AperFill   [Nap*Ncol + 3];
     74    // XXX this is all hard-wired and should make use of the headers.
     75    // psphot cmfs have 5 radial apertures:
     76    // array 0, 1, 2, 3, 4
     77    // SDSS  3, 4, 5, 6, 7
    7878
    79     stars[i].lensing-> F_ApR6 = AperFlux   [Nap*Ncol + 4];
    80     stars[i].lensing->dF_ApR6 = AperFluxErr[Nap*Ncol + 4];
    81     stars[i].lensing->sF_ApR6 = AperFluxStd[Nap*Ncol + 4];
    82     stars[i].lensing->fF_ApR6 = AperFill   [Nap*Ncol + 4];
     79    stars[i].lensing-> F_ApR5 = AperFlux   [Nap*Ncol + 2];
     80    stars[i].lensing->dF_ApR5 = AperFluxErr[Nap*Ncol + 2];
     81    stars[i].lensing->sF_ApR5 = AperFluxStd[Nap*Ncol + 2];
     82    stars[i].lensing->fF_ApR5 = AperFill   [Nap*Ncol + 2];
     83
     84    stars[i].lensing-> F_ApR6 = AperFlux   [Nap*Ncol + 3];
     85    stars[i].lensing->dF_ApR6 = AperFluxErr[Nap*Ncol + 3];
     86    stars[i].lensing->sF_ApR6 = AperFluxStd[Nap*Ncol + 3];
     87    stars[i].lensing->fF_ApR6 = AperFill   [Nap*Ncol + 3];
     88
     89    stars[i].lensing-> F_ApR7 = AperFlux   [Nap*Ncol + 4];
     90    stars[i].lensing->dF_ApR7 = AperFluxErr[Nap*Ncol + 4];
     91    stars[i].lensing->sF_ApR7 = AperFluxStd[Nap*Ncol + 4];
     92    stars[i].lensing->fF_ApR7 = AperFill   [Nap*Ncol + 4];
    8393    Nap ++;
    8494  }
Note: See TracChangeset for help on using the changeset viewer.