Skip to content

[WIP] #489 Grouping and quality from observations#503

Draft
pstammler wants to merge 1 commit intomainfrom
data-grouping-and-quality-implementation-for-signals-setup
Draft

[WIP] #489 Grouping and quality from observations#503
pstammler wants to merge 1 commit intomainfrom
data-grouping-and-quality-implementation-for-signals-setup

Conversation

@pstammler
Copy link
Copy Markdown
Collaborator

New features are implemented in the data, instrument and signal classes, so they can load spectra with removed bad bins and grouped counts.

New features are implemented in the data, instrument and signals classes, so they can load spectra with removed bad bins and grouped counts.
@pstammler pstammler self-assigned this Dec 18, 2024
@pstammler pstammler marked this pull request as draft December 18, 2024 11:30
pstammler added a commit that referenced this pull request Nov 21, 2025
In this draft, based on a mixing between pull requests #503 and #588, a different energy integrator has been tested, in the case of signals presenting bad quality data among good ones. As X-PSI is initially based on integration on continuous bins, the use of instrumental responses with "holes" is not adapted in the initial configuration, returning the response error related to the lack of positive values or the assertion errors related to the energies and channel edges.
So a new version of the energy integrator is proposed here, with the edges designed into 2 arrays: one with the lower bounds and one with the upper bounds for each energy bin.
Another extension is also given to enable X-PSI to use linear interpolation.
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