|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide invert.pro
invert |
procedure invert, index=integer |
Flip the data end-to-end in the indicated index 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.
Keywords | |
index |
guide data container to use. |