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

Rebinnable Metadata #113

Open
DanRyanIrish opened this issue May 13, 2024 · 0 comments
Open

Rebinnable Metadata #113

DanRyanIrish opened this issue May 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@DanRyanIrish
Copy link
Contributor

STIX observations and visibilities are associated with axis-aligned metadata that cannot be treated as a coordinate, at least not by WCS. This is because they do not represent a strictly monotonic sampling of a coordinate space. An example is detector label, "e.g. "3c, 4a,..." etc. Such metadata is not necessarily numeric and any ordering is valid.

Despite this, such metadata needs to be tracked and altered through certain operations, e.g. slicing and rebinning, in order for it to remain a faithful reflection of the data. ndcube PR #455 introduces a sliceable metadata class that performs this for slicing. However, for rebinning, axis-awareness for metadata is simply dropped as, in the generalised world of ndcube, handling this scenario is not well-defined.

This issue proposes that a STIXVisMeta that inherents from ndcube.Meta and VisMeta in xrayvision, and a STIXMeta for metadata associated with STIX observations. Extra functionality should be added to handle STIX-specific metadata during the rebinning process.

As part of this discussion, this issue should catalogue all the axis-aligned STIX metadata that is specific to observations, visibilities and both that can also be treated during rebinning, e.g. detector label.

Both (STIXMetaBase)

  • detector label
  • pixel label
  • ...?

STIXMeta

  • exposure/integation time

STIXVisMeta

  • ...?
@samaloney samaloney added the enhancement New feature or request label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants