utilities#

Module containing utility methods for manipulating images and grids

Functions

fast_griddata(points, values, xi)

A faster version of scipy.interpolate.griddata implemented using scipy.ndimage.map_coordinates.

list_of_points_from_grid(grid)

Flattens a grid into a list of points.

open_fits(file_name)

Returns the data from a fits file as a 2d numpy array

transform_image(image, pixel_scale[, angle, ...])

Rotates and shifts an image.

Classes

Grid(center, num_pix, scale)

Grid of points on the sky