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

Bugfix: protection.ra769_limits should return proper quantities #8

Merged
merged 1 commit into from Feb 20, 2019

Conversation

bwinkel
Copy link
Owner

@bwinkel bwinkel commented Feb 20, 2019

Fix #6.

pycraf.protection.ra769_limits now returns an astropy.table.QTable instead of a astropy.table.Table. This ensures that in all circumstances one retrieves proper astropy.units.Quantity objects from the table. Previously, logarithmic units would not fully support this (although this was a just bug in astropy, which is now fixed).

@bwinkel bwinkel merged commit 9ef9d80 into master Feb 20, 2019
@bwinkel bwinkel deleted the fix-protection-table branch February 20, 2019 21:27
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.

RA.769 table (protection thresholds) has poor documentation and buggy unit support
1 participant