MCPcopy
hub / github.com/google/earthengine-api / add

Method add

python/ee/image.py:701–718  ·  view source on GitHub ↗

Adds the first value to the second for each matched pair of bands. If either image1 or image2 has only 1 band, then it is used against all the bands in the other image. If the images have the same number of bands, but not the same names, they're used pairwise in the natural order. The o

(self, image2: _arg_types.Image)

Source from the content-addressed store, hash-verified

699 return apifunction.ApiFunction.call_(self.name() + '.acos', self)
700
701 def add(self, image2: _arg_types.Image) -> Image:
702 """Adds the first value to the second for each matched pair of bands.
703
704 If either image1 or image2 has only 1 band, then it is used against all the
705 bands in the other image. If the images have the same number of bands, but
706 not the same names, they're used pairwise in the natural order. The output
707 bands are named for the longer of the two inputs, or if they're equal in
708 length, in image1's order. The type of the output pixels is the union of the
709 input types.
710
711 Args:
712 image2: The image from which the right operand bands are taken.
713
714 Returns:
715 An ee.Image.
716 """
717
718 return apifunction.ApiFunction.call_(self.name() + '.add', self, image2)
719
720 def addBands(
721 self,

Callers 15

HillshadeFunction · 0.45
_visit_all_valuesMethod · 0.45
promoteArgsMethod · 0.45
importApiMethod · 0.45
f4Method · 0.45
test_addMethod · 0.45
test_iterateMethod · 0.45
test_numberMethod · 0.45
test_addMethod · 0.45

Calls 2

nameMethod · 0.95
call_Method · 0.80

Tested by 11

f4Method · 0.36
test_addMethod · 0.36
test_iterateMethod · 0.36
test_numberMethod · 0.36
test_addMethod · 0.36
test_stringMethod · 0.36
test_addMethod · 0.36
test_addMethod · 0.36
test_addMethod · 0.36