The command `REBIN/LONG` can be used to apply the row-by-row
dispersion solutions. To each row of the rebinned spectrum, this
command will apply the closest dispersion relation. If a one-dimensional
dispersion relation was estimated,*e.g.* by averaging the rows
of the arc spectrum before wavelength calibration, the command
`REBIN/LONG` will apply this unique dispersion relation
all over the spectrum.

Midas...> `REBIN/LONG in out`

rebins each row of the input frame **in** separately, using the
dispersion coefficients stored in table **COERBR**. The limits
and step in the wavelength space are estimated automatically by the
command `CALIBRATE/LONG` and can be checked with:

Midas...> `SHOW/LONG r`