Replies: 1 comment 1 reply
-
Hey, I'm actually not sure what part of the code you are referring to, so I try my best to answer this: The If you are referring to the estimated size of the data unit based on the information provided by the header unit, this is actually computed in the property 'dataSize' of the HeaderUnit. Does that answer your question? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ì noticed you are calculating the size of 2D images or hdu.dataunit.count (i.e. two axes, i.e NAXIS=2) by multiplying NAXIS * NAXIS(1) * NAXIS(2) * bits/pixel. NAXIS is the number of axes and should not be included in this calculation... Please, let me know, if I misunderstood your code maybe.
Beta Was this translation helpful? Give feedback.
All reactions