Packet comp_frame_pkt

MISE Compressed Frame packet structure


Summary of Packet Fields

The packets of type comp_frame_pkt contain the following fields:

Name

DataType

BitLength

BitOffset

ByteOrder

Instrument SCLK Time secondinfoTime tag, J2000 (seconds)

uint

32

0

big

Instrument SCLK Time subsecinfoFractional time (1/216 seconds)

uint

16

32

big

Accountability IDinfoAccountability ID

uint

32

48

big

Row OrigininfoWindow origin, row

uint

9

80

big

Column OrigininfoWindow origin, column

uint

9

89

big

Window RowsinfoWindow dimensions, rows

uint

9

98

big

Window ColumnsinfoWindow dimensions, columns

uint

9

107

big

Row BinninginfoRow binning

uint

2

116

big

Column BinninginfoColumn binning

uint

2

118

big

Comp DatainfoCompressed pixel data. The first 14 bits are used for the P0,0 uncompressed value.then each pixel value is compressed on 4bits values are organized in strips of 320 pixels. Padding bits are added at the end of the compressed stream to align on bytes.

uint[]

8

120

big

PEC (CRC-16-CCITT)infoPacket Error Control field, using CRC-16-CCITT algorithm

uint

16

128

big


Packet Field Details

Here follows the detailed description of the packet fields.

Instrument SCLK Time second

Time tag, J2000 (seconds)

DataType

uint

BitLength

32

BitOffset

0

ByteOrder

big

Instrument SCLK Time subsec

Fractional time (1/216 seconds)

DataType

uint

BitLength

16

BitOffset

32

ByteOrder

big

Accountability ID

Accountability ID

DataType

uint

BitLength

32

BitOffset

48

ByteOrder

big

Row Origin

Window origin, row

DataType

uint

BitLength

9

BitOffset

80

ByteOrder

big

Column Origin

Window origin, column

DataType

uint

BitLength

9

BitOffset

89

ByteOrder

big

Window Rows

Window dimensions, rows

DataType

uint

BitLength

9

BitOffset

98

ByteOrder

big

Window Columns

Window dimensions, columns

DataType

uint

BitLength

9

BitOffset

107

ByteOrder

big

Row Binning

Row binning

DataType

uint

BitLength

2

BitOffset

116

ByteOrder

big

Column Binning

Column binning

DataType

uint

BitLength

2

BitOffset

118

ByteOrder

big

Comp Data

Compressed pixel data. The first 14 bits are used for the P0,0 uncompressed value.then each pixel value is compressed on 4bits values are organized in strips of 320 pixels. Padding bits are added at the end of the compressed stream to align on bytes.

DataType

uint[]

BitLength

8

BitOffset

120

ByteOrder

big

ArrayShape

expand

ArrayOrder

C

PEC (CRC-16-CCITT)

Packet Error Control field, using CRC-16-CCITT algorithm

DataType

uint

BitLength

16

BitOffset

128

ByteOrder

big