![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaDocument | |||
1.1.1 Fit all 1-dimensional profiles in a region
Description
This function fits all of the 1-dimensional profiles in the specified region with a
given combination of Gaussians and a polynomial. It makes a separate
automatic estimate for each profile before making the fit.
Any masked input pixels do not contribute to the fit. The output mask is a copy of the default input pixel mask (if any); the OTF mask does not contribute. Any other input pixel masks will not be copied. Use function maskhandler if you need to copy other masks too. Use function calcmask if you need to apply the OTF mask to the output.
Arguments
| Inputs |
| ||
| region |
| The region of interest. Default is whole image.
| |
| allowed: | any |
|
| Default: | record |
|
| axis |
| The profile axis. Default is spectral axis.
| |
| allowed: | int |
|
| Default: | -1 |
|
| mask |
| OTF mask, Boolean LEL expression or mask region.
Default is none.
| |
| allowed: | any |
|
| Default: | variant |
|
| ngauss |
| Number of Gaussian elements
| |
| allowed: | int |
|
| Default: | 1 |
|
| poly |
| Order of polynomial element. Default is none.
| |
| allowed: | int |
|
| Default: | -1 |
|
| sigma |
| Weights image. Default is unset.
| |
| allowed: | string |
|
| Default: |
|
|
| fit |
| Output fitted image file name. Default is none.
| |
| allowed: | string |
|
| Default: |
|
|
| resid |
| Output fitted residuals image file name. Default is none.
| |
| allowed: | string |
|
| Default: |
|
|
Example
"""
# print "\t----\t fitallprofiles Ex 1 \t----" ia.fromshape(’gc.small’, [64,64,128], overwrite=true) ia.fitallprofiles (axis=2, fit=’gc.fit’) ia.close() ia.removefile(’gc.fit’) ia.removefile(’gc.small’) # """ |
Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu
Copyright © 2007 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search
Updated daily during alpha development.