- Timestamp:
- Jan 28, 2011, 3:13:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20101203/psLib/src/fits/psFitsScale.c
r30331 r30419 539 539 *bzero = options->bzero; 540 540 break; 541 case PS_FITS_SCALE_LOG_MANUAL: 542 *bscale = options->bscale; 543 *bzero = options->bzero; 544 *boffset = options->boffset; 545 break; 541 546 default: 542 547 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Unrecognised FITS scaling method: %x", … … 616 621 ps##INTYPE value; \ 617 622 if ((options->scaling == PS_FITS_SCALE_LOG_RANGE)|| \ 623 (options->scaling == PS_FITS_SCALE_LOG_MANUAL)|| \ 618 624 (options->scaling == PS_FITS_SCALE_LOG_STDEV_POSITIVE)|| \ 619 625 (options->scaling == PS_FITS_SCALE_LOG_STDEV_NEGATIVE)|| \ … … 756 762 if (strcasecmp(string, "STDEV_BOTH") == 0) return PS_FITS_SCALE_STDEV_BOTH; 757 763 if (strcasecmp(string, "LOG_RANGE") == 0) return PS_FITS_SCALE_LOG_RANGE; 764 if (strcasecmp(string, "LOG_MANUAL") == 0) return PS_FITS_SCALE_LOG_MANUAL; 758 765 if (strcasecmp(string, "LOG_STDEV_POSITIVE") == 0) return PS_FITS_SCALE_LOG_STDEV_POSITIVE; 759 766 if (strcasecmp(string, "LOG_STDEV_NEGATIVE") == 0) return PS_FITS_SCALE_LOG_STDEV_NEGATIVE;
Note:
See TracChangeset
for help on using the changeset viewer.
