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

Remove SpectrumStats class #2272

Merged
merged 4 commits into from Jul 4, 2019
Merged

Conversation

@adonath
Copy link
Member

@adonath adonath commented Jul 4, 2019

This PR removes the SpectrumStats object with the goal to unify the API of the dataset classes and reduce the code complexity. I kept the functionality by introducing a minimal ._info_dict() method, which is currently only used in one place in .peek().

@adonath adonath self-assigned this Jul 4, 2019
@adonath adonath added the cleanup label Jul 4, 2019
@adonath adonath added this to the 0.13 milestone Jul 4, 2019
@adonath adonath merged commit 3f99a01 into gammapy:master Jul 4, 2019
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant