IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 23, 2015, 10:15:49 AM (11 years ago)
Author:
eugene
Message:

adding dvo elements for E1,E2_psf

Location:
trunk/Ohana/src/addstar/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/src/ReadStarsFITS.c

    r37992 r37995  
    12171217    stars[i].lensing->E2_sh_psf   = ps1data[i].E2_sh_psf;
    12181218
     1219    stars[i].lensing->E1_psf      = ps1data[i].E1_psf;
     1220    stars[i].lensing->E2_psf      = ps1data[i].E2_psf;
     1221
    12191222    // stars[i].lensing->F_ApR5    = ps1data[i].F_ApR5;
    12201223    // stars[i].lensing->dF_ApR5   = ps1data[i].dF_ApR5;
  • trunk/Ohana/src/addstar/src/mkcmf.c

    r37807 r37995  
    10031003
    10041004  int i;
    1005   CMF_PS1_V5_Lensing *stars;
     1005  CMF_PS1_V5_R2_Lensing *stars;
    10061006  float flux, fSN;
    10071007
    10081008  // XXX add gaussian-distributed noise based on counts
    10091009  // this needs to make different output 'stars' entries depending on the desired type
    1010   ALLOCATE (stars, CMF_PS1_V5_Lensing, Nstars);
     1010  ALLOCATE (stars, CMF_PS1_V5_R2_Lensing, Nstars);
    10111011  for (i = 0; i < Nstars; i++) {
    10121012
     
    11291129  }
    11301130
    1131   gfits_table_set_CMF_PS1_V5_Lensing (ftable, stars, Nstars);
     1131  gfits_table_set_CMF_PS1_V5_R2_Lensing (ftable, stars, Nstars);
    11321132  gfits_modify (ftable->header, "EXTTYPE",   "%s", 1, "PS1_V5");
    11331133}
Note: See TracChangeset for help on using the changeset viewer.