Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.sao.ru/precise/Midas_doc/doc/94NOV/vol2/node607.html
Дата изменения: Fri Feb 23 14:03:41 1996 Дата индексирования: Tue Oct 2 19:08:08 2012 Кодировка: Поисковые слова: manicouagan crater |
This diversity of possibilities does not lend itself readily to MIDAS table structures. If, as is usual, only a single detector is used, it would be wasteful and inconvenient to burden a table with several columns containing identical detector data in every row. Furthermore, information that should be the same for every filter, such as detector information for a single-channel instrument, could become inconsistent if presumably duplicate entries were stored in table format. To include code to test for the consistency of such constant-valued columns would impose overhead and maintenance problems for the programs that read the table.
A possible solution would be to use a table file with one row per filter, and to store information that remains the same for all filters in descriptors. This seems to be the policy that has been adopted for FITS tables. Then ordinary single-channel instruments could keep all the detector information in descriptors. But multi-channel instruments should store the detector information for each passband in the table itself, restoring the problem of duplicated data for all the bands that use the same detector.
On the other hand, some kind of array structure is needed to hold the information about detectors in multi-channel instruments. But the channels do not necessarily correspond to passbands in a one-to-one way; for example, an instrument might use a blue-sensitive photomultipler tube to measure U, B, and V, and a ``red'' tube to measure R and I (see the example in section ). We could store the detector information as MIDAS ``descriptors''; then the problem is that instruments with multiple detectors would require multi-element descriptors, and a cross-reference table column to identify which detector goes with which filter combination.
A practical if not very elegant solution is to store everything in one physical table file, which contains two logical sub-tables -- one for passbands, and one for detectors. Each sub-table contains an explicit index column, to allow explicit cross-references, despite any rearrangement of the actual table rows. This index column serves as the natural sequence number within each sub-table. This reduces the number of files the user has to keep track of. Invariant information for the whole instrument then goes in the table file's descriptors.
Most of the information in this table is stored as strings, rather than numerical values, thus keeping the entries easy for humans to read. Many of the items make sense (and will be looked for) only if others have particular values; see Tables , , and .