Changeset 33532
- Timestamp:
- Mar 15, 2012, 12:46:41 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20111122/Ohana/src/relastro
- Files:
-
- 3 edited
-
include/relastro.h (modified) (1 diff)
-
src/UpdateObjectOffsets.c (modified) (1 diff)
-
src/initialize.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/relastro/include/relastro.h
r33515 r33532 423 423 int BrightCatalogSplitFree (CatalogSplitter *catalogs); 424 424 425 PhotCode **ParsePhotcodeList (char *rawlist, int *nphotcodes );425 PhotCode **ParsePhotcodeList (char *rawlist, int *nphotcodes, int needAve); -
branches/eam_branches/ipp-20111122/Ohana/src/relastro/src/UpdateObjectOffsets.c
r33520 r33532 114 114 if (MaxDensityUse) { snprintf (tmpline, 1024, "%s -max-density %f", command, MaxDensityValue); strcpy (command, tmpline); } 115 115 116 if (USE_BASIC_CHECK) { snprintf (tmpline, 1024, "%s -basic-image-search", command); strcpy (command, tmpline); } 116 117 if (FlagOutlier) { snprintf (tmpline, 1024, "%s -clip %d", command, CLIP_THRESH); strcpy (command, tmpline); } 117 118 -
branches/eam_branches/ipp-20111122/Ohana/src/relastro/src/initialize.c
r33475 r33532 13 13 fprintf (stderr, "PHOTCODE_B_LIST: %s\n", PHOTCODE_B_LIST); 14 14 15 photcodesKeep = ParsePhotcodeList (PHOTCODE_KEEP_LIST, &NphotcodesKeep );16 photcodesSkip = ParsePhotcodeList (PHOTCODE_SKIP_LIST, &NphotcodesSkip );17 photcodesGroupA = ParsePhotcodeList (PHOTCODE_A_LIST, &NphotcodesGroupA );18 photcodesGroupB = ParsePhotcodeList (PHOTCODE_B_LIST, &NphotcodesGroupB );15 photcodesKeep = ParsePhotcodeList (PHOTCODE_KEEP_LIST, &NphotcodesKeep, FALSE); 16 photcodesSkip = ParsePhotcodeList (PHOTCODE_SKIP_LIST, &NphotcodesSkip, FALSE); 17 photcodesGroupA = ParsePhotcodeList (PHOTCODE_A_LIST, &NphotcodesGroupA, TRUE); 18 photcodesGroupB = ParsePhotcodeList (PHOTCODE_B_LIST, &NphotcodesGroupB, TRUE); 19 19 20 20 initstats (STATMODE); … … 51 51 fprintf (stderr, "PHOTCODE_B_LIST: %s\n", PHOTCODE_B_LIST); 52 52 53 photcodesKeep = ParsePhotcodeList (PHOTCODE_KEEP_LIST, &NphotcodesKeep );54 photcodesSkip = ParsePhotcodeList (PHOTCODE_SKIP_LIST, &NphotcodesSkip );55 photcodesGroupA = ParsePhotcodeList (PHOTCODE_A_LIST, &NphotcodesGroupA );56 photcodesGroupB = ParsePhotcodeList (PHOTCODE_B_LIST, &NphotcodesGroupB );53 photcodesKeep = ParsePhotcodeList (PHOTCODE_KEEP_LIST, &NphotcodesKeep, FALSE); 54 photcodesSkip = ParsePhotcodeList (PHOTCODE_SKIP_LIST, &NphotcodesSkip, FALSE); 55 photcodesGroupA = ParsePhotcodeList (PHOTCODE_A_LIST, &NphotcodesGroupA, TRUE); 56 photcodesGroupB = ParsePhotcodeList (PHOTCODE_B_LIST, &NphotcodesGroupB, TRUE); 57 57 58 58 initstats (STATMODE); … … 63 63 } 64 64 65 PhotCode **ParsePhotcodeList (char *rawlist, int *nphotcodes ) {65 PhotCode **ParsePhotcodeList (char *rawlist, int *nphotcodes, int needAve) { 66 66 67 67 *nphotcodes = 0; … … 84 84 exit (1); 85 85 } 86 if ( photcodes[Nphotcodes][0].type != PHOT_SEC) {86 if (needAve && (photcodes[Nphotcodes][0].type != PHOT_SEC)) { 87 87 fprintf (stderr, "photcode %s is not an filter type (SEC)\n", codename); 88 88 exit (1);
Note:
See TracChangeset
for help on using the changeset viewer.
