Produced by IDL 7.1.1
User Documentation

./guide
invert.pro

Last modification date:
Wed Sep 28 13:27:09 2016

invert

procedure invert, [buffer=integer]

Flip the data end-to-end in the indicated buffer in the global data containers.

For line data the value of frequency_increment and reference_channel are also changed appropriately so that, as displayed, there will be no change in appearance. This is useful if you need to combine (e.g. average) two data containers where the frequency increments have opposite signs.

For continuum data (where the need to invert is less obvious), all of the time-dependent arrays are also flipped (utc, mjd, etc).

The invert is done in place. Use dcinvert to flip a data container that is not one of the global data containers.

Note that when displayed, this will only be noticable when the x-axis is channels. The velocity and frequency axes always increases from left to right, independent of the actual channel increment from low channel number to high channel number.

Examples
   invert             ; invert buffer 0
   invert, buffer=10  ; invert buffer 10
 
Uses
dcinvert
Version
$Id$

Keywords
buffer
in, optional
integer (def. 0)
guide data container to use. Defaults to buffer 0.


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:35 2016