Skip to content

nObservations wrong for fast fitting #1130

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

Closed
wants to merge 1 commit into from
Closed

Conversation

woutdenolf
Copy link
Collaborator

No description provided.

@woutdenolf woutdenolf requested review from sergey-yaroslavtsev and removed request for sergey-yaroslavtsev June 20, 2025 20:19
@woutdenolf woutdenolf marked this pull request as draft June 20, 2025 20:53
@@ -144,7 +144,7 @@ def fitMultipleSpectra(self, x=None, y=None, xmin=None, xmax=None,
# MCA trimming: [iXMin:iXMax]
iXMin, iXMax = self._fitMcaTrimInfo(x=x)
sliceChan = slice(iXMin, iXMax)
nObs = iXMax-iXMin
nObs = iXMax-iXMin+1
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I was wrong, the +1 is already added in _fitMcaTrimInfo

@woutdenolf woutdenolf closed this Jun 20, 2025
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