countChannels: Count Number of Active Channels

View source: R/countChannels.R

countChannelsR 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


PamBinaries documentation built on Feb. 16, 2023, 7:38 p.m.