reproject_to_healpix¶
-
reproject.
reproject_to_healpix
(input_data, coord_system_out, hdu_in=0, order='bilinear', nested=False, nside=128)[source]¶ Reproject data from a standard projection to a HEALPIX projection.
Parameters: - input_data : str or
HDUList
orPrimaryHDU
orImageHDU
or tuple The input data to reproject. This can be:
- coord_system_out :
BaseCoordinateFrame
or str The output coordinate system for the HEALPIX projection
- hdu_in : int or str, optional
If
input_data
is a FITS file or anHDUList
instance, specifies the HDU to use.- order : int or str, optional
The order of the interpolation (if
mode
is set to'interpolation'
). This can be either one of the following strings:- ‘nearest-neighbor’
- ‘bilinear’
- ‘biquadratic’
- ‘bicubic’
or an integer. A value of
0
indicates nearest neighbor interpolation.- nested : bool
The order of the healpix_data, either nested (True) or ring (False)
- nside : int, optional
The resolution of the HEALPIX projection.
Returns: - input_data : str or