IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30516


Ignore:
Timestamp:
Feb 8, 2011, 8:49:06 AM (15 years ago)
Author:
eugene
Message:

create 2 new image fields (using existing dummy bytes): nLinkAstrom & nLinkPhotom - the mean number of measurements per star for the image

Location:
branches/eam_branches/ipp-20101205/Ohana/src
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/Ohana/src/libautocode/def/image-elixir.d

    r30501 r30516  
    4444FIELD     dummy,            DUMMY,                char[20],       unused
    4545
    46 FIELD     dummy1,           DUMMY1,               short,          place holder for byte boundaries
    47 FIELD     dummy2,           DUMMY2,               short,          place holder for byte boundaries
     46FIELD     nLinkAstrom,      NLINK_ASTROM,         short,          mean number of matched measurements for astrometry
     47FIELD     nLinkPhotom,      NLINK_PHOTOM,         short,          mean number of matched measurements for astrometry
    4848FIELD     dummy3,           DUMMY3,               short,          place holder for byte boundaries
    4949
  • branches/eam_branches/ipp-20101205/Ohana/src/libautocode/def/image-loneos.d

    r30501 r30516  
    4444FIELD     dummy,            DUMMY,                char[20],       unused
    4545
    46 FIELD     dummy1,           DUMMY1,               short,          place holder for byte boundaries
    47 FIELD     dummy2,           DUMMY2,               short,          place holder for byte boundaries
     46FIELD     nLinkAstrom,      NLINK_ASTROM,         short,          mean number of matched measurements for astrometry
     47FIELD     nLinkPhotom,      NLINK_PHOTOM,         short,          mean number of matched measurements for astrometry
    4848FIELD     dummy3,           DUMMY3,               short,          place holder for byte boundaries
    4949
  • branches/eam_branches/ipp-20101205/Ohana/src/libautocode/def/image-panstarrs-dev-0.d

    r30501 r30516  
    5353
    5454FIELD     dummy,            DUMMY,                char[10],       unused
    55 FIELD     dummy1,           DUMMY1,               short,          place holder for byte boundaries
    56 FIELD     dummy2,           DUMMY2,               short,          place holder for byte boundaries
     55FIELD     nLinkAstrom,      NLINK_ASTROM,         short,          mean number of matched measurements for astrometry
     56FIELD     nLinkPhotom,      NLINK_PHOTOM,         short,          mean number of matched measurements for astrometry
    5757FIELD     dummy3,           DUMMY3,               short,          place holder for byte boundaries
    5858
  • branches/eam_branches/ipp-20101205/Ohana/src/libautocode/def/image-panstarrs-dev-1.d

    r30501 r30516  
    5353
    5454FIELD     dummy,            DUMMY,                char[10],       unused
    55 FIELD     dummy1,           DUMMY1,               short,          place holder for byte boundaries
    56 FIELD     dummy2,           DUMMY2,               short,          place holder for byte boundaries
     55FIELD     nLinkAstrom,      NLINK_ASTROM,         short,          mean number of matched measurements for astrometry
     56FIELD     nLinkPhotom,      NLINK_PHOTOM,         short,          mean number of matched measurements for astrometry
    5757FIELD     dummy3,           DUMMY3,               short,          place holder for byte boundaries
    5858
  • branches/eam_branches/ipp-20101205/Ohana/src/libautocode/def/image-ps1-dev-1.d

    r30501 r30516  
    5353
    5454# 40 bytes
    55 FIELD     dummy1,           DUMMY1,               short,          place holder for byte boundaries
    56 FIELD     dummy2,           DUMMY2,               short,          place holder for byte boundaries
     55FIELD     nLinkAstrom,      NLINK_ASTROM,         short,          mean number of matched measurements for astrometry
     56FIELD     nLinkPhotom,      NLINK_PHOTOM,         short,          mean number of matched measurements for astrometry
    5757FIELD     dummy3,           DUMMY3,               short,          place holder for byte boundaries
    5858
  • branches/eam_branches/ipp-20101205/Ohana/src/libautocode/def/image-ps1-dev-2.d

    r30501 r30516  
    5353# 48 bytes
    5454
    55 FIELD     dummy1,           DUMMY1,               short,          place holder for byte boundaries
    56 FIELD     dummy2,           DUMMY2,               short,          place holder for byte boundaries
     55FIELD     nLinkAstrom,      NLINK_ASTROM,         short,          mean number of matched measurements for astrometry
     56FIELD     nLinkPhotom,      NLINK_PHOTOM,         short,          mean number of matched measurements for astrometry
    5757FIELD     dummy3,           DUMMY3,               short,          place holder for byte boundaries
    5858
  • branches/eam_branches/ipp-20101205/Ohana/src/libautocode/def/image-ps1-dev-3.d

    r30501 r30516  
    5454# 48 bytes
    5555
    56 FIELD     dummy1,           DUMMY1,               short,          place holder for byte boundaries
    57 FIELD     dummy2,           DUMMY2,               short,          place holder for byte boundaries
     56FIELD     nLinkAstrom,      NLINK_ASTROM,         short,          mean number of matched measurements for astrometry
     57FIELD     nLinkPhotom,      NLINK_PHOTOM,         short,          mean number of matched measurements for astrometry
    5858FIELD     dummy3,           DUMMY3,               short,          place holder for byte boundaries
    5959
  • branches/eam_branches/ipp-20101205/Ohana/src/libautocode/def/image-ps1-ref.d

    r30501 r30516  
    5656
    5757# 40 bytes
    58 FIELD     dummy1,           DUMMY1,               short,          place holder for byte boundaries
    59 FIELD     dummy2,           DUMMY2,               short,          place holder for byte boundaries
     58FIELD     nLinkAstrom,      NLINK_ASTROM,         short,          mean number of matched measurements for astrometry
     59FIELD     nLinkPhotom,      NLINK_PHOTOM,         short,          mean number of matched measurements for astrometry
    6060FIELD     dummy3,           DUMMY3,               short,          place holder for byte boundaries
    6161
  • branches/eam_branches/ipp-20101205/Ohana/src/libautocode/def/image-ps1-v1.d

    r30501 r30516  
    5555# 48 bytes
    5656
    57 FIELD     dummy1,           DUMMY1,               short,          place holder for byte boundaries
    58 FIELD     dummy2,           DUMMY2,               short,          place holder for byte boundaries
     57FIELD     nLinkAstrom,      NLINK_ASTROM,         short,          mean number of matched measurements for astrometry
     58FIELD     nLinkPhotom,      NLINK_PHOTOM,         short,          mean number of matched measurements for astrometry
    5959FIELD     dummy3,           DUMMY3,               short,          place holder for byte boundaries
    6060
  • branches/eam_branches/ipp-20101205/Ohana/src/libautocode/def/image-ps1-v2.d

    r30501 r30516  
    6060# 48 bytes
    6161
    62 FIELD     dummy1,           DUMMY1,               short,          place holder for byte boundaries
    63 FIELD     dummy2,           DUMMY2,               short,          place holder for byte boundaries
     62FIELD     nLinkAstrom,      NLINK_ASTROM,         short,          mean number of matched measurements for astrometry
     63FIELD     nLinkPhotom,      NLINK_PHOTOM,         short,          mean number of matched measurements for astrometry
    6464FIELD     dummy3,           DUMMY3,               short,          place holder for byte boundaries
    6565
  • branches/eam_branches/ipp-20101205/Ohana/src/libautocode/def/image.d

    r30501 r30516  
    6161# 48 bytes
    6262
    63 FIELD     dummy1,           DUMMY1,               short,          place holder for byte boundaries
    64 FIELD     dummy2,           DUMMY2,               short,          place holder for byte boundaries
     63FIELD     nLinkAstrom,      NLINK_ASTROM,         short,          mean number of matched measurements for astrometry
     64FIELD     nLinkPhotom,      NLINK_PHOTOM,         short,          mean number of matched measurements for astrometry
    6565FIELD     dummy3,           DUMMY3,               short,          place holder for byte boundaries
    6666
  • branches/eam_branches/ipp-20101205/Ohana/src/libdvo/src/dvo_convert_PS1_DEV_1.c

    r30502 r30516  
    266266    // with the following.  (no real databases used those values -- see
    267267    // libdvo/doc/dvo-images.txt)
    268     out[i].dummy1           = in[i].dummy1;
    269     out[i].dummy2           = in[i].dummy2;
     268    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     269    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    270270    out[i].dummy3           = in[i].dummy3;
    271271    out[i].dXpixSys         = in[i].dXpixSys;
     
    333333    // with the following.  (no real databases used those values -- see
    334334    // libdvo/doc/dvo-images.txt)
    335     out[i].dummy1           = in[i].dummy1;
    336     out[i].dummy2           = in[i].dummy2;
     335    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     336    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    337337    out[i].dummy3           = in[i].dummy3;
    338338    out[i].dXpixSys         = in[i].dXpixSys;
  • branches/eam_branches/ipp-20101205/Ohana/src/libdvo/src/dvo_convert_PS1_DEV_2.c

    r30502 r30516  
    262262    // with the following.  (no real databases used those values -- see
    263263    // libdvo/doc/dvo-images.txt)
    264     out[i].dummy1           = in[i].dummy1;
    265     out[i].dummy2           = in[i].dummy2;
     264    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     265    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    266266    out[i].dummy3           = in[i].dummy3;
    267267    out[i].dXpixSys         = in[i].dXpixSys;
     
    327327    // with the following.  (no real databases used those values -- see
    328328    // libdvo/doc/dvo-images.txt)
    329     out[i].dummy1           = in[i].dummy1;
    330     out[i].dummy2           = in[i].dummy2;
     329    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     330    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    331331    out[i].dummy3           = in[i].dummy3;
    332332    out[i].dXpixSys         = in[i].dXpixSys;
  • branches/eam_branches/ipp-20101205/Ohana/src/libdvo/src/dvo_convert_PS1_DEV_3.c

    r30502 r30516  
    4646    // with the following.  (no real databases used those values -- see
    4747    // libdvo/doc/dvo-images.txt)
    48     out[i].dummy1           = in[i].dummy1;
    49     out[i].dummy2           = in[i].dummy2;
     48    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     49    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    5050    out[i].dummy3           = in[i].dummy3;
    5151    out[i].dXpixSys         = in[i].dXpixSys;
     
    105105    // with the following.  (no real databases used those values -- see
    106106    // libdvo/doc/dvo-images.txt)
    107     out[i].dummy1           = in[i].dummy1;
    108     out[i].dummy2           = in[i].dummy2;
     107    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     108    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    109109    out[i].dummy3           = in[i].dummy3;
    110110    out[i].dXpixSys         = in[i].dXpixSys;
  • branches/eam_branches/ipp-20101205/Ohana/src/libdvo/src/dvo_convert_PS1_REF.c

    r30502 r30516  
    221221    // with the following.  (no real databases used those values -- see
    222222    // libdvo/doc/dvo-images.txt)
    223     out[i].dummy1           = in[i].dummy1;
    224     out[i].dummy2           = in[i].dummy2;
     223    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     224    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    225225    out[i].dummy3           = in[i].dummy3;
    226226    out[i].dXpixSys         = in[i].dXpixSys;
     
    283283    // with the following.  (no real databases used those values -- see
    284284    // libdvo/doc/dvo-images.txt)
    285     out[i].dummy1           = in[i].dummy1;
    286     out[i].dummy2           = in[i].dummy2;
     285    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     286    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    287287    out[i].dummy3           = in[i].dummy3;
    288288    out[i].dXpixSys         = in[i].dXpixSys;
  • branches/eam_branches/ipp-20101205/Ohana/src/libdvo/src/dvo_convert_PS1_V1.c

    r30502 r30516  
    270270    // with the following.  (no real databases used those values -- see
    271271    // libdvo/doc/dvo-images.txt)
    272     out[i].dummy1           = in[i].dummy1;
    273     out[i].dummy2           = in[i].dummy2;
     272    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     273    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    274274    out[i].dummy3           = in[i].dummy3;
    275275    out[i].dXpixSys         = in[i].dXpixSys;
     
    334334    // with the following.  (no real databases used those values -- see
    335335    // libdvo/doc/dvo-images.txt)
    336     out[i].dummy1           = in[i].dummy1;
    337     out[i].dummy2           = in[i].dummy2;
     336    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     337    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    338338    out[i].dummy3           = in[i].dummy3;
    339339    out[i].dXpixSys         = in[i].dXpixSys;
  • branches/eam_branches/ipp-20101205/Ohana/src/libdvo/src/dvo_convert_PS1_V2.c

    r30502 r30516  
    279279    // with the following.  (no real databases used those values -- see
    280280    // libdvo/doc/dvo-images.txt)
    281     out[i].dummy1           = in[i].dummy1;
    282     out[i].dummy2           = in[i].dummy2;
     281    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     282    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    283283    out[i].dummy3           = in[i].dummy3;
    284284    out[i].dXpixSys         = in[i].dXpixSys;
     
    341341    // with the following.  (no real databases used those values -- see
    342342    // libdvo/doc/dvo-images.txt)
    343     out[i].dummy1           = in[i].dummy1;
    344     out[i].dummy2           = in[i].dummy2;
     343    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     344    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    345345    out[i].dummy3           = in[i].dummy3;
    346346    out[i].dXpixSys         = in[i].dXpixSys;
  • branches/eam_branches/ipp-20101205/Ohana/src/libdvo/src/dvo_convert_elixir.c

    r30502 r30516  
    269269    // with the following.  (no real databases used those values -- see
    270270    // libdvo/doc/dvo-images.txt)
    271     out[i].dummy1           = in[i].dummy1;
    272     out[i].dummy2           = in[i].dummy2;
     271    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     272    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    273273    out[i].dummy3           = in[i].dummy3;
    274274    out[i].dXpixSys         = in[i].dXpixSys;
     
    339339    // with the following.  (no real databases used those values -- see
    340340    // libdvo/doc/dvo-images.txt)
    341     out[i].dummy1           = in[i].dummy1;
    342     out[i].dummy2           = in[i].dummy2;
     341    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     342    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    343343    out[i].dummy3           = in[i].dummy3;
    344344    out[i].dXpixSys         = in[i].dXpixSys;
  • branches/eam_branches/ipp-20101205/Ohana/src/libdvo/src/dvo_convert_loneos.c

    r30502 r30516  
    262262    // with the following.  (no real databases used those values -- see
    263263    // libdvo/doc/dvo-images.txt)
    264     out[i].dummy1           = in[i].dummy1;
    265     out[i].dummy2           = in[i].dummy2;
     264    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     265    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    266266    out[i].dummy3           = in[i].dummy3;
    267267    out[i].dXpixSys         = in[i].dXpixSys;
     
    332332    // with the following.  (no real databases used those values -- see
    333333    // libdvo/doc/dvo-images.txt)
    334     out[i].dummy1           = in[i].dummy1;
    335     out[i].dummy2           = in[i].dummy2;
     334    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     335    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    336336    out[i].dummy3           = in[i].dummy3;
    337337    out[i].dXpixSys         = in[i].dXpixSys;
  • branches/eam_branches/ipp-20101205/Ohana/src/libdvo/src/dvo_convert_panstarrs_DEV_0.c

    r30502 r30516  
    276276    // with the following.  (no real databases used those values -- see
    277277    // libdvo/doc/dvo-images.txt)
    278     out[i].dummy1           = in[i].dummy1;
    279     out[i].dummy2           = in[i].dummy2;
     278    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     279    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    280280    out[i].dummy3           = in[i].dummy3;
    281281    out[i].dXpixSys         = in[i].dXpixSys;
     
    345345    // with the following.  (no real databases used those values -- see
    346346    // libdvo/doc/dvo-images.txt)
    347     out[i].dummy1           = in[i].dummy1;
    348     out[i].dummy2           = in[i].dummy2;
     347    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     348    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    349349    out[i].dummy3           = in[i].dummy3;
    350350    out[i].dXpixSys         = in[i].dXpixSys;
  • branches/eam_branches/ipp-20101205/Ohana/src/libdvo/src/dvo_convert_panstarrs_DEV_1.c

    r30502 r30516  
    276276    // with the following.  (no real databases used those values -- see
    277277    // libdvo/doc/dvo-images.txt)
    278     out[i].dummy1           = in[i].dummy1;
    279     out[i].dummy2           = in[i].dummy2;
     278    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     279    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    280280    out[i].dummy3           = in[i].dummy3;
    281281    out[i].dXpixSys         = in[i].dXpixSys;
     
    345345    // with the following.  (no real databases used those values -- see
    346346    // libdvo/doc/dvo-images.txt)
    347     out[i].dummy1           = in[i].dummy1;
    348     out[i].dummy2           = in[i].dummy2;
     347    out[i].nLinkAstrom      = in[i].nLinkAstrom;
     348    out[i].nLinkPhotom      = in[i].nLinkPhotom;
    349349    out[i].dummy3           = in[i].dummy3;
    350350    out[i].dXpixSys         = in[i].dXpixSys;
  • branches/eam_branches/ipp-20101205/Ohana/src/opihi/dvo/dbExtractImages.c

    r30508 r30516  
    316316      value.Int = image[N].nFitAstrom;
    317317      break;
     318    case IMAGE_NLINK_PHOTOM:
     319      value.Int = image[N].nLinkPhotom;
     320      break;
     321    case IMAGE_NLINK_ASTROM:
     322      value.Int = image[N].nLinkAstrom;
     323      break;
    318324  }
    319325  return (value);
  • branches/eam_branches/ipp-20101205/Ohana/src/opihi/dvo/dbFields.c

    r30508 r30516  
    433433  if (!strcasecmp (fieldName, "NFIT_PHOTOM")) ESCAPE (IMAGE_NFIT_PHOTOM,MAG_NONE, OPIHI_INT);
    434434  if (!strcasecmp (fieldName, "NFIT_ASTROM")) ESCAPE (IMAGE_NFIT_ASTROM,MAG_NONE, OPIHI_INT);
     435  if (!strcasecmp (fieldName, "NLINK_PHOTOM")) ESCAPE (IMAGE_NLINK_PHOTOM,MAG_NONE, OPIHI_INT);
     436  if (!strcasecmp (fieldName, "NLINK_ASTROM")) ESCAPE (IMAGE_NLINK_ASTROM,MAG_NONE, OPIHI_INT);
    435437
    436438  // for words that don't parse, try a photcode
  • branches/eam_branches/ipp-20101205/Ohana/src/opihi/include/dvoshell.h

    r30508 r30516  
    224224      IMAGE_MAG_ERR_SYS,
    225225      IMAGE_NFIT_PHOTOM,
    226       IMAGE_NFIT_ASTROM
     226      IMAGE_NFIT_ASTROM,
     227      IMAGE_NLINK_PHOTOM,
     228      IMAGE_NLINK_ASTROM
    227229};
    228230
Note: See TracChangeset for help on using the changeset viewer.