Changeset 41875 for branches/eam_branches/ipp-dev-20210817
- Timestamp:
- Nov 3, 2021, 11:49:37 AM (5 years ago)
- Location:
- branches/eam_branches/ipp-dev-20210817/Ohana/src/getstar/src
- Files:
-
- 3 edited
-
ConfigInit_overlaps.c (modified) (1 diff)
-
MatchImages.c (modified) (1 diff)
-
ReadImageHeader.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-dev-20210817/Ohana/src/getstar/src/ConfigInit_overlaps.c
r41488 r41875 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 -
branches/eam_branches/ipp-dev-20210817/Ohana/src/getstar/src/MatchImages.c
r41488 r41875 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 } -
branches/eam_branches/ipp-dev-20210817/Ohana/src/getstar/src/ReadImageHeader.c
r41488 r41875 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.
