IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 9, 2005, 9:20:18 PM (22 years ago)
Author:
eugene
Message:

working to mosaic astrom

Location:
trunk/Ohana/src/addstar
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/include/addstar.h

    r3389 r3400  
    161161int FindRegionDecBandStart (GSCRegion *region, int Nregion, double dec);
    162162int FindRegionDecBandStop (GSCRegion *region, int Nregion, double dec);
     163int FindDecBand (double dec, double *DEC0, double *DEC1);
     164
    163165int hms_to_deg (double *h0, double *h1, double *d0, double *d1, char *string);
    164166void find_matches_refstars (GSCRegion *region, Stars **stars, int Nstars, Catalog *catalog);
  • trunk/Ohana/src/addstar/src/RegionOps.c

    r3376 r3400  
    2121GSCRegion *LoadRegions (int *nregions) {
    2222 
    23   int Nregions, i, N, NDec, Nx, Ny;
    24   char buffer[28800], temp[50], file[256];
     23  int Nregions, i, NDec, Nx, Ny;
     24  char temp[50], file[256];
    2525  double RA0, RA1, DEC0, DEC1, D0, D1;
    2626  FILE *f;
  • trunk/Ohana/src/addstar/src/get2mass.c

    r3376 r3400  
    55Stars *get2mass (GSCRegion *patch, int *NSTARS) {
    66 
    7   int i, j, k, Ns, Nstars, Nrefcat, Nregions;
     7  int i, Nstars, Nrefcat, Nregions;
    88  Stars     *stars;
    99  Stars     *refcat;
    … …  
    8484Stars *get2mass_data (TM_Region *region, GSCRegion *patch, int *nstars) {
    8585 
    86   int i, Nstars, NSTARS, Nbyte, Nline, Nval;
     86  int i, Nstars, NSTARS, Nbyte, Nline;
    8787  Stars *stars;
    8888  gzFile gf;
    89   char *filename, buffer[NLINE*NBYTE], datestr[64];
     89  char *filename, buffer[NLINE*NBYTE];
    9090  double RA, DEC, J, H, K, dJ, dH, dK;
    91   e_time time;
    9291  double RA0, RA1, DEC0, DEC1;
    9392
    … …  
    170169}
    171170
    172 /*
    173       Nval  = sscanf (&buffer[NBYTE*i +          0], "%lf %lf", &RA, &DEC);
    174       Nval += sscanf (&buffer[NBYTE*i +         53], "%lf %lf", &J, &dJ);
    175       Nval += sscanf (&buffer[NBYTE*i +         72], "%lf %lf", &H, &dH);
    176       Nval += sscanf (&buffer[NBYTE*i +         91], "%lf %lf", &K, &dK);
    177       Nval += sscanf (&buffer[NBYTE*i + 164], "%s", datestr);
    178 */
    179 
    180171    /* this just scans along in the file.  file is sorted by dec, so we
    181172       should be skipping large chunks - but we would need to have
  • trunk/Ohana/src/addstar/src/getgsc.c

    r3376 r3400  
    88Stars *getgsc (GSCRegion *patch, int *NSTARS) {
    99 
    10   int i, j, k, Ns, Ngsc, Nregions, Nstars;
     10  int i, Ngsc, Nregions, Nstars;
    1111  Stars *gsc;
    1212  Stars *stars;
  • trunk/Ohana/src/addstar/src/greference.c

    r3376 r3400  
    1010
    1111  Nstars = 0;
     12  stars = NULL;
    1213
    1314  /* get stars from USNO for the given region */
Note: See TracChangeset for help on using the changeset viewer.