NRAO Home > CASA > CASA Toolkit Reference Manual
sd.fitter.plot - Function

5.1.4 Plot fit
Description

Plot the last fit.

There are three arguments that control plot. If residual argument is True, the plot contains residual in addition to original data and fit. If plotparms argument is True, the parameter values will be written on the plot explicitly. The components argument specifies a list of components to plot. components=-1 means total fit (sum of all components) will be plotted.

Arguments





Inputs

residual

An optional parameter indicating if the residual should be plotted

allowed:

bool

Default:

False

components

a list of components to plot, e.g [0,1]

allowed:

integer, integer array

Default:

None (plot total fit)

plotparms

Inidicates if the parameter values should be present on the plot

allowed:

bool

Default:

False





Returns

Example


More information about CASA may be found at the CASA web page

Copyright © 2016 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