-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for 16 and 32 bit input #41
Comments
All of my GBT testing has been with 32-bit floats. So, this works. I do not have access to a .raw file with 16-bit floats. Integer element formats? That's another question for @david-macmahon . The FBH5 output code doesn't care what its writing. |
@texadactyl I can produce a half-precision file, but the values there will kinda be non-sense. |
rawspec currently supports 8+8 bit complex integer data and 16+16 bit integer data. The GUPPI RAW format has historically been limited to integer data. There is no "datatype" header field defined to indicate what type of values are in the data blocks other than |
@wfarah |
nbits=32 is widely recognized implicitly in pulsar land as meaning floating point. I think NBITS = 32 is a reasonable hack at this point |
When it comes to how to trigger the Could we tally votes with reactions? |
rawspec
currently supports an 8bit and more recently a 4bit input.The ATA beamformer will output samples at 16 and 32 bit (half and single precision float).
The beamformer output will be saved in a guppi format, which I currently assume can support this bit rate. It would be a great addition to
rawspec
to make it handle the above input bit size.It's also common in astronomy to use 16 and 32 bit integers, so maybe this is worth a discussion as to how this could be treated within the code. Maybe an additional guppi header parameter
The text was updated successfully, but these errors were encountered: