Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: imageprofilefitter.type - Function Up: imageprofilefitter - Tool Previous: imageprofilefitter.gui - Function


imageprofilefitter.setimage - Function



Package general
Module images
Tool imageprofilefitter


Set a new image


Synopsis
setimage(infile, infile2, sigma)


Arguments

infile in The primary image file name or image tool
    Allowed: String or Image tool
infile2 in The secondary image file name or image tool
    Allowed: String or Image tool
    Default: Auto generate
sigma in Weights image
    Allowed: String
    Default: None



Returns
Bool or fail



Description
You can set a new image (primary and secondary) with this function. Doing so will cause the displays to be updated.

You may specify a fitting weights image via argument sigma. It must have the same shape as the primary image. If you don't give it, all pixels have the same weight in the fitting process.



Example
- pf := imageprofilefitter(infile='ngc1313.cube')
- pf.setimage(infile='sgra.cube')





next up previous contents index
Next: imageprofilefitter.type - Function Up: imageprofilefitter - Tool Previous: imageprofilefitter.gui - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01