-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add vector type support (ex: '100E') and fix bit handling
* Rows can be of vector type, where each row has multiple of the same data type in the column. Bitmasks (32X) and strings (20A) are the most common examples, but others exist in the wild. * In more fully supporting repeats, revamped the bit handling. * Filled out the data type support and added round-trip read-write tests for all vector types. Weirdly, I couldn't get the u32 case to work and suspect a CFITSIO bug. Then again, all unsigned types are unofficial CFITSIO extensions beyond the FITS spec. * Removed conditionals for reads_col_impl and writes_col_impl; int is 32 bits and long long is consistently 64 bits on all machines and platforms. Only long is weird and special.
- Loading branch information
Showing
8 changed files
with
384 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.