RBROAD N1 N2 N3 VSINI EPS METHOD -- Rotationally broadens spectra
Parameters:
N1 -- First spectrum to be broadened
N2 -- Last spectrum to be broadened
N3 -- First output spectrum
VSINI-- Vsini of rotational broadening in km/s
EPS -- Linear limb darkening coefficient.
METHOD- F = Fast crude method, which is only accurate if
the broadening covers many pixels, otherwise it
tends to underbroaden. Just computes profile
at each pixel.
S = Slow accurate method which requires convolving the
broadening with the interpolating function for which
a truncated SIN(X)/X type interpolation is used.
BE WARNED: this can be VERY VERY slow see next.
If the scale is uniform in velocity, then the routine need only
compute the blurring array once and the computation should not
be much affected by the METHOD used. Otherwise the blurring array
is recomputed for EVERY pixel assuming that the scale is locally
a velocity scale according to the disperion at the pixel of interest.
This is the reason for the large difference in speeds between the
two methods for non-uniform in velocity data. I recommend that for
resonable accuracy and speed you rebin to a uniform velocity scale
(vbin) with sinc function rebinning, and then use method S, otherwise
it can take a VERY long time.
You may notice variations in the time taken on the slow method
for different broadenings. This is a consequence of the convolution
of the rotational profile with the sinc interpolation function. For
certain ratios of V sin i/ pixel width the integration routine takes
longer than normal to converge.
Related commands: barb and smear
.
This command belongs to the classes: manipulation and binary .