MCPcopy Index your code
hub / github.com/google/earthengine-api / bitCount

Method bitCount

python/ee/ee_array.py:181–190  ·  view source on GitHub ↗

Calculates the number of one-bits. Uses a 64-bit two's complement binary representation of the input. Returns: An ee.Array.

(self)

Source from the content-addressed store, hash-verified

179 return apifunction.ApiFunction.call_(self.name() + '.atan2', self, right)
180
181 def bitCount(self) -> Array:
182 """Calculates the number of one-bits.
183
184 Uses a 64-bit two's complement binary representation of the input.
185
186 Returns:
187 An ee.Array.
188 """
189
190 return apifunction.ApiFunction.call_(self.name() + '.bitCount', self)
191
192 @staticmethod
193 # pylint: disable-next=redefined-builtin

Callers

nothing calls this directly

Calls 2

nameMethod · 0.95
call_Method · 0.80

Tested by

no test coverage detected