Changeset 34966
- Timestamp:
- Jan 18, 2013, 10:08:52 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
ippconfig/gpc1/psastro.config (modified) (4 diffs)
-
ippconfig/recipes/psastro.config (modified) (1 diff)
-
psastro/src/psastroLoadRefstars.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippconfig/gpc1/psastro.config
r34957 r34966 382 382 PSASTRO.USE.MODEL BOOL FALSE 383 383 PSASTRO.MOSAIC.MODE BOOL FALSE 384 DVO.GETSTAR.FIXED.ZEROPT F32 25.0 384 385 385 386 PSASTRO.CATDIR STR PS1.REF.20120524 … … 400 401 PSASTRO.USE.MODEL BOOL FALSE 401 402 PSASTRO.MOSAIC.MODE BOOL FALSE 403 DVO.GETSTAR.FIXED.ZEROPT F32 25.0 402 404 403 405 PSASTRO.CATDIR STR PS1.REF.20120524 … … 425 427 PSASTRO.USE.MODEL BOOL FALSE 426 428 PSASTRO.MOSAIC.MODE BOOL FALSE 429 DVO.GETSTAR.FIXED.ZEROPT F32 25.0 427 430 428 431 PSASTRO.CATDIR STR PS1.REF.20120524 … … 449 452 PSASTRO.USE.MODEL BOOL FALSE 450 453 PSASTRO.MOSAIC.MODE BOOL FALSE 454 DVO.GETSTAR.FIXED.ZEROPT F32 25.0 451 455 452 456 PSASTRO.CATDIR STR PS1.REF.20120524 -
trunk/ippconfig/recipes/psastro.config
r34957 r34966 190 190 DVO.GETSTAR.MIN.MAG.INST F32 -15.0 191 191 192 # if non-zero use as the zero point for computing magnitude limits for getstar 193 # by default use the ZEROPT in the PHOTCODE.DATA 194 DVO.GETSTAR.FIXED.ZEROPT F32 0.0 195 192 196 ZERO.POINT.BY.EXPOSURE BOOL TRUE 193 197 ZERO.POINT.USE.MEAN BOOL TRUE -
trunk/psastro/src/psastroLoadRefstars.c
r33643 r34966 363 363 if (!status) ESCAPE ("missing DVO.GETSTAR.MIN.MAG.INST"); 364 364 365 // if non zero override the zero point for the photcode (for stacks) 366 float fixedzeropt = psMetadataLookupF32(&status, recipe, "DVO.GETSTAR.FIXED.ZEROPT"); 367 365 368 // PHOTCODE.DATA is a multi of metadata items 366 369 psListIterator *iter = psListIteratorAlloc(item->data.list, PS_LIST_HEAD, false); … … 391 394 continue; 392 395 } 396 if (fixedzeropt != 0.0) { 397 // override the recipe's zero point with the fixed value (for stacks) 398 zeropt = fixedzeropt; 399 } 393 400 394 401 // convert the minInst to a calibrated minimum magnitude
Note:
See TracChangeset
for help on using the changeset viewer.
