processing_components/image/operations.py
def reproject_image(im: Image, newwcs: WCS, shape=None) -> (Image, Image):
    """ Re-project an image to a new coordinate system
    
    Currently uses the reproject python package. This seems to have some features do be careful using this method.
    For timeslice imaging I had to use griddata.


    :param im: Image to be reprojected
    :param newwcs: New WCS
    :param shape:
    :return: Reprojected Image, Footprint Image
    """
    
    assert isinstance(im, Image), im
    rep, foot = reproject_interp((im.data, im.wcs), newwcs, shape, order='bicubic')
    return create_image_from_array(rep, newwcs, im.polarisation_frame), create_image_from_array(foot, newwcs,
                                                                                                im.polarisation_frame)
 Re-project an image to a new coordinate system
    
    Currently uses the reproject python package. This seems to have some features do be careful using this method.
    For timeslice imaging I had to use griddata.


    :param im: Image to be reprojected
    :param newwcs: New WCS
    :param shape:
    :return: Reprojected Image, Footprint Image
    
Re-project an image to a new coordinate system
Currently uses the reproject python package. This seems to have some features do be careful using this method.
For timeslice imaging I had to use griddata.
Re - project an image to a new coordinate system Currently uses the reproject python package . This seems to have some features do be careful using this method . For timeslice imaging I had to use griddata .
def reproject_image(im: Image, newwcs: WCS, shape=None) -> (Image, Image):
    assert isinstance(im, Image), im
    rep, foot = reproject_interp((im.data, im.wcs), newwcs, shape, order='bicubic')
    return create_image_from_array(rep, newwcs, im.polarisation_frame), create_image_from_array(foot, newwcs,
                                                                                                im.polarisation_frame)
def reproject_image ( im : Image , newwcs : WCS , shape = None ) -> ( Image , Image ) : assert isinstance ( im , Image ) , im rep , foot = reproject_interp ( ( im . data , im . wcs ) , newwcs , shape , order = 'bicubic' ) return create_image_from_array ( rep , newwcs , im . polarisation_frame ) , create_image_from_array ( foot , newwcs , im . polarisation_frame )
Re-project an image to a new coordinate system
Currently uses the reproject python package.
Re - project an image to a new coordinate system Currently uses the reproject python package .
""" Re-project an image to a new coordinate system
    
    Currently uses the reproject python package. This seems to have some features do be careful using this method.
    For timeslice imaging I had to use griddata.


    :param im: Image to be reprojected
    :param newwcs: New WCS
    :param shape:
    :return: Reprojected Image, Footprint Image
    """
Reprojected Image, Footprint Image
Reprojected Image Footprint Image
im
Image
Image to be reprojected
Image to be reprojected
newwcs
WCS
None
shape
None