Establish parameters to be used in ds9_profiles to extract a radial surface brightness profile. The paramaters are generally based on the ds9 regions marked by the user.
% profpars.sh --helpA primary role of thus routine is to set to the method (and usually the fixed value for) the backaground to be subtracted from each pixel during the run of profile_pnts.sh. Some basic facts about this:
The third argument to ds9_profiles (SKY_METHOD) can take one the 3 values:
SKY_METHOD Description
LOCAL_SKY The background determined in the mido.sh annlus for each region
is used.
bkg.fits The name of a FITS images which describes the global sky values
across the field of the input image.
FIXED_SKY The man sky computed from all box markers set in the image. If
no boxes were set then this take a null (unusable) value.
Note: In the case of a null value, the ds9_profiles code stops with an error. You
must suplly sky boxes when setting the ds9 regions if you wish to use the
FIXED_SKY option.