IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33398


Ignore:
Timestamp:
Mar 4, 2012, 6:27:22 AM (14 years ago)
Author:
eugene
Message:

added PS1_V3 format to dvo

Location:
branches/eam_branches/ipp-20111122/Ohana/src/addstar
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/addstar/src/find_matches.c

    r28840 r33398  
    291291
    292292    for (j = 0; j < Nsecfilt; j++) {
    293       catalog[0].secfilt[Nave*Nsecfilt+j].M     = NAN;
    294       catalog[0].secfilt[Nave*Nsecfilt+j].dM    = NAN;
    295       catalog[0].secfilt[Nave*Nsecfilt+j].Xm    = NAN_S_SHORT;
    296       catalog[0].secfilt[Nave*Nsecfilt+j].M_20  = NAN_S_SHORT;
    297       catalog[0].secfilt[Nave*Nsecfilt+j].M_80  = NAN_S_SHORT;
    298       catalog[0].secfilt[Nave*Nsecfilt+j].Ncode = 0;
    299       catalog[0].secfilt[Nave*Nsecfilt+j].Nused = 0;
     293      catalog[0].secfilt[Nave*Nsecfilt+j].M           = NAN;
     294      catalog[0].secfilt[Nave*Nsecfilt+j].Map         = NAN;
     295      catalog[0].secfilt[Nave*Nsecfilt+j].dM          = NAN;
     296      catalog[0].secfilt[Nave*Nsecfilt+j].Xm          = NAN_S_SHORT;
     297      catalog[0].secfilt[Nave*Nsecfilt+j].M_20        = NAN_S_SHORT;
     298      catalog[0].secfilt[Nave*Nsecfilt+j].M_80        = NAN_S_SHORT;
     299      catalog[0].secfilt[Nave*Nsecfilt+j].Ncode       = 0;
     300      catalog[0].secfilt[Nave*Nsecfilt+j].Nused       = 0;
     301      catalog[0].secfilt[Nave*Nsecfilt+j].ubercalDist = 1000;
     302      catalog[0].secfilt[Nave*Nsecfilt+j].flags       = 0;
     303      catalog[0].secfilt[Nave*Nsecfilt+j].dummy[0]    = 0;
     304      catalog[0].secfilt[Nave*Nsecfilt+j].dummy[1]    = 0;
    300305    }
    301306
  • branches/eam_branches/ipp-20111122/Ohana/src/addstar/src/find_matches_closest.c

    r32632 r33398  
    292292
    293293    for (j = 0; j < Nsecfilt; j++) {
    294       catalog[0].secfilt[Nave*Nsecfilt+j].M  = NAN;
    295       catalog[0].secfilt[Nave*Nsecfilt+j].dM = NAN;
    296       catalog[0].secfilt[Nave*Nsecfilt+j].Xm = NAN_S_SHORT;
    297       catalog[0].secfilt[Nave*Nsecfilt+j].M_20  = NAN_S_SHORT;
    298       catalog[0].secfilt[Nave*Nsecfilt+j].M_80  = NAN_S_SHORT;
    299       catalog[0].secfilt[Nave*Nsecfilt+j].Ncode = 0;
    300       catalog[0].secfilt[Nave*Nsecfilt+j].Nused = 0;
     294      catalog[0].secfilt[Nave*Nsecfilt+j].M           = NAN;
     295      catalog[0].secfilt[Nave*Nsecfilt+j].Map         = NAN;
     296      catalog[0].secfilt[Nave*Nsecfilt+j].dM          = NAN;
     297      catalog[0].secfilt[Nave*Nsecfilt+j].Xm          = NAN_S_SHORT;
     298      catalog[0].secfilt[Nave*Nsecfilt+j].M_20        = NAN_S_SHORT;
     299      catalog[0].secfilt[Nave*Nsecfilt+j].M_80        = NAN_S_SHORT;
     300      catalog[0].secfilt[Nave*Nsecfilt+j].Ncode       = 0;
     301      catalog[0].secfilt[Nave*Nsecfilt+j].Nused       = 0;
     302      catalog[0].secfilt[Nave*Nsecfilt+j].ubercalDist = 1000;
     303      catalog[0].secfilt[Nave*Nsecfilt+j].flags       = 0;
     304      catalog[0].secfilt[Nave*Nsecfilt+j].dummy[0]    = 0;
     305      catalog[0].secfilt[Nave*Nsecfilt+j].dummy[1]    = 0;
    301306    }
    302307
  • branches/eam_branches/ipp-20111122/Ohana/src/addstar/test/simple.dvo

    r27582 r33398  
    88  test.fields PS1_V1    PS1_V1
    99  test.fields PS1_V2    PS1_V1
     10  test.fields PS1_V3    PS1_V1
    1011
    1112  test.fields PS1_DEV_0 PS1_V2
     
    1314  test.fields PS1_V1    PS1_V2
    1415  test.fields PS1_V2    PS1_V2
     16  test.fields PS1_V3    PS1_V2
     17
     18  test.fields PS1_DEV_0 PS1_V3
     19  test.fields PS1_DEV_1 PS1_V3
     20  test.fields PS1_V1    PS1_V3
     21  test.fields PS1_V2    PS1_V3
     22  test.fields PS1_V3    PS1_V3
    1523end 
    1624
     
    3139  mkinput
    3240  exec mkcmf test.in.txt test.cmf -date 2008/1/1 -time 01:00:00 -radec $RA $DEC -type $1
    33   exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2
     41  exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass
    3442
    3543  list testfields -copy testfields_$1
     
    220228  N_FRAMES          : SKIP # no accessor       
    221229end
     230
     231# this list is good for PS1_V3
     232list testfields_PS1_V3
     233  IPP_IDET          : detid     
     234  X_PSF             : xccd     
     235  Y_PSF             : yccd     
     236  X_PSF_SIG         : xccd:err # FAIL
     237  Y_PSF_SIG         : yccd:err # FAIL
     238  RA_PSF            : SKIP # astrometry is not calibrated in the cmf
     239  DEC_PSF           : SKIP # astrometry is not calibrated in the cmf
     240  POSANGLE          : SKIP # astrometry is not calibrated in the cmf
     241  PLTSCALE          : SKIP # astrometry is not calibrated in the cmf
     242  PSF_INST_MAG      : mag:inst 
     243  PSF_INST_MAG_SIG  : mag:err   
     244  AP_MAG_STANDARD   : mag:ap # FAIL
     245  AP_MAG_RADIUS     : SKIP # no accessor
     246  PEAK_FLUX_AS_MAG  : SKIP # no accessor
     247  CAL_PSF_MAG       : SKIP # photometry is not calibrated in the cmf
     248  CAL_PSF_MAG_SIG   : SKIP # photometry is not calibrated in the cmf
     249  SKY               : sky       
     250  SKY_SIG           : sky_err   
     251  PSF_CHISQ         : psf_chisq
     252  CR_NSIGMA         : cr_nsigma
     253  EXT_NSIGMA        : ext_nsigma
     254  PSF_MAJOR         : FWHM_MAJ 
     255  PSF_MINOR         : FWHM_MIN 
     256  PSF_THETA         : THETA # FAIL
     257  PSF_QF            : PSF_QF   
     258  PSF_NDOF          : SKIP # no accessor
     259  PSF_NPIX          : SKIP # no accessor
     260  MOMENTS_XX        : SKIP # no accessor
     261  MOMENTS_XY        : SKIP # no accessor
     262  MOMENTS_YY        : SKIP # no accessor
     263  FLAGS             : phot_flags
     264  N_FRAMES          : SKIP # no accessor       
     265end
Note: See TracChangeset for help on using the changeset viewer.