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

Add FluxPointsDatasets class #2023

merged 4 commits into from Feb 6, 2019


Copy link

@adonath adonath commented Feb 5, 2019

This PR refactors the existing FluxPointsFit into a FluxPointsDataset class, as a first example of the Dataset framework we plan to implement for Gammapy.

@adonath adonath self-assigned this Feb 5, 2019
@adonath adonath added this to the 0.11 milestone Feb 5, 2019
@adonath adonath added the feature label Feb 6, 2019
@adonath adonath force-pushed the flux_points_dataset branch from 5c14c3f to 06d8456 Feb 6, 2019
@adonath adonath merged commit e336412 into gammapy:master Feb 6, 2019
4 checks passed

def total_stat(self, parameters):
def likelihood(self, parameters):
Copy link

@AtreyeeS AtreyeeS Feb 8, 2019

Hello @adonath ! I was wondering why you are passing parameters here?

Copy link
Member Author

@adonath adonath Feb 8, 2019

That's a left over from the previous implementation of total_stat(). It could be just removed here and in SpectrumFit.total_stat as well...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants