healpix_geo.nested.RangeMOCIndex.symmetric_difference#
- RangeMOCIndex.symmetric_difference(other)#
Compute the symmetric set difference of two indexes
The symmetric set difference contains all elements that are in self or other but not both:
\[A \Delta B = (A - B) \cup (B - A)\]- Parameters:
other (
RangeMOCIndex) – The index to subtract. May have a different depth, in which case the result will use the maximum depth between both indexes.- Returns:
result (
RangeMOCIndex) – The symmetric set difference of the two indexes.