SECCHI_PREP Users Guide |
Using SECCHI_PREP with COR1 and COR2 data $Id: cor_prep.html,v 1.11 2010/01/26 22:53:37 nathan Exp $ |
Default Procedures Calibration By default, SECCHI_PREP applies the following calibration to COR images:
The calibration values may change during the mission. Any of these operations can turned off using the keywords in COR_CALIBRATE: IDL> result = COR_CALIBRATE(image, hdr [,/CALFAC_OFF,/BIAS_OFF,/EXPTIME_OFF,/VIGNET_OFF,/SEBIP_OFF, /WARP_OFF])
Optional
Procedures
Polarization The polarization function is part of SECCHI_PREP but can be used alone on calibrated polarized images from SECCHI_PREP. The COR_POLARIZ returns the total brightness images calculated from three polarized images taken in a sequence. The input is a cube of three calibrated images and an array of there headers (from SCCREADFITS). The keywords allow the user to return the polarized brightness (pB) or the polarization angle (mu). IDL> result = COR_POLARIZ(images, hdrs [,/pB] [,/MU] [,/percent]) Smooth Mask : Occulter and Edge A smooth mask can be applied to the image with the keyword /SMASK_ON . The smooth mask works for all compression schemes. However, the mask will eliminate some of the data on the edge of the image and around the occulter. Rotate Solar North Up The level 0.5 images are aligned to ecliptic north. If the keyword /ROTATE_ON is set, then the images are rotated to solar north. The difference between solar north and ecliptic north changes though out the year. The header keyword CROTA is the rotation angle of the image about the axis perpendicular to the plane of the image. The image pixel values are interpolated when the image is rotated. Color: Loads IDL color table for each the instrument from the $SSW/stereo/secchi/data/color directory. The color files are IDL save files that load the variables r, g, b. Stamp : Date and Logo To add the date and time of the image in the bottom left corner of the image set the keyword /DATE_ON. The font size of the date and time will scaled to match the size of the image. To add the SECCHI logo to the bottom right corner of the image set the keyword to /LOGO_ON. These keywords should be used when creating images for display. |
Overview SECCHI_PREP, filenames, headers, images [,SAVEPATH=path] [,OUTSIZE=value] [,/WRITE_FTS] [,/WRITE_PNG] [,/WRITE_JPG] [,/TRIM_OFF] [,/ROTATE_ON] [,/ROTINTERP_ON] [,/ROTCUBIC_ON] [,/CALIBRATE_OFF] [,/CALFAC_OFF] [,/BIAS_OFF] [,/EXPTIME_OFF] [,/CALIMG_OFF] [,/SEBIP_OFF] [,/NEW_CALIMG] [,CALIMG_FILENAME=filename] [/SMASK_ON] [,/FILL_MEAN] [,/FILL_VALUE=value] [/POLARIZ_ON] [,/pB] [,/PERCENT] [,/MU] [,/COLOR_ON] [,/DATE_ON] [/LOGO_ON] [/UPDATE_HDR_OFF] [,/SILENT] [,/NOCALFAC_BUTCORRFORIPSUM] image = SCC_IMG_TRIM(image, hdr) Any keywords for sub-procedures may be passed via SECCHI_PREP: COR_PREP, header, image [,/FILL_MEAN] [,/FILL_VALUE=value] [,/SMASK_ON] [,/ROTATE_ON] [,/ROTINTERP_ON] [,/ROTCUBIC_ON] [,/CALIBRATE_OFF] [,/CALIBRATE_OFF][,/CALFAC_OFF] [,/BIAS_OFF] [,/EXPTIME_OFF] [,/CALIMG_OFF] [,/SEBIP_OFF] [,/NEW_CALIMG] [,CALIMG_FILENAME=filename] [,/COLOR_ON] [,/DATE_ON] [/LOGO_ON] [/UPDATE_HDR_OFF] [,/SILENT] result = SCC_GET_MISSING(hdr) result = COR_CALIBRATE(image, hdr [,/CALFAC_OFF] [,/BIAS_OFF] [,/EXPTIME_OFF] [,/CALIMG_OFF] [,/SEBIP_OFF] [,/NEW_CALIMG] [,CALIMG_FILENAME=filename] image
= SEB_IP(image,hdr, ip_flag) result = GET_BIASMEAN(hdr) result = GET_EXPTIME(hdr) result = GET_CALFAC(hdr) result = GET_CALIMG(hdr [,CALIMG_FILENAME=filename][,/NEW_CALIMG] hdr = SCC_UPDATE_HDR(im, hdr,[,FILENAME=newfileaname] [/UPDATE_HDR_OFF] [,MISSING =value]) SCC_IMG_STATS image, mn, mx, zeros, nsat, mxval, mnval, nsatmin, men, sig, percentile, medyen, bscale im = SCC_ADD_DATETIME(im,hdr) result = COR_POLARIZ(images, hdrs [,/pB] [,/MU][,/PERCENT]) result = COR_MULLER(hdr) image = SCC_PUTIN_ARRAY(image, hdr, outsize) |
Examples To create TOTAL BRIGHTNESS images of multiple files : IDL>
SECCHI_PREP,
filenames, headers,images, /polariz_on
note: filenames should be a
multiple of three and be in chronological order
To create POLARIZED BRIGHTNESS images of multiple files : IDL>
SECCHI_PREP,
filenames, headers, images, /polariz_on, /pB
To create POLARIZATION ANGLE images of multiple files : IDL>
SECCHI_PREP,
filenames, headers, images, /polariz_on, /mu
To create PERCENT POLARIZED images of multiple files :IDL>
SECCHI_PREP,
filenames, headers, images, /polariz_on, /percent
|