The xarray API mostly builds on top of the numpy API (with some deviations, like convolve). However, it is sufficiently different that I think we need to keep both separate.
Thus:
import healpix_convolution as hc # numpy API
import healpix_convolution.xarray as xrhc # xarray API
another option would be
import healpix_convolution.numpy as hc # numpy API
import healpix_convolution.xarray as hc # xarray API
(though that would mean we'd have to decide which to make the top-level API)
The
xarray
API mostly builds on top of thenumpy
API (with some deviations, likeconvolve
). However, it is sufficiently different that I think we need to keep both separate.Thus:
another option would be
(though that would mean we'd have to decide which to make the top-level API)