It is the desire of the SXT team to have the routine SXT_PREP used for most of the preparation of the SXT data. The SXT_PREP routine performs a variety of tasks, some of which are described in the following list.
Some important elements of SXT_PREP are:
The steps to using SXT_PREP can be somewhat involved. The basic steps are described below, but the routine XSXT_PREP is an easy way for a user to specify what processing should be performed, and XSXT_PREP is described at the end of this section.
If you only selected PFI images, and the PFI images you selected are all for the same active region, then you do not need to specify the coordinates of an aligned image (it will automatically derive the optimal coordinates by averaging all PFI center locations). If they are not for the same region, then you should either modify your selection so that it only includes one location on the sun, or select a image which all of the data should be aligned to and use the ref_image=index(ialign) option, or you can specify the absolute coordinates (the procedure for establishing those coordinates is described below).
If you have mixed PFI and FFI images, then you can specify one of the partial frame images, and then all images will be registered to that image, and the appropriate portion of the FFI image will be extracted and aligned.
If you selected only FFI images, but you want to extract a portion to
make a registered movie, then you will need to determine the coordinates
for the registered image. A simple method to do this is to use
SXT_GRID. If you want to simply remove the S/C jitter and the SXT
pointing changes (register relative to sun center), then display a full
frame image and call SXT_GRID. An example is:
IDL> tvscl, data(*,*,5)
IDL> sxt_grid, index(5), /read_out, last=loc, /angle
As you move the cursor around, you will see that the values in the small
window are changing. When the cursor is located at the location where
you want the center of your image, press the right button. If you want
to register images and track on a heliocentric coordinate, then you can
use SXT_GRID again to get those coordinates. An example is:
IDL> tvscl, data(*,*,5)
IDL> sxt_grid, index(5), /read_out, last=loc
It is necessary to specify the size of the output image when extracting
a partial frame out of a full frame.
It is possible to pass index and data into SXT_PREP, or to pass the file name array (infil) and the data sets to extract (ss). The results can be returned in the third and fourth parameters (index2 and data2) or they can be written directly to an output file (outfil=outfil).
Below are some examples of how to call SXT_PREP.
XSXT_PREP provides a graphical user interface to SXT_PREP. The XSXT_PREP routine simplifies the access to the many SXT_PREP options and varied calling sequences. In addition, XSXT_PREP provides a front end to some additional data selection and filtering tools which may be used to fine tune the data set and allows graphical definition of all SXT_PREP input parameters. The following graphical tools are provided:
The combination of graphical interface and online help make this a good
routine to learn through use. It is a main
level routine. For starters, try the following calling sequence:
IDL> .run yodat ; select SXT data cube to process
IDL> .run xsxt_prep ; play around