Skip to content

Commit

Permalink
Merge pull request #31 from WimDeMeester/master
Browse files Browse the repository at this point in the history
Added precession
  • Loading branch information
WimDeMeester authored Sep 9, 2020
2 parents 84af338 + 1cefe35 commit 5258827
Show file tree
Hide file tree
Showing 10 changed files with 1,052 additions and 401 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/vendor
.env
.phpunit.result.cache
13 changes: 13 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

All notable changes to `laravel-astronomy-library` will be documented in this file.

## Version 4.7

### Added

- Add precession method for EquatorialCoordinates to calculate the precession for a given date with low accuracy. The proper motion of the star is taken into account for the calculation of the precession.
- Add precessionHighAccuracy for EquatorialCoordinates method to calculate the precession for a given date with high accuracy. The proper motion of the star is taken into account for the calculation of the precession.
- Add precessionHighAccuracy for EclipticalCoordinates method to calculate the precession for a given date with high accuracy. The proper motion of the star is not taken into account for the calculation of the precession.

### Changed

- The constructor of the EquatorialCoordinates class now also takes the epoch of the coordinate as argument. If the epoch is not given, the standard epoch of 2000.0 is taken.
- The constructor of the EquatorialCoordinates class now also takes the proper motion (in RA and in dec) as arguments. If the proper motion is not given, the value of 0.0 is taken.

## Version 4.6

### Added
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"keywords": ["Laravel", "laravel-astronomylibrary"],
"require": {
"php": ">=7.4",
"laravel/framework": "^7.0",
"laravel/framework": "^7.0|^8.0",
"maatwebsite/excel": "^3.1"
},
"require-dev": {
Expand Down
Loading

0 comments on commit 5258827

Please sign in to comment.