|
Developer Documentation |
|||||||||
| prev file | next file | ||||||||||
| SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide getdata.pro
| getdata |
Extract some or all of the data array from one of the global buffers.
Use of getdata frees the user from having to deal with pointers by providing a copy of some or all of the data array in one of the global buffers (data containers).
filein,'file.fits'
getrec,0
x = getdata()
help, x
X FLOAT = Array[1026]
y = getdata(0,0)
help, y
Y FLOAT = 34.5000
z = getdata(0,[0,2])
help, z
z FLOAT = Array[3]
| Keywords | |
|
count |
The total number of elements returned. On error, this will be 0 and the returned value for this function will be -1. |