|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox get_chans.pro
get_chans |
Return a vector of channel numbers appropriate for the given data container. If nregion is not set or is 0, all channels are returned. If nregion is set and is not zero then regions must be provided. Ignores any regions or parts of region that extend beyond the end of the data container.
; equivalent to dindgen(n_elements(*dc.data_ptr)) c = get_chans(dc) ; get the chans corresponding to recently set global regions c = get_chans(dc, !g.nregions, !g.regions)