image_tools package

Submodules

image_tools.deconv module

image_tools.deconv Module

Trivial clean implementation

Functions

clean(s, g[, niter, gain, threshold]) A trivial 1D implementation of the CLEAN algorithm

image_tools.downsample module

image_tools.downsample Module

Functions

downsample(myarr, factor[, estimator]) Downsample a 2D array by averaging over factor pixels in each axis.
downsample_1d(myarr, factor[, estimator]) Downsample a 1D array by averaging over factor pixels.
downsample_axis(myarr, factor, axis[, ...]) Downsample an ND array by averaging over factor pixels along an axis.
downsample_cube(myarr, factor[, ignoredim]) Downsample a 3D array by averaging over factor pixels on the last two axes.
mean(*args, **kwds) nanmean is deprecated!

image_tools.drizzle module

image_tools.drizzle Module

Functions

drizzle(tstomap, ts, mapshape[, weights, ...]) Drizzle a timestream onto a map.
masktozero(arr) Convert all NANs or masked elements of an array to zero, and return a numpy array (NOT a masked array).

image_tools.pyhcongrid module

image_tools.pyhcongrid Module

Functions

hcongrid(image, header1, header2, **kwargs) This now exists in FITS_tools:

image_tools.radialprofile module

image_tools.radialprofile Module

Functions

azimuthalAverage(image[, center, stddev, ...]) Calculate the azimuthally averaged radial profile.
azimuthalAverageBins(image, azbins[, ...]) Compute the azimuthal average over a limited range of angles
radialAverage(image[, center, stddev, ...]) Calculate the radially averaged azimuthal profile.
radialAverageBins(image, radbins[, corners, ...]) Compute the radial average over a limited range of radii

Module contents

image_tools Package

This is an Astropy affiliated package.

Functions

azimuthalAverage(image[, center, stddev, ...]) Calculate the azimuthally averaged radial profile.
azimuthalAverageBins(image, azbins[, ...]) Compute the azimuthal average over a limited range of angles
downsample(myarr, factor[, estimator]) Downsample a 2D array by averaging over factor pixels in each axis.
downsample_1d(myarr, factor[, estimator]) Downsample a 1D array by averaging over factor pixels.
downsample_axis(myarr, factor, axis[, ...]) Downsample an ND array by averaging over factor pixels along an axis.
downsample_cube(myarr, factor[, ignoredim]) Downsample a 3D array by averaging over factor pixels on the last two axes.
drizzle(tstomap, ts, mapshape[, weights, ...]) Drizzle a timestream onto a map.
radialAverage(image[, center, stddev, ...]) Calculate the radially averaged azimuthal profile.
radialAverageBins(image, radbins[, corners, ...]) Compute the radial average over a limited range of radii
test([package, test_path, args, plugins, ...]) Run the tests using py.test.