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

Location:
trunk/Ohana/src/libautocode
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libautocode/Makefile

    r6454 r6683  
    2929$(SRC)/average-elixir.$(ARCH).o \
    3030$(SRC)/average-panstarrs.$(ARCH).o \
     31$(SRC)/average-pmtest.$(ARCH).o \
    3132$(SRC)/secfilt.$(ARCH).o \
    3233$(SRC)/secfilt-loneos.$(ARCH).o \
     
    6162$(INC)/average-elixir.h \
    6263$(INC)/average-panstarrs.h \
     64$(INC)/average-pmtest.h \
    6365$(INC)/secfilt.h \
    6466$(INC)/secfilt-loneos.h \
  • trunk/Ohana/src/libautocode/def/Stars.d

    r6678 r6683  
    22EXTNAME STARS
    33TYPE    BINTABLE
    4 SIZE    128
     4SIZE    176
    55
    6 FIELD     X,                X,                    double,         x coordinate on image
    7 FIELD     Y,                Y,                    double,         y coordinate on image
    8 FIELD     R,                R,                    double,         ra coordinate on sky
    9 FIELD     D,                D,                    double,         dec coordinate on sky
    10 FIELD     uR,               uR,                   double,         proper motion in RA
    11 FIELD     uD,               uD,                   double,         proper motion in DEC
    12 FIELD     M,                M,                    double,         instrumental mag
    13 FIELD     dM,               DM,                   double,         error on mag
    14 FIELD     sky,              SKY,                  double,         local sky counts
    15 FIELD     fx,               FX,                   double,         object FWHM x-dir
    16 FIELD     fy,               FY,                   double,         object FWHM y-dir
    17 FIELD     df,               DF,                   double,         object position angle
    18 FIELD     Mgal,             MGAL,                 double,         alternative (galaxy) magnitude
    19 FIELD     Map,              MAP,                  double,         alternative (aperture) magnitude
    20 FIELD     found,            FOUND,                int,            found in database catalog?
    21 FIELD     t,                T,                    e_time,         date/time of exposure (UNIX)
    22 FIELD     code,             CODE,                 short,          .
    23 FIELD     dophot,           DOPHOT,               char,           dophot type code
    24 FIELD     dummy,            DUMMY,                char[5],        .
     6FIELD     X,                X,          double,    x coordinate on image,            pixels
     7FIELD     Y,                Y,          double,    y coordinate on image,            pixels
     8FIELD     R,                R,          double,    ra coordinate on sky,             decimal degrees
     9FIELD     D,                D,          double,    dec coordinate on sky,            decimal degrees
     10FIELD     dR,               dR,         double,    ra error,                         arcsec
     11FIELD     dD,               dD,         double,    dec error,                        arcsec
     12FIELD     uR,               U_RA,       double,    proper motion in RA,              milliarcsec/year
     13FIELD     uD,               U_DEC,      double,    proper motion in DEC,             milliarcsec/year
     14FIELD     duR,              U_RA_ERR,   double,    p-m error in RA,                  milliarcsec/year
     15FIELD     duD,              U_DEC_ERR,  double,    p-m error in DEC,                 milliarcsec/year
     16FIELD     P,                PAR,        double,    parallax,                         milliarcsec
     17FIELD     dP,               PAR_ERR,    double,    parallax error,                   milliarcsec
     18FIELD     M,                M,          double,    instrumental mag
     19FIELD     dM,               DM,         double,    error on mag
     20FIELD     sky,              SKY,        double,    local sky counts
     21FIELD     fx,               FX,         double,    object FWHM x-dir,                pixels?
     22FIELD     fy,               FY,         double,    object FWHM y-dir,                pixels?
     23FIELD     df,               DF,         double,    object position angle,            degrees
     24FIELD     Mgal,             MGAL,       double,    alternative (galaxy) magnitude
     25FIELD     Map,              MAP,        double,    alternative (aperture) magnitude
     26FIELD     found,            FOUND,      int,       found in database catalog?
     27FIELD     t,                T,          e_time,    date/time of exposure (UNIX)
     28FIELD     code,             CODE,       short,     .
     29FIELD     dophot,           DOPHOT,     char,      dophot type code
     30FIELD     dummy,            DUMMY,      char[5],   .
     31
     32# this structure is only used internally and for interprocess communication (addstar)
     33# dR, uR, etc should be better defined at the pole...
     34# define down the types to floats where reasonable (all but R,D)?
     35# R,D should be in ICRS, J2000, epoch 2000 : precess as needed, apply p-m as needed
  • trunk/Ohana/src/libautocode/def/average-panstarrs.d

    r5014 r6683  
    1818FIELD offset,         offset,     int,              offset to first measurement
    1919FIELD missing,        missing,    int,              offset to first missing obs
    20 FIELD dummy,          dummmy,     int,              extra space
     20FIELD dummy,          dummy,      int,              extra space
     21
     22# change this table eventually to a temp name and provide a script to fix existing DBs
  • trunk/Ohana/src/libautocode/def/average.d

    r6454 r6683  
    22EXTNAME      DVO_AVERAGE
    33TYPE         BINTABLE
    4 SIZE         44
     4SIZE         76
    55DESCRIPTION  DVO Average Object Table
    66
    77# elements of data structure / FITS table
    88
    9 FIELD R_PS,           RA,         double,           RA,                           decimal degrees
    10 FIELD D_PS,           DEC,        double,           DEC,                          decimal degrees
    11 FIELD M_PS,           MAG,        float,            primary mag,                  mag
    12 FIELD dM_PS,          MAG_ERR,    float,            error on primary mag,         mag
     9FIELD R,              RA,         double,           RA,                           decimal degrees
     10FIELD D,              DEC,        double,           DEC,                          decimal degrees
     11FIELD dR,             RA_ERR,     float,            RA error                      arcsec
     12FIELD dD,             DEC_ERR,    float,            DEC error                     arcsec
     13
     14FIELD uR,             U_RA,       float,            RA*cos(D) proper-motion,      arcsec/year
     15FIELD uD,             U_DEC,      float,            DEC proper-motion,            arcsec/year
     16FIELD duR,            V_RA_ERR,   float,            RA*cos(D) p-m error,          arcsec/year
     17FIELD duD,            V_DEC_ERR,  float,            DEC p-m error,                arcsec/year
     18FIELD P,              PAR,        float,            parallax,                     arcsec
     19FIELD dP,             PAR_ERR,    float,            parallax error,               arcsec
     20
     21FIELD M,              MAG,        float,            primary mag,                  mag
     22FIELD dM,             MAG_ERR,    float,            error on primary mag,         mag
    1323FIELD Xp,             SIGMA_POS,  short,            position scatter,             1/100 arcsec
    1424FIELD Xm,             CHISQ_MAG,  short,            chisq for primary mag,        [100*log(value)]
     
    2030FIELD missing,        missing,    int,              offset to first missing obs
    2131
    22 #
    23 # V_RA,   float,            proper-motion (arcsec/year),
    24 # V_DEC   float,            proper-motion (arcsec/year),
    25 # PAR     float             parallax (arcseconds)
    26 # D_V_RA  float,            proper-motion error (arcsec/year),
    27 # D_V_DEC float,            proper-motion error (arcsec/year),
    28 # D_PAR   float             parallax error (arcseconds)
     32# this structure should only be used for internal representations
     33# the average-FORMAT structures should be used for external representations
Note: See TracChangeset for help on using the changeset viewer.