TBIN N1 N2 N3 NT1 NT2 METHOD [FRAC] -- Rebins to wavelength scale of template spectra. Spectra will be rebinned onto the wavelength scale of another set of spectra or a single spectrum. Parameters: N1 -- Slot number of first spectrum to rebin N2 -- Slot number of last spectrum to rebin N3 -- Slot in which to start results NT1 -- First and last template spectra. Same to NT2 -- get just one. METHOD - Interpolation method. Choices: L(inear), Q(uadratic), S(inc) Quadratic rebinning is recommended for most purposes. Linear rebinning is only in case speed is of the essence. Both linear and quadratic rebinning cause significant smoothing of the data (especially linear). In an effort to reduce this rebinning using a (Sin X)/X = "Sinc" has been implemented. This is much slower, but may be necessary if you are interested in measuring broadening at a level near your spectral resolution for example. The sinc function is tapered by a window function to reduce overshoot in frequency space. If you do use sinc rebinning, it would be well to get rid of cosmic rays and other bad pixels first since their effects can spread. A check is made to see if the rebinning requested is really just a shift in which case a fast version of sinc interpolation is used. FRAC -- (Not prompted for) Minimum fraction of output pixel covered by input pixel for it to be masked.Related commands: vbin , wbin
This command belongs to the class: manipulation