Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/people/mcalabre/WCS/wcslib/structfitskeyid.html
Дата изменения: Unknown Дата индексирования: Mon Apr 11 01:56:14 2016 Кодировка: Поисковые слова: spacecraft |
WCSLIB
5.15
|
Keyword indexing. More...
#include <fitshdr.h>
Data Fields | |
char | name [12] |
int | count |
int | idx [2] |
fitshdr() uses the fitskeyid struct to return indexing information for specified keywords. The struct contains three members, the first of which, fitskeyid::name, must be set by the user with the remainder returned by fitshdr().
char fitskeyid::name |
(Given) Name of the required keyword. This is to be set by the user; the '.' character may be used for wildcarding. Trailing blanks will be replaced with nulls.
int fitskeyid::count |
(Returned) The number of matches found for the keyword.
int fitskeyid::idx |
(Returned) Indices into keys[], the array of fitskey structs returned by fitshdr(). Note that these are 0-relative array indices, not keyrecord numbers.
If the keyword is found in the header the first index will be set to the array index of its first occurrence, otherwise it will be set to -1.
If multiples of the keyword are found, the second index will be set to the array index of its last occurrence, otherwise it will be set to -1.