- Timestamp:
- Dec 21, 2012, 12:55:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20121219/Ohana/src/uniphot/include/setastrom.h
r34867 r34868 2 2 # include <dvo.h> 3 3 # include <signal.h> 4 5 // the interpolating spline information: this is based on the spline used by opihi/cmd.data/spline.c 6 typedef struct { 7 int Nknots; 8 double *xk; 9 double *yk; 10 double *y2; 11 } Spline; 4 12 5 13 /* global variables set in parameter file */ … … 14 22 int PARALLEL_MANUAL; 15 23 int PARALLEL_SERIAL; 24 char *UPDATE_CATFORMAT; 25 26 SkyRegion UserPatch; 16 27 17 28 /***** prototypes ****/ 18 29 int main PROTO((int argc, char **argv)); 19 30 31 void GetConfig PROTO((char *config, char *field, char *format, int N, void *ptr)); 20 32 void ConfigInit PROTO((int *argc, char **argv)); 33 21 34 void usage_setastrom PROTO(()); 22 35 void initialize_setastrom PROTO((int argc, char **argv)); … … 32 45 // int SetSignals PROTO((void)); 33 46 34 int update_dvo_setastrom PROTO(( ));35 int update_dvo_setastrom_parallel PROTO((SkyTable *sky ));47 int update_dvo_setastrom PROTO((char *corrfile)); 48 int update_dvo_setastrom_parallel PROTO((SkyTable *sky, char *corrfile)); 36 49 37 voidupdate_catalog_setastrom PROTO((Catalog *catalog));50 int update_catalog_setastrom PROTO((Catalog *catalog)); 38 51 52 // spline correction functions 53 int load_astrom_correction (char *filename); 54 int get_astrom_correction (int sub, int chip, double *dX, double *dY, float Minst); 55 double spline_apply_dbl (double *x, double *y, double *y2, int N, double X);
Note:
See TracChangeset
for help on using the changeset viewer.
