Add Spectrum and CountSpectrum objects#142
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #142 +/- ##
=======================================
Coverage ? 55.02%
=======================================
Files ? 21
Lines ? 3253
Branches ? 0
=======================================
Hits ? 1790
Misses ? 1463
Partials ? 0 ☔ View full report in Codecov by Sentry. |
|
I think the work we are doing in stixpy (TCDSolar/stixpy/pull/109) might be relevant here too @DanRyanIrish |
|
I should point out a likely future direction of In order to make the Tabular WCS infrastructure work properly with edges, we would also need to finish ndcube#713. Once, these features are available, the only advantage I see for a Lowering the instantiation barrier for users is important. Alternatively to a If we agree this is the way forward, then working on the above two |
What is the best way to get these changes, extern the whole of NDCube and add the changes from these PRs 😆 |
|
So I think we should maybe just merge this so we a very basic spectrum object |
Heavily based off of the
Spectrumobject in specutils but also significantly stripped down. I think since the API is a subset it would easy enough to adopt the full API from specutils in the future if we decide to go that way. Since we know we will have a X-ray count spectra added a specific class for this as will have different properties.