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 SNRCat dataset access function #262

Merged
merged 1 commit into from May 19, 2015
Merged

Add SNRCat dataset access function #262

merged 1 commit into from May 19, 2015

Conversation

@cdeil
Copy link
Member

@cdeil cdeil commented May 11, 2015

This PR adds the gammapy.datasets.fetch_catalog_snrcat function.

The SNR parameters were extensively checked against Green's catalog (see here) and the differences observed there will be corrected in the catalogs (all in Green's catalog I think).

Just in case the CSV version of SNRCat gets removed or changes too frequently, I've put a FITS version as of 2015-05-19 with file size 35K in gammapy/gammapy-extra@fd2f1ed generated using this command:

python -c 'from gammapy.datasets import fetch_catalog_snrcat; t = fetch_catalog_snrcat(cache=False); t.write("snrcat.fits.gz")'
@cdeil cdeil added the feature label May 11, 2015
@cdeil cdeil self-assigned this May 11, 2015
@cdeil cdeil added this to the 0.3 milestone May 11, 2015
@coveralls
Copy link

@coveralls coveralls commented May 11, 2015

Coverage Status

Coverage decreased (-0.07%) to 45.81% when pulling c726e97 on cdeil:snrcat into b56a56a on gammapy:master.

Loading

@coveralls
Copy link

@coveralls coveralls commented May 19, 2015

Coverage Status

Coverage decreased (-0.13%) to 42.13% when pulling efadafd on cdeil:snrcat into 823c443 on gammapy:master.

Loading

cdeil pushed a commit that referenced this issue May 19, 2015
Add SNRCat dataset access function
@cdeil cdeil merged commit 07124da into gammapy:master May 19, 2015
1 of 2 checks passed
Loading
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

2 participants