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


next up previous contents index
Next: functionfitter.getchisq - Function Up: functionfitter - Tool Previous: functionfitter.fit - Function


functionfitter.getdata - Function



Package utility
Module fitting
Tool functionfitter


Recover the internal data arrays


Synopsis
getdata()


Returns
Glish record



Description

This function returns a Glish record holding the internal data. The record has fields 'x', 'y', 'xerr', 'yerr' and 'mask' holding the obvious quantities. The data error fields may be unset if no data errors were given. However, the mask field will always be filled in. If you gave no mask, the mask field will hold an all T (good) vector.



Example
- include 'functionfitter.g'
- ff := functionfitter()
- x := 1:10
- y := 2 + 3*x
- ff.setdata (x, y)
- r := ff.getdata()
- print r
[x=[1 2 3 4 5 6 7 8 9 10] , y=[5 8 11 14 17 20 23 26 29 32] , 
 xerr=[i_am_unset=i_am_unset], yerr=[i_am_unset=i_am_unset], 
 mask=[T T T T T T T T T T] ]





next up previous contents index
Next: functionfitter.getchisq - Function Up: functionfitter - Tool Previous: functionfitter.fit - 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