![]() |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
Mike Nolan a écrit :
We're trying to data formats a new spectral instrument. It will produce binary tables in a vaguely SDFITS-like format, with a table column that contains a data array. The array will have multiple axes: time, frequency, polarization, etc., usually with only the frequency axis being nondegenerate, with table rows generated (say) once per second. At moderate data rates, the header information changes slowly compared to the spectral dump rate, and the time axis may become nondegenerate within a record. However, at the highest data rates packed binary data (say 2 bits per sample) will have to be stored, and we're trying to figure out how to best describe those in a way consistent with "principle of least astonishment". Do others have experience or suggestions with this? One could write the packed data to a bit column in the binary table with TFORMn = 'rX'. The TDIMn keyword could be used to convey the number of bits per sample. For example, a 1-dimensional 256-sample spectrum with 2 bits per sample could be stored with TFORMn = '512X' TDIMn = '(2,256)' This could be extended to higher dimensional data. If the record contained the spectrum that was read out a 4 successive times, then it could be stored with TFORMn = '2048X' TDIMn = '(2,256,4)' I might be clearer however to write the 4 spectra as separate rows in the table. Bill -- __________________________________________________ __________________ Dr. William Pence NASA/GSFC Code 662 HEASARC +1-301-286-4599 (voice) Greenbelt MD 20771 +1-301-286-1684 (fax) |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[fitsbits] Packed binary values | Thierry Forveille | FITS | 0 | April 30th 07 04:19 PM |
[fitsbits] Packed binary values | Mike Nolan | FITS | 0 | April 27th 07 04:42 PM |
Power-packed results? | roberts | Policy | 0 | March 24th 05 12:40 PM |
[fitsbits] FITS Binary Table Proposals | William Pence | FITS | 5 | November 23rd 04 08:54 PM |
[fitsbits] Start of Public Comment Period on FITS Binary TableProposals | William Pence | FITS | 2 | October 19th 04 02:31 PM |