Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#60 closed task (fixed)

invert sense of bits

Reported by: MatthewWhiting Owned by: MatthewWhiting
Priority: major Component: pvoconvert: FITS access
Version: Keywords:
Cc:

Description

To make the data compatible with readers used for DFB3 data etc, we need to invert the sense of the bits in the data string. That is, after we reverse the order of the bits within each byte, we need to change 0s to 1s and 1s to 0s (use the complement function).

Change History (4)

comment:1 Changed 16 years ago by MatthewWhiting

Status: newassigned

comment:2 Changed 16 years ago by MatthewWhiting

Resolution: fixed
Status: assignedclosed

It has been resolved that the bit inversion is not necessary for the 70cm data, so this functionality is not implemented.

comment:3 Changed 16 years ago by MatthewWhiting

To clarify, the output from DFB3 was changed to conform with the way the 70cm data was written (rather than the other way around), so the change was not needed.

See source:src/pvo-block.cc, comments in DataBlock::readData()

comment:4 Changed 16 years ago by MatthewWhiting

Note: See TracTickets for help on using tickets.