Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
199 commits
Select commit Hold shift + click to select a range
93f3c4f
initial structure of coordinates subpackage
eteq Aug 8, 2012
21998c7
Added coords_example.py
eteq Aug 8, 2012
aa0fd03
added coordinates modules
eteq Aug 8, 2012
afe11f4
updated example for changes in gist
eteq Aug 16, 2012
881f780
converted coords_example to tests
eteq Sep 9, 2012
9577597
moved Angle import into individual tests
eteq Sep 9, 2012
ab3cf7d
added coordinates documentation to doc index
eteq Sep 10, 2012
09c7ec7
to_string -> format
eteq Sep 11, 2012
d4d423b
updated to new astropy.units
eteq Sep 24, 2012
eb88e02
More work on core, updated several tests.
Oct 2, 2012
ad8535c
New work on core, etc.
Oct 2, 2012
334c97c
More work on Angle, RA classes. Improved __eq__ on Angle.
Oct 3, 2012
2975a9c
Typos.
Oct 3, 2012
01ac373
Work on RA, Angle operators, test code.
Oct 3, 2012
f21e7ab
Added more tests, new conversion routines, to_string handling.
Oct 5, 2012
8f30836
Typos, tabs.
Oct 5, 2012
f480631
Starting work on "Coordinates", expanded custom errors, bug fixes.
Oct 6, 2012
043949d
Further development on Coordinates.
Oct 8, 2012
95f5169
More work on coordinates classes, new tests.
Oct 9, 2012
726d717
Updated tests, modifications based on feedback, fixed a few bugs.
Oct 10, 2012
0a1c5a1
updated index.rst to have coorect coordinate package name
eteq Oct 12, 2012
9d71821
Incorporated many comments from Erik, bug fixes, more documentation.
Oct 12, 2012
a9a92f3
fix for incorrect imports
eteq Oct 15, 2012
a2d7f5d
moved coordinates to coordsystems.py
eteq Oct 22, 2012
0a98dc8
typo fixes from Demitri
eteq Oct 22, 2012
f311271
docstring fixes and comments
eteq Oct 22, 2012
1bd9cac
reorganized core to angles
eteq Oct 22, 2012
6c317cb
implemented spherical<->cartesian funcs
eteq Oct 23, 2012
cc1c003
fixes for incomplete import changes
eteq Oct 23, 2012
8a49826
added spherical<-> cartesian tests
eteq Oct 23, 2012
d80f98f
fixed spherical/cartesian based on tests
eteq Oct 24, 2012
6794fe8
redesigned coordinate class heirarchy and added cartesian representation
eteq Oct 26, 2012
fd4a054
moved implementation of coordinates to builtin_systems
eteq Oct 26, 2012
1b20746
Distance class
eteq Oct 26, 2012
88fdc05
fix for move to SphericalCoordinatesBase
eteq Oct 30, 2012
57324dd
test tweaks
eteq Oct 30, 2012
bffb521
fixed z/cosmo support in Distance and related tests
eteq Oct 30, 2012
a00e858
minor fixes and cleanups
eteq Oct 30, 2012
5dedec1
in-progress work on distances
eteq Oct 30, 2012
0977122
fixes in separation and angle
eteq Oct 31, 2012
ceb90a0
mostly typo fixes in coordsystems
eteq Oct 31, 2012
66b9b5e
tests and separation-related utilities
eteq Oct 31, 2012
13b5a63
typo fix in angles
eteq Nov 2, 2012
ab89bea
fixes and expanded tests for spherical distances
eteq Nov 4, 2012
b3c4e8e
renamed test_internals
eteq Nov 5, 2012
38fea4f
updated spherical distance tests
eteq Nov 5, 2012
8faf1eb
finalized spherical distance measure
eteq Nov 5, 2012
7ff89eb
PEP8 and related cleanup
eteq Nov 5, 2012
ad99a7d
errors heirarchy tweaks/cleanup
eteq Nov 5, 2012
4931af7
typo fixes
eteq Nov 5, 2012
31f9cd0
angles updated to use new UnitsError
eteq Nov 5, 2012
a21fef5
additional ways to initialize Distance
eteq Nov 5, 2012
ba6e2ad
separation3d done
eteq Nov 5, 2012
f499362
moved spherical/cartesian transforms
eteq Nov 5, 2012
0c98c43
implementation of transform framework
eteq Nov 5, 2012
a1b1b3e
added composite and get_transform
eteq Nov 5, 2012
c352462
added transform tests and some associated fixes
eteq Nov 5, 2012
3f83c3d
work on implementing specific systems
eteq Nov 5, 2012
a61fc0a
added graph converters
eteq Nov 5, 2012
8dc738f
implemented shortest path finding and associated tests
eteq Nov 5, 2012
9e136ef
fixes for shortest path - test now pass
eteq Nov 5, 2012
08a1dfa
updated coordinate input parser
eteq Nov 6, 2012
a614f13
bugfixes, particularly Unit -> UnitBase
eteq Nov 6, 2012
3f71d76
bug-squashing in transforms
eteq Nov 6, 2012
b00099c
split out distance stuff into distance.py
eteq Nov 6, 2012
1efcabe
test and bug fixes
eteq Nov 6, 2012
307056a
updated cartesian point with repr and operations
eteq Nov 6, 2012
6ef324e
fixes to support supplying a CartesianPoint initializer
eteq Nov 6, 2012
f943483
distance tests passing
eteq Nov 6, 2012
0878834
all unexpected errors fixed
eteq Nov 6, 2012
79d6992
added epochs
eteq Nov 6, 2012
e1d2b22
minor tweaks
eteq Nov 6, 2012
5b8fa99
porting/doing earth orientation functions
eteq Nov 7, 2012
0222c92
added rotation matrix generator
eteq Nov 7, 2012
1b8bb93
import/compatibility fixes in earth_orientation
eteq Nov 7, 2012
a29c3b4
generalized precession matrix
eteq Nov 7, 2012
3b90211
added empty tests for transformations of builtin systems and renamed …
eteq Nov 7, 2012
7645e27
limited coord aliases to one name
eteq Nov 7, 2012
a2c9f77
small docstring fix
eteq Nov 7, 2012
a0fe043
distance -> distances
eteq Nov 7, 2012
459b7f1
a range of work getting coordinate transforms to work
eteq Nov 9, 2012
b07abde
transform tests now operating correctly
eteq Nov 9, 2012
368786c
added proper epoch propogation to matrix transforms
eteq Nov 9, 2012
a83f1d1
implemented precessing for FK4/FK5
eteq Nov 9, 2012
1df4b79
implemented other transforms
eteq Nov 9, 2012
cf6cbe3
typo fixes in precession_matrix_Capitaine
eteq Nov 9, 2012
71914f4
all transforms working, test passing
eteq Nov 9, 2012
7464009
fixes from test failures
eteq Nov 9, 2012
ed8af19
added __repr__ to coordinate systesm
eteq Nov 9, 2012
9cff980
test-revealed bug fixes
eteq Nov 9, 2012
b75c5ef
all tests passing
eteq Nov 9, 2012
ec6ebbc
further tweaking
eteq Nov 9, 2012
1a75b2a
fixed hour_angle and lst
eteq Nov 9, 2012
449ae0f
docstring fixes
eteq Nov 9, 2012
b62888c
removed attribute secions due to weird conflict with properties
eteq Nov 9, 2012
ea2aa8c
typo fix in docguide
eteq Nov 9, 2012
7de1cf7
dot file generating fixes
eteq Nov 9, 2012
b6806a5
fixing transform graph for docs
eteq Nov 10, 2012
960ff93
getting started section
eteq Nov 10, 2012
f262de8
fix for distance in transformations
eteq Nov 10, 2012
eeea681
Support initializing RA and Dec with Angle objects
eteq Nov 10, 2012
cc6dc52
shortened name in Angle.__repr__
eteq Nov 10, 2012
be3035c
docs trhough angles
eteq Nov 10, 2012
28537af
fixed __repr__ of Distance
eteq Nov 10, 2012
ce410c4
Distances doc section
eteq Nov 10, 2012
8c35fd7
added custom coordinate system instructions
eteq Nov 10, 2012
d4f6478
transformations docs
eteq Nov 10, 2012
ae9af83
switched to NumpyRNGContext
eteq Nov 10, 2012
41bec94
fixes for rebasing against current master
eteq Nov 10, 2012
3b3888c
Fixed typos in coordinates docs
astrofrog Nov 11, 2012
9b68688
"apc" abbreviation -> "coord" as suggested by @astrofrog @taldcroft, …
eteq Nov 18, 2012
4c0a3ad
Added discussion of spherical system origins as suggested by @astrofrog
eteq Nov 19, 2012
3a56910
Updated imports in documentation as suggested by @astrofrog
eteq Nov 19, 2012
d3e5327
Added description of factory class as suggested by @demitri
eteq Nov 19, 2012
3ac8e77
fixed angle_utilities hms checkers to prevent int-conversion, suggest…
eteq Nov 19, 2012
7dbe700
removed some commented lines of code
eteq Nov 19, 2012
e179709
isinstance(...,str) -> isinstance(...,basestring)
eteq Nov 19, 2012
a3271e6
updated angle_utilities to use compiled regex as suggested by @astrof…
eteq Nov 19, 2012
15e2af4
fixed relative imports per @astrofrog's suggestion
eteq Nov 19, 2012
4daae40
"hourangle" -> "hour_angle"
eteq Nov 19, 2012
1f35809
removed inocrrect statement that RA/Dec are J2000 (pointed out by @as…
eteq Nov 19, 2012
d42ab2c
"lng" -> "lon" (@astrofrog @adrn and @taldcroft's suggestion)
eteq Nov 19, 2012
c754d70
fixes for some mistakes in a3271e6f
eteq Nov 19, 2012
b7cd121
"long" -> "lon" where relevant (@astrofrog)
eteq Nov 19, 2012
759a6a9
fix for broken case of converting to same coordinate as self by alias…
eteq Nov 19, 2012
67570c2
fix for creating angles with numpy arrays
eteq Nov 19, 2012
b65f1b6
swapped az/el printing as suggested by @cdeil
eteq Nov 19, 2012
7486103
typo fixes pointed out by @cdeil
eteq Nov 19, 2012
268b4b1
removed * import in angles
eteq Nov 19, 2012
137fed0
fixed Angle operations to properly support scalar operations like ang…
eteq Nov 19, 2012
4264e42
added __dir__ to SphericalCoordinatesBase to support tab-completion f…
eteq Nov 19, 2012
2d8c482
adjust spherical distances to always use vicenty at suggestion of @ta…
eteq Nov 19, 2012
4e8da11
Fixed Angle unit parsing to properly yield useful errors when an inva…
eteq Nov 19, 2012
c69527c
line continuation fix suggested by @iguananaut
eteq Nov 19, 2012
a6c41d8
removed unnecessary ``.keys()`` as suggested by @iguananaut
eteq Nov 19, 2012
83beda6
Merge pull request #5 from astrofrog/coordinates-minor-typos, includi…
eteq Nov 19, 2012
40537b2
string->format and implemented __str__ for Angle
eteq Nov 19, 2012
c56a089
related fixes for format method of Angle
eteq Nov 19, 2012
6f454c2
removed unneeded import that causes failure when merging with master
eteq Nov 19, 2012
38c34a6
separated out scipy tests in coordinates to allow them to be skipped …
eteq Nov 21, 2012
5cfdd7d
changed dms and hms to have all tuple elements negative when angle is…
eteq Nov 21, 2012
2bfaa48
moved some more distance tests to the scipy-needing function
eteq Nov 21, 2012
887ffb9
epoch->equinox
eteq Nov 24, 2012
a82c8f4
added obstime to fk4
eteq Nov 24, 2012
3165bb3
Added obstime to all relevant systems
eteq Dec 3, 2012
09486f0
adjusted copying behavior on transform to copy over obstime but not e…
eteq Dec 3, 2012
8c33f5a
updated transforms to work correctly with equinox/obstime
eteq Dec 3, 2012
177659c
Fixes revealed by tests and updates to tests to include checking obst…
eteq Dec 3, 2012
f2f2a76
removed Coordinate generator class for now (to be replaces in 0.3 by …
eteq Dec 3, 2012
6e7b387
CartesianPoint->CartesianPoints for consistency
eteq Dec 3, 2012
f6e7ce7
added round-tripping tests for Angle string formatting
eteq Dec 3, 2012
10edc84
added warning about coordinates being WIP
eteq Dec 3, 2012
2ff753a
doc updates in coordinates
eteq Dec 3, 2012
d77e71a
Added type-checking for equinox and obstype
eteq Dec 3, 2012
32b70a7
fix for failing travis test due to scipy use
eteq Dec 3, 2012
bdd4941
add count in djikstra's algorithm to get around py 3.x change in sort…
eteq Dec 3, 2012
a921b90
updated docs to get rid of references to old Coordinates factory class
eteq Dec 3, 2012
3469b4d
added test for coordinate transform order and typo fix
eteq Dec 3, 2012
688ca90
important fix for transform graph algorithm - now working coorectly i…
eteq Dec 3, 2012
5304934
added documentation example of using multiple units as suggested by @…
eteq Dec 3, 2012
a7e2483
assert_allclose -> assert allclose for numpy 1.4.x compatibility
eteq Dec 4, 2012
273fbf3
assert allclose -> assert_allclose, but now using test.compat.assert_…
eteq Dec 6, 2012
dad2800
cleaned up cases for lat/long initializer
eteq Dec 6, 2012
30f89df
Updated coordinate initializers to always require 2-tuple unit (or None)
eteq Dec 6, 2012
4bb3ed1
fixed tests for changes to coordinate initializers
eteq Dec 6, 2012
62d7ab9
pep8 fixes
eteq Dec 6, 2012
40221ec
updated docs
eteq Dec 6, 2012
8a3aedb
docstring update for coordinate initializer
eteq Dec 6, 2012
b8ecbc1
PEP8, because, well, my editor does a lot of this automatically anywa…
embray Dec 6, 2012
b70f2b1
separation3d -> separation_3d
eteq Dec 7, 2012
3bac9ba
removed "smart" RA and Dec initializers - now they behave mostly like…
eteq Dec 7, 2012
4bce767
docstring updates in angles.py
eteq Dec 7, 2012
8a2e82e
fixed tests to respond correctly to new RA/Dec behavior
eteq Dec 7, 2012
0638415
units missing error string clarification
eteq Dec 7, 2012
b1fab00
A variety of subtle fixes in the Angle string parser to give more
eteq Dec 7, 2012
c1ba9c3
updated docs to reflect new coordinate initializer behavior, as point…
eteq Dec 7, 2012
2eaf619
tweaked radian representation to support sep=fromunit
eteq Dec 7, 2012
a28dcba
updated coordinates docs to include radian example
eteq Dec 7, 2012
86267b8
removed old incorrect example pointed out by @astrofrog
eteq Dec 7, 2012
68ab7ef
subtle fix in Angle vs RA initializer
eteq Dec 7, 2012
b857bc2
clarified the angular spearation calculation method as suggested by @…
eteq Dec 7, 2012
188447a
added CartesianPoints example suggested by @astrofrog
eteq Dec 7, 2012
bbf7344
Added import of FK5Coordinates to docs
eteq Dec 7, 2012
d6db439
updated precession examples from @astrofrog's suggestions
eteq Dec 7, 2012
1d78872
commented out accepting datetime objects in Angle
eteq Dec 7, 2012
d7aef16
twopi -> TWOPI from @astrofrog's suggestion
eteq Dec 7, 2012
85d36d2
fixed bounds that were not in radians as they should be - pointed out…
eteq Dec 7, 2012
c0dc63b
_equinox_j2000 -> _EQUINOX_J2000
eteq Dec 7, 2012
6025d15
Altered ICRSCoordinates docstring "J2000" business at @astrofrog's su…
eteq Dec 7, 2012
20cb5e5
added _EQUINOX_B1950 constant at @astrofrog's suggestion
eteq Dec 7, 2012
adc8cf2
removed unnecessary whitespace
eteq Dec 7, 2012
05f5672
Clarified documentation about when units are needed at @astrofrog's s…
eteq Dec 7, 2012
b1f4785
split up coordinates docs into multiple files at @astrofrog's suggestion
eteq Dec 7, 2012
79fa201
Adding a format_exception helper that can take format strings and fil…
embray Dec 6, 2012
05f1d86
Redo hours_to_string and degrees_to_string with easier to grok format…
embray Dec 6, 2012
66120bc
Merge pull request #7 from iguananaut/coordinates-tweaks, with manual…
eteq Dec 8, 2012
a89f7f6
added example of copying coordinates at @cdeil's suggestion
eteq Dec 8, 2012
64c556c
fixed format_exception to not fail in py 3.x
eteq Dec 10, 2012
29fe07b
docstring tweak in format_exception; also trying to re-trigger travis
eteq Dec 10, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions astropy/coordinates/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

"""
This subpackage contains classes and functions for celestial coordinates
of astronomical objects. It also contains a framework for conversions
between coordinate systems.
"""

from .errors import *
from .angles import *
from .coordsystems import *
from .distances import *
from .transformations import *
from .builtin_systems import *

__doc__ += builtin_systems._transform_graph_docs
Loading