Skip to content

Commit

Permalink
beta release, v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cyschneck committed Nov 27, 2022
1 parent a0746ce commit b08e9f5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion generate_examples_eot_charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
["Neptune", 0.0086, 29.56, 30.0611]]

for planet in planet_lst:
if True:#planet[0] == "Earth":
if planet[0] == "Earth":
orbital_period_planet = muller_eot.calculateOrbitalPeriod(planet[3])

# Effect of Eccentricity
Expand Down
12 changes: 10 additions & 2 deletions muller_eot/calculate_eot.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ def calculateDifferenceEOTMinutes(eccentricity=None,
orbit_period=None):
# Calculate the time difference (in minutes) for the Equation of Time

muller_eot.errorHandlingEOT(eccentricity, obliquity_deg, orbit_period)
muller_eot.errorHandlingEOT(eccentricity,
obliquity_deg,
orbit_period) # Verify argument behavior

distance_between_solistice_perhelion_deg = muller_eot.calculateDistanceBetweenSolisticePerhelion()
distance_between_solistice_perhelion_rad = np.deg2rad(distance_between_solistice_perhelion_deg)
Expand Down Expand Up @@ -95,7 +97,13 @@ def plotEOT(planet_name=None,
save_plot_name=None):
# Plot EOT Time Differences

muller_eot.errorHandlingPlotEOT(planet_name, orbital_period, eot_y, effect_title_str, figsize_n, figsize_dpi, save_plot_name)
muller_eot.errorHandlingPlotEOT(planet_name,
orbital_period,
eot_y,
effect_title_str,
figsize_n,
figsize_dpi,
save_plot_name) # Verify argument behavior

fig = plt.figure(figsize=(figsize_n,figsize_n), dpi=figsize_dpi)

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Python Package Setup
from setuptools import setup, find_namespace_packages

VERSION="0.0.4"
VERSION="1.0.0"
DESCRIPTION="A Python package for M. Müller implementation of the 'Equation of Time - Problem in Astronomy' to calculate EOT and the effect of eccentricity/obliquity"

with open("README.md", "r") as f:
Expand All @@ -21,7 +21,7 @@
keywords=["astronomy", "python", "eot", "equation of time", "eccentricity", "obliquity"],
license="MIT",
classifiers=[
"Development Status :: 1 - Planning",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
Expand Down

0 comments on commit b08e9f5

Please sign in to comment.