Changeset 37995 for trunk/Ohana/src/addstar
- Timestamp:
- Mar 23, 2015, 10:15:49 AM (11 years ago)
- Location:
- trunk/Ohana/src/addstar/src
- Files:
-
- 2 edited
-
ReadStarsFITS.c (modified) (1 diff)
-
mkcmf.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/ReadStarsFITS.c
r37992 r37995 1217 1217 stars[i].lensing->E2_sh_psf = ps1data[i].E2_sh_psf; 1218 1218 1219 stars[i].lensing->E1_psf = ps1data[i].E1_psf; 1220 stars[i].lensing->E2_psf = ps1data[i].E2_psf; 1221 1219 1222 // stars[i].lensing->F_ApR5 = ps1data[i].F_ApR5; 1220 1223 // stars[i].lensing->dF_ApR5 = ps1data[i].dF_ApR5; -
trunk/Ohana/src/addstar/src/mkcmf.c
r37807 r37995 1003 1003 1004 1004 int i; 1005 CMF_PS1_V5_ Lensing *stars;1005 CMF_PS1_V5_R2_Lensing *stars; 1006 1006 float flux, fSN; 1007 1007 1008 1008 // XXX add gaussian-distributed noise based on counts 1009 1009 // 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); 1011 1011 for (i = 0; i < Nstars; i++) { 1012 1012 … … 1129 1129 } 1130 1130 1131 gfits_table_set_CMF_PS1_V5_ Lensing (ftable, stars, Nstars);1131 gfits_table_set_CMF_PS1_V5_R2_Lensing (ftable, stars, Nstars); 1132 1132 gfits_modify (ftable->header, "EXTTYPE", "%s", 1, "PS1_V5"); 1133 1133 }
Note:
See TracChangeset
for help on using the changeset viewer.
