Skip to content
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

FITS HDU image: no bijection between TFORMn value (L, A, B, J, K, ..) and BITPIX #61

Open
JulienPeloton opened this issue Nov 15, 2018 · 0 comments
Assignees

Comments

@JulienPeloton
Copy link
Member

In the Image HDU header, there is no mention of the data type via TFORMn value (letters: L, K, J, ...). Instead, the number of bits used per image pixel is given (BITPIX).

But looking at Table 18 from FITS standard, there is no one-to-one correspondence... For example, a BITPIX of 8 could be either B (unsigned byte) or L (Boolean).

How to choose then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant