Changeset 15376
- Timestamp:
- Oct 25, 2007, 10:34:12 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
-
dbconfig/diff.md (modified) (2 diffs)
-
dbconfig/stack.md (modified) (2 diffs)
-
dbconfig/warp.md (modified) (2 diffs)
-
ippScripts/scripts/diff_skycell.pl (modified) (1 diff)
-
ippScripts/scripts/stack_skycell.pl (modified) (1 diff)
-
ippScripts/scripts/warp_skycell.pl (modified) (1 diff)
-
ippTools/src/difftool.c (modified) (3 diffs)
-
ippTools/src/difftoolConfig.c (modified) (1 diff)
-
ippTools/src/stacktool.c (modified) (2 diffs)
-
ippTools/src/stacktoolConfig.c (modified) (1 diff)
-
ippTools/src/warptool.c (modified) (2 diffs)
-
ippTools/src/warptoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dbconfig/diff.md
r14251 r15376 1 # $Id: diff.md,v 1. 5 2007-07-17 03:10:08 jhoblittExp $1 # $Id: diff.md,v 1.6 2007-10-25 20:33:44 price Exp $ 2 2 3 3 diffRun METADATA … … 32 32 path_base STR 255 33 33 bg F64 0.0 34 bg_stdev F64 0.0 34 bg_stdev F64 0.0 35 good_frac F64 0.0 # Key 35 36 fault S16 0 # Key 36 37 END -
trunk/dbconfig/stack.md
r14110 r15376 1 # $Id: stack.md,v 1. 4 2007-07-11 00:24:29 jhoblittExp $1 # $Id: stack.md,v 1.5 2007-10-25 20:33:45 price Exp $ 2 2 3 3 stackRun METADATA … … 22 22 bg F64 0.0 23 23 bg_stdev F64 0.0 24 good_frac F64 0.0 # Key 24 25 fault S16 0 # Key 25 26 END -
trunk/dbconfig/warp.md
r14479 r15376 1 # $Id: warp.md,v 1. 6 2007-08-14 02:13:56 jhoblittExp $1 # $Id: warp.md,v 1.7 2007-10-25 20:33:45 price Exp $ 2 2 3 3 # … … 50 50 bg F64 0.0 51 51 bg_stdev F64 0.0 52 pixel_fillF64 0.0 # Key52 good_frac F64 0.0 # Key 53 53 fault S16 0 # Key 54 54 END -
trunk/ippScripts/scripts/diff_skycell.pl
r15369 r15376 51 51 [ 52 52 # PPSTATS KEYWORD STATISTIC DIFFTOOL FLAG 53 { name => "ROBUST_MEDIAN", type => "mean", flag => "-bg", dtype => "float" }, 54 { name => "ROBUST_STDEV", type => "rms", flag => "-bg_stdev", dtype => "float" }, 53 { name => "ROBUST_MEDIAN", type => "mean", flag => "-bg", dtype => "float" }, 54 { name => "ROBUST_STDEV", type => "rms", flag => "-bg_stdev", dtype => "float" }, 55 { name => "GOOD_PIXEL_FRAC", type => "mean", flag => "-good_frac", dtype => "float" }, 55 56 ]; 56 57 my $stats = PS::IPP::Metadata::Stats->new($STATS); # Stats parser -
trunk/ippScripts/scripts/stack_skycell.pl
r15302 r15376 53 53 [ 54 54 # PPSTATS KEYWORD STATISTIC STACKTOOL FLAG 55 { name => "ROBUST_MEDIAN", type => "mean", flag => "-bg", dtype => "float" }, 56 { name => "ROBUST_STDEV", type => "rms", flag => "-bg_stdev", dtype => "float" }, 55 { name => "ROBUST_MEDIAN", type => "mean", flag => "-bg", dtype => "float" }, 56 { name => "ROBUST_STDEV", type => "rms", flag => "-bg_stdev", dtype => "float" }, 57 { name => "GOOD_PIXEL_FRAC", type => "mean", flag => "-good_frac", dtype => "float" }, 57 58 ]; 58 59 my $stats = PS::IPP::Metadata::Stats->new($STATS); # Stats parser -
trunk/ippScripts/scripts/warp_skycell.pl
r14897 r15376 62 62 [ 63 63 # PPSTATS KEYWORD STATISTIC WARPTOOL FLAG 64 { name => "ROBUST_MEDIAN", type => "mean", flag => "-bg", dtype => "float" }, 65 { name => "ROBUST_STDEV", type => "rms", flag => "-bg_stdev", dtype => "float" }, 64 { name => "ROBUST_MEDIAN", type => "mean", flag => "-bg", dtype => "float" }, 65 { name => "ROBUST_STDEV", type => "rms", flag => "-bg_stdev", dtype => "float" }, 66 { name => "GOOD_PIXEL_FRAC", type => "mean", flag => "-good_frac", dtype => "float" }, 66 67 ]; 67 68 my $stats = PS::IPP::Metadata::Stats->new($STATS); # Stats parser -
trunk/ippTools/src/difftool.c
r14357 r15376 267 267 } 268 268 if (stack_id && warp_id) { 269 psError(PS_ERR_UNKNOWN, true, "either -stack_id or -warp_id must be specified"); 269 psError(PS_ERR_UNKNOWN, true, "either -stack_id or -warp_id must be specified"); 270 270 return false; 271 271 } … … 596 596 } 597 597 598 psF64 good_frac = psMetadataLookupF64(&status, config->args, "-good_frac"); 599 if (!status) { 600 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -good_frac"); 601 return false; 602 } 603 598 604 if (!psDBTransaction(config->dbh)) { 599 605 psError(PS_ERR_UNKNOWN, false, "database error"); … … 607 613 bg, 608 614 bg_stdev, 615 good_frac, 609 616 code 610 617 )) { -
trunk/ippTools/src/difftoolConfig.c
r14358 r15376 126 126 psMetadataAddF64(adddiffskyfileArgs, PS_LIST_TAIL, "-bg_stdev", 0, 127 127 "define exposure background mean stdev", NAN); 128 psMetadataAddF64(adddiffskyfileArgs, PS_LIST_TAIL, "-good_frac", 0, 129 "define %% of good pixels", NAN); 128 130 psMetadataAddS16(adddiffskyfileArgs, PS_LIST_TAIL, "-code", 0, 129 131 "set fault code", 0); -
trunk/ippTools/src/stacktool.c
r15301 r15376 526 526 } 527 527 528 psF64 good_frac = psMetadataLookupF64(&status, config->args, "-good_frac"); 529 if (!status) { 530 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -good_frac"); 531 return false; 532 } 533 528 534 // default values 529 535 psS16 code = psMetadataLookupS16(&status, config->args, "-code"); … … 547 553 bg, 548 554 bg_stdev, 555 good_frac, 549 556 code 550 557 )) { -
trunk/ippTools/src/stacktoolConfig.c
r15301 r15376 118 118 psMetadataAddF64(addsumskyfileArgs, PS_LIST_TAIL, "-bg_stdev", 0, 119 119 "define exposue background mean stdev", NAN); 120 psMetadataAddF64(addsumskyfileArgs, PS_LIST_TAIL, "-good_frac", 0, 121 "define %% of good pixels", NAN); 120 122 psMetadataAddS16(addsumskyfileArgs, PS_LIST_TAIL, "-code", 0, 121 123 "set fault code", 0); -
trunk/ippTools/src/warptool.c
r14900 r15376 937 937 } 938 938 939 psF64 pixel_fill = psMetadataLookupF64(&status, config->args, "-pixel_fill");940 if (!status) { 941 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for - pixel_fill");939 psF64 good_frac = psMetadataLookupF64(&status, config->args, "-good_frac"); 940 if (!status) { 941 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -good_frac"); 942 942 return false; 943 943 } … … 966 966 bg, 967 967 bg_stdev, 968 pixel_fill,968 good_frac, 969 969 code 970 970 )) { -
trunk/ippTools/src/warptoolConfig.c
r14900 r15376 171 171 psMetadataAddF64(addwarpedArgs, PS_LIST_TAIL, "-bg_stdev", 0, 172 172 "define exposure background stdev", NAN); 173 psMetadataAddF64(addwarpedArgs, PS_LIST_TAIL, "- pixel_fill", 0,174 "define %% of livepixels", NAN);173 psMetadataAddF64(addwarpedArgs, PS_LIST_TAIL, "-good_frac", 0, 174 "define %% of good pixels", NAN); 175 175 psMetadataAddS16(addwarpedArgs, PS_LIST_TAIL, "-code", 0, 176 176 "set fault code", 0);
Note:
See TracChangeset
for help on using the changeset viewer.
