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


next up previous contents index
Next: fitter.linear - Function Up: fitter - Tool Previous: fitter.set - Function


fitter.getstate - Function



Package utility
Module fitting
Tool fitter


Obtain the state of the fitter


Synopsis
getstate(id)


Arguments

id in the id of a sub-tool
    Allowed: fitter id
    Default: 0


Returns
record with state


Description
Obtain the state of the fitter tool or a sub-tool.



Example
- include 'fitting.g'
- fit := fitter();		# a fitter with default properties
- fit.getstate()		# what is it like
[n=0, typ=0, colfac=1e-08, lmfac=0.001, type=real] 
- fit.init(5,'r')		# initialize it
T
- id := fit.fitter()		# a sub-fitter, initialized
- fit.set(type='complex',id=id)	# a sub-fitter, initialized
- fit.getstate()			# state of default fitter
[n=5, typ=0, colfac=1e-08, lmfac=0.001, type=real] 
- fit.getstate(id=id)			# state of the sub-fitter
[n=1, m=1, typ=1, colfac=1e-06, lmfac=0.001, type=complex]





next up previous contents index
Next: fitter.linear - Function Up: fitter - Tool Previous: fitter.set - 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-10-15