- Timestamp:
- Feb 4, 2021, 2:07:18 PM (5 years ago)
- Location:
- trunk/Ohana/src/getstar
- Files:
-
- 4 edited
-
include/dvoImageOverlaps.h (modified) (1 diff)
-
src/ConfigInit_overlaps.c (modified) (1 diff)
-
src/MatchImages.c (modified) (1 diff)
-
src/ReadImageHeader.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/getstar/include/dvoImageOverlaps.h
r39998 r41488 22 22 int ACCEPT_ASTROM; 23 23 24 double MAX_CERROR; 25 24 26 int args_overlaps PROTO((int argc, char **argv)); 25 27 int ConfigInit_overlaps PROTO((int *argc, char **argv)); -
trunk/Ohana/src/getstar/src/ConfigInit_overlaps.c
r39998 r41488 44 44 if (*CATFORMAT == 0) strcpy (CATFORMAT, "ELIXIR"); 45 45 46 MAX_CERROR = 0.5; // arcseconds 47 ScanConfig (config, "OVERLAPS_MAX_CERROR", "%lf", 0, &MAX_CERROR); 48 46 49 free (config); 47 50 free (file); -
trunk/Ohana/src/getstar/src/MatchImages.c
r38986 r41488 19 19 if (!WITH_PHU && !strcmp (&image[0].coords.ctype[4], "-DIS")) return NULL; 20 20 if ( SOLO_PHU && strcmp (&image[0].coords.ctype[4], "-DIS")) return NULL; 21 22 // exclude chips / images with errors larger than OVERLAP_MAX_CERROR: 23 if (fabs(MAX_CERROR) > 1e-6) { 24 if (image[0].cerror * 0.02 > MAX_CERROR) return NULL; 25 } 21 26 22 27 /* project onto rectilinear grid with 1 arcsec pixels */ -
trunk/Ohana/src/getstar/src/ReadImageHeader.c
r40291 r41488 93 93 } 94 94 95 /* CERROR in data file is in arcsec */95 /* CERROR in data file is in arcsec, image structure uses units of 20 mas */ 96 96 if (!gfits_scan (header, "CERROR", "%lf", 1, &tmp)) tmp = 1.0; 97 97 image[0].cerror = tmp * 50.0;
Note:
See TracChangeset
for help on using the changeset viewer.
