IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 26, 2006, 10:46:32 AM (20 years ago)
Author:
eugene
Message:

adding proper motion and parallax to addstar, dropping _PS from RA and DEC in average

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/calextract.c

    r5945 r6683  
    6363    catalog.filename = skylist[0].filename[Nr];
    6464    switch (lock_catalog (&catalog, LCK_SOFT)) {
    65     case 2:
    66       unlock_catalog (&catalog);
    67     case 0:
    68       continue;
     65      case 2:
     66        unlock_catalog (&catalog);
     67      case 0:
     68        continue;
    6969    }
    7070    catalog.catflags = LOAD_AVES | LOAD_MEAS | LOAD_SECF;
     
    9999      vec[Nm ][0].elements[N] = M2;
    100100      vec[NC ][0].elements[N] = color;
    101       vec[NR ][0].elements[N] = catalog.average[i].R_PS;
    102       vec[ND ][0].elements[N] = catalog.average[i].D_PS;
     101      vec[NR ][0].elements[N] = catalog.average[i].R;
     102      vec[ND ][0].elements[N] = catalog.average[i].D;
    103103      vec[Nd1][0].elements[N] = ExtractAverages (code[0], mode[0], &catalog.average[i], &catalog.secfilt[i*Nsec], &catalog.measure[m], AVE_dMAG);
    104104      vec[Nd2][0].elements[N] = dM2;
     
    133133  return (FALSE);
    134134
    135  escape:
     135escape:
    136136 
    137137  if (RegionName != NULL) free (RegionName);
Note: See TracChangeset for help on using the changeset viewer.