spatial_clear_to_resolution#
- spatial_clear_to_resolution(sids)#
Clears the SID location bits up to the encoded spatial resolution Clears the SID location bits up to the encoded spatial resolution
- Parameters:
- sid: int
the spatial ID to be cleared
Examples
>>> sid = 2299437706637111721 >>> spatial_clear_to_resolution(sid) 2299437254470270985
>>> sids = pystare.hex2int(['0x097cf40fd3132507', '0x097cf40fd3132505']) >>> pystare.int2hex(spatial_clear_to_resolution(sids)) ['0x097ce00000000007', '0x097c000000000005']