IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 21, 2012, 12:55:14 PM (14 years ago)
Author:
eugene
Message:

setastrom builds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121219/Ohana/src/uniphot/include/setastrom.h

    r34867 r34868  
    22# include <dvo.h>
    33# include <signal.h>
     4
     5// the interpolating spline information: this is based on the spline used by opihi/cmd.data/spline.c
     6typedef struct {
     7  int Nknots;
     8  double *xk;
     9  double *yk;
     10  double *y2;
     11} Spline;
    412
    513/* global variables set in parameter file */
     
    1422int          PARALLEL_MANUAL;
    1523int          PARALLEL_SERIAL;
     24char        *UPDATE_CATFORMAT;
     25
     26SkyRegion    UserPatch;
    1627
    1728/***** prototypes ****/
    1829int           main                            PROTO((int argc, char **argv));
    1930
     31void          GetConfig                       PROTO((char *config, char *field, char *format, int N, void *ptr));
    2032void          ConfigInit                      PROTO((int *argc, char **argv));
     33
    2134void          usage_setastrom                 PROTO(());
    2235void          initialize_setastrom            PROTO((int argc, char **argv));
     
    3245// int           SetSignals                      PROTO((void));
    3346
    34 int           update_dvo_setastrom            PROTO(());
    35 int           update_dvo_setastrom_parallel   PROTO((SkyTable *sky));
     47int           update_dvo_setastrom            PROTO((char *corrfile));
     48int           update_dvo_setastrom_parallel   PROTO((SkyTable *sky, char *corrfile));
    3649
    37 void          update_catalog_setastrom        PROTO((Catalog *catalog));
     50int           update_catalog_setastrom        PROTO((Catalog *catalog));
    3851
     52// spline correction functions
     53int load_astrom_correction (char *filename);
     54int get_astrom_correction (int sub, int chip, double *dX, double *dY, float Minst);
     55double spline_apply_dbl (double *x, double *y, double *y2, int N, double X);
Note: See TracChangeset for help on using the changeset viewer.