countChannels {PamBinaries} | R Documentation |
Count Number of Active Channels
Description
Counts the number of active channels given a channel mapping
Usage
countChannels(channelMap)
Arguments
channelMap |
Mapping of channels as a binary number |
Value
The number of active channels (number of ones)
Note
Altered from original script to loop through 30 instead 32 because R stores only 32 bit integers. Should not ever have enough channels for this to matter.
Author(s)
Taiki Sakai taiki.sakai@noaa.gov
[Package PamBinaries version 1.9.0 Index]