healpix_geo.nested.RangeMOCIndex.intersection#

RangeMOCIndex.intersection(other)#

Compute the set intersection of two indexes

Parameters:

other (RangeMOCIndex) – The other index. May have a different depth, in which case the result will use the maximum depth between both indexes.

Returns:

result (RangeMOCIndex) – The intersection of the two indexes.