IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 27, 2010, 3:12:18 PM (16 years ago)
Author:
eugene
Message:

star map now seems to work; updated flagging of images to be sensible; adjust fitting to allow reset of crpix1,2; fix image db table output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/Ohana/src/relastro/include/relastro.h

    r28703 r28720  
    33# include <kapa.h>
    44# include <signal.h>
     5# include <assert.h>
    56
    67typedef enum {
     
    7677  int    Nmeas;
    7778} StatType;
     79
     80# define MARKTIME(MSG,...) { \
     81  float dtime; \
     82  gettimeofday (&stop, (void *) NULL); \
     83  dtime = DTIME (stop, start); \
     84  fprintf (stderr, MSG, __VA_ARGS__); }
    7885
    7986/* global variables set in parameter file */
     
    150157int NY_MAP;
    151158double DPOS_MAX;
     159double ADDSTAR_RADIUS;
    152160
    153161/*** relphot prototypes ***/
     
    212220void create_image_db (FITS_DB *db);
    213221void save_catalogs (Catalog *catalog, int Ncatalog);
     222
     223int reload_images (FITS_DB *db);
    214224
    215225int           main                PROTO((int argc, char **argv));
     
    272282double **poly2d_copy (double **poly, int Nx, int Ny);
    273283double poly2d_eval (double **poly, int Nx, int Ny, double x, double y);
    274 int fit_apply_coords (CoordFit *fit, Coords *coords);
     284int fit_apply_coords (CoordFit *fit, Coords *coords, int keepRef);
    275285int CoordsGetCenter (CoordFit *fit, double tol, double *xo, double *yo);
    276286CoordFit *CoordsSetCenter (CoordFit *input, double Xo, double Yo);
    277 int FitChip (StarData *raw, StarData *ref, int Nmatch, Coords *coords);
     287int FitChip (StarData *raw, StarData *ref, int Nmatch, Image *image);
    278288void FitMosaic (StarData *raw, StarData *ref, int Nmatch, Coords *coords);
    279289void FitSimple (StarData *raw, StarData *ref, int Nmatch, Coords *coords);
Note: See TracChangeset for help on using the changeset viewer.