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

Update HPX specs and sample files #89

Merged
merged 1 commit into from
May 30, 2017

Conversation

woodmd
Copy link
Collaborator

@woodmd woodmd commented May 22, 2017

This PR includes a number of revisions to the HPX spec and sample files:

  • Combines BANDS/EBOUNDS/ENERGIES tables such that EBOUNDS and ENERGIES are now treated as special cases of the BANDS table. The BANDSHDU header keyword defines the extension name of the BANDS table. If BANDSHDU is undefined the BANDS table should be read from EBOUNDS or ENERGIES. This makes the format backwards-compatible with existing model and counts cubes that use the convention of an EBOUNDS or ENERGIES table.
  • Updates SPARSE format specification to include an explicit band index column (CHANNEL). This should address the concerns raised by @eacharles (see HEALPix Formats #80) about keeping the slice indexing in the same HDU as the map data. However this does moderately increase the file size (up to 25% when VALUE and PIX are both 32-bit).
  • Samples files now include sparse maps generated with both fixed and energy-dependent NSIDE.
  • Other miscellaneous cleanup and fixes in the spec.

@woodmd woodmd merged commit c09fa26 into open-gamma-ray-astro:master May 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant