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 ObservationStats, ObservationsSummary and BackgroundEstimate #2502

Merged
merged 14 commits into from
Oct 31, 2019

Conversation

adonath
Copy link
Member

@adonath adonath commented Oct 31, 2019

This PR removes the following classes:

  • ObservationStats
  • ObservationSummary
  • BackgroundEstimate
  • ReflectedRegionsBackgroundEstimator

The functionality is kept by:

  • Extend info in SpectrumDatasetOnOff.info_dict() by alpha, significance etc.
  • Add Datasets.info_table() which collects all the info from the contained datasets (currently only supported for SpectrumDatasetOnOff). In addition one can specify, whether the info is stacked cumulatively.

ToDo:

  • Add unit tests for SpectrumDatasetOnOff.info_dict()
  • Add unit tests for Dataset.info_table()

@adonath adonath self-assigned this Oct 31, 2019
@adonath adonath added this to the 0.15 milestone Oct 31, 2019
@cdeil
Copy link
Contributor

cdeil commented Oct 31, 2019

@adonath
Copy link
Member Author

adonath commented Oct 31, 2019

The remaining Travis fail is unrelated. Will go ahead and merge...

@adonath adonath merged commit b46859b into gammapy:master Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants