astropy / imageutils

Image processing utilities for Astropy (No longer maintained)
https://imageutils.readthedocs.org/
9 stars 17 forks source link

Add helper function that makes an empty image #7

Open cdeil opened 10 years ago

cdeil commented 10 years ago

@keflavich I think it would be nice to have a utility function like make_empty_image to be able to make test images with a single line of code.

Do you agree? Any thoughts on the API (should cover most of our need to write unit tests)?

keflavich commented 10 years ago

image_utils.wcs_to_empty(shape, wcs=wcs) and image_utils.make_empty_image(shape, xcen, ycen, dx, dy, rot) ?