|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox dcinvert.pro
dcinvert |
procedure dcinvert, dc |
Flip the data end-to-end in the supplied data container.
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.
This procedure can not be used on the global guide data containers because they are passed by value.
Parameters | |
dc |
The data container to be smoothed. The data values are modified by this procedure. |