Skip to content

Constants - #20

Closed
astrofrog wants to merge 26 commits into
astropy:masterfrom
astrofrog:constants
Closed

astrofrog wants to merge 26 commits into
astropy:masterfrom
astrofrog:constants

Conversation

@astrofrog

Copy link
Copy Markdown
Member

Note: this module is not ready for merging. I am opening this pull request so that we can review the current code and iterate on it first (with the ultimate goal of merging).

A few notes:

  • I decided to always use _ for subscripts and to use lowercase and uppercase as is usually conventional - but we can also switch to all lowercase if you think that would be best
  • I decided to spell out sun, jup, and earth to avoid a possible conflict between electron mass and earth mass (let me know if you have a better idea!).
  • The S.I. constants re-use the values from the cgs module so that we only need to change constants in one place.
  • There are no tests yet, as I'm not sure what tests would consist of in the case of constants. Maybe we can check for example that a certain dimensionless combination of constants in cgs is equal to that in S.I. (which would test the c.g.s to S.I conversion).
  • I need to double check the constants values, and we'll need several other people to vet them, since this is obviously very important to get right.

taldcroft and others added 26 commits October 15, 2011 12:45
…re, and requires additional code that is currently missing).
…d the README.rst file from the tests directory.
… module installed with astropy in the event that a user wants to run tests and does not have py.test installed on their system.
…ic tests. Will be imported in astropy/__init__.py as test.
…available. Modified the astropy/tests/helper.py runtests function so that it runs tests in the astropy installed location.
…itrary arguments, plugins, and more specific verbose and pastebin options)
@astrofrog

Copy link
Copy Markdown
Member Author

Closed because of a mistake in the commits included

@astrofrog astrofrog closed this Oct 15, 2011
astrofrog added a commit that referenced this pull request Dec 14, 2012
keflavich pushed a commit to keflavich/astropy that referenced this pull request Oct 9, 2013
mdboom added a commit that referenced this pull request Apr 23, 2014
Some slight tweaks to how I wanted to handle cleanup in the compress_hdu...
taldcroft pushed a commit to taldcroft/astropy that referenced this pull request Apr 29, 2014
Method to check if attributes were set explicitly
nden pushed a commit to nden/astropy that referenced this pull request Dec 10, 2018
jeffjennings pushed a commit to jeffjennings/astropy that referenced this pull request Jul 2, 2025
remove double word in affilited/intex.html
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.

5 participants