casagui.data.casaimage
image utilities
Functions
|
Create a new image using |
|
Return the shape of an image. |
Package Contents
- casagui.data.casaimage.new(pattern, path, overwrite=False)
Create a new image using
patternas a pattern.patternsupplies the shape for the new image as well as the coordinate system for the new image.- Parameters:
path (str) – path to the image to be created
pattern (str) – path to the image on which the new image should be based
overwrite (bool) – overwrite any existing image, directory or file
- casagui.data.casaimage.shape(path)
Return the shape of an image.
- Parameters:
path (str) – path to the image
- Returns:
shape of image
- Return type:
list of int