Skip to content

Commit

Permalink
inclusive of endYear
Browse files Browse the repository at this point in the history
  • Loading branch information
cyschneck committed Jul 16, 2023
1 parent 6047851 commit f1e4e8a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
Binary file modified examples/plot_star_vega_declination_with_precession.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/plot_star_vega_declination_without_precession.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/plot_star_vega_right_ascension_with_precession.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/plot_star_vega_right_ascension_without_precession.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions star_chart_spherical_projection/position_of_stars.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def starPositionOverTime(builtInStarName=None,
star_pm_angle = newStar.properMotionAngle
star_mag = newStar.magnitudeVisual

years_to_calculate = np.arange(startYearSince2000, endYearSince2000, incrementYear).tolist()
years_to_calculate = np.arange(startYearSince2000, endYearSince2000+1, incrementYear).tolist()
position_over_time = {}
for year in years_to_calculate:
star_row = [[star_name, star_ra, star_declination, star_pm_speed, star_pm_angle, star_mag]]
Expand Down Expand Up @@ -177,7 +177,7 @@ def plotStarPositionOverTime(builtInStarName=None,
if DecOrRA == "R":
plot_y = ra_radians_lst
title = "Right Ascension"
y_label = "Right Ascension (Hours)"
y_label = "Right Ascension (Radians)"

if isPrecessionIncluded:
precession_label = "(With Precession)"
Expand Down

0 comments on commit f1e4e8a

Please sign in to comment.