Changeset 41891 for trunk/Ohana/src/getstar
- Timestamp:
- Nov 4, 2021, 6:02:11 PM (5 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
src/getstar/src/ConfigInit_overlaps.c (modified) (1 diff)
-
src/getstar/src/MatchImages.c (modified) (1 diff)
-
src/getstar/src/ReadImageHeader.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-dev-20210817/Ohana (added) merged: 41800,41802,41818-41820,41824,41830,41835,41850,41869,41874-41875,41886
- Property svn:mergeinfo changed
-
trunk/Ohana/src/getstar/src/ConfigInit_overlaps.c
r41488 r41891 44 44 if (*CATFORMAT == 0) strcpy (CATFORMAT, "ELIXIR"); 45 45 46 MAX_CERROR = 0.5; // arcseconds46 MAX_CERROR = NAN; // NAN means do not cut on this value 47 47 ScanConfig (config, "OVERLAPS_MAX_CERROR", "%lf", 0, &MAX_CERROR); 48 48 -
trunk/Ohana/src/getstar/src/MatchImages.c
r41488 r41891 21 21 22 22 // exclude chips / images with errors larger than OVERLAP_MAX_CERROR: 23 if (fabs(MAX_CERROR) > 1e-6) { 23 // 2021.11.03 : MAX_CERROR is now compared to the header value CERSTD 24 if (isfinite(MAX_CERROR)) { 24 25 if (image[0].cerror * 0.02 > MAX_CERROR) return NULL; 25 26 } -
trunk/Ohana/src/getstar/src/ReadImageHeader.c
r41488 r41891 93 93 } 94 94 95 /* CERROR in data file is in arcsec, image structure uses units of 20 mas */ 96 if (!gfits_scan (header, "CERROR", "%lf", 1, &tmp)) tmp = 1.0; 95 // CERROR & CERSTD in data file are in arcsec, image structure uses units of 20 mas 96 // if (!gfits_scan (header, "CERROR", "%lf", 1, &tmp)) tmp = 1.0; 97 // 2021.11.03 : getstar now checks CERSTD, not CERROR 98 if (!gfits_scan (header, "CERSTD", "%lf", 1, &tmp)) tmp = 1.0; 97 99 image[0].cerror = tmp * 50.0; 98 100
Note:
See TracChangeset
for help on using the changeset viewer.
