tag:github.com,2008:https://github.com/cyschneck/Star-Chart-Spherical-Projection/releasesRelease notes from Star-Chart-Spherical-Projection2024-03-19T07:29:30Ztag:github.com,2008:Repository/566966863/v1.6.02024-05-29T06:29:11Z1.6.0 - starPositionOverTime, predictPoleStar, new stars<p>⭐ New functions for plotting and predicting a star's position over time and at a specific year ⭐</p>
<p>New functions are still in beta functionality and will continue to be tested and expanded</p>
<h2>starPositionOverTime() and plotStarPositionOverTime()</h2>
<p>Return a single star's position over time</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="starPositionOverTime(builtInStarName=None,
newStar=None,
startYearSince2000=None,
endYearSince2000=None,
incrementYear=5,
isPrecessionIncluded=True,
save_to_csv=None)"><pre class="notranslate"><code>starPositionOverTime(builtInStarName=None,
newStar=None,
startYearSince2000=None,
endYearSince2000=None,
incrementYear=5,
isPrecessionIncluded=True,
save_to_csv=None)
</code></pre></div>
<p>And associated function to plot the star's declination and right ascension position over time</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="plotStarPositionOverTime(builtInStarName=None,
newStar=None,
startYearSince2000=None,
endYearSince2000=None,
incrementYear=10,
isPrecessionIncluded=True,
DecOrRA="D",
showPlot=True,
showYearMarker=True,
fig_plot_title=None,
fig_plot_color="C0",
figsize_n=12,
figsize_dpi=100,
save_plot_name=None)"><pre class="notranslate"><code>plotStarPositionOverTime(builtInStarName=None,
newStar=None,
startYearSince2000=None,
endYearSince2000=None,
incrementYear=10,
isPrecessionIncluded=True,
DecOrRA="D",
showPlot=True,
showYearMarker=True,
fig_plot_title=None,
fig_plot_color="C0",
figsize_n=12,
figsize_dpi=100,
save_plot_name=None)
</code></pre></div>
<p>For example, Vega's Declination with Precession:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="star_chart_spherical_projection.plotStarPositionOverTime(builtInStarName="Vega",
newStar=None,
startYearSince2000=-15000,
endYearSince2000=15000,
isPrecessionIncluded=True,
incrementYear=5,
DecOrRA="D")"><pre class="notranslate"><code>star_chart_spherical_projection.plotStarPositionOverTime(builtInStarName="Vega",
newStar=None,
startYearSince2000=-15000,
endYearSince2000=15000,
isPrecessionIncluded=True,
incrementYear=5,
DecOrRA="D")
</code></pre></div>
<p><a target="_blank" rel="noopener noreferrer nofollow" href="https://raw.githubusercontent.com/cyschneck/Star-Chart-Spherical-Projection/main/examples/plot_star_vega_declination_with_precession.png"><img src="https://raw.githubusercontent.com/cyschneck/Star-Chart-Spherical-Projection/main/examples/plot_star_vega_declination_with_precession.png" alt="Vega-with-precession" style="max-width: 100%;"></a><br>
And Vega's declination without Precession:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="star_chart_spherical_projection.plotStarPositionOverTime(builtInStarName="Vega",
newStar=None,
startYearSince2000=-15000,
endYearSince2000=15000,
isPrecessionIncluded=False,
incrementYear=5,
DecOrRA="D")"><pre class="notranslate"><code>star_chart_spherical_projection.plotStarPositionOverTime(builtInStarName="Vega",
newStar=None,
startYearSince2000=-15000,
endYearSince2000=15000,
isPrecessionIncluded=False,
incrementYear=5,
DecOrRA="D")
</code></pre></div>
<p><a target="_blank" rel="noopener noreferrer nofollow" href="https://raw.githubusercontent.com/cyschneck/Star-Chart-Spherical-Projection/main/examples/plot_star_vega_declination_without_precession.png"><img src="https://raw.githubusercontent.com/cyschneck/Star-Chart-Spherical-Projection/main/examples/plot_star_vega_declination_without_precession.png" alt="Vega-without-precession" style="max-width: 100%;"></a></p>
<h2>predictPoleStar()</h2>
<p>Return the North/South Pole star for a given year since 2000 while taking into account precession</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="predictPoleStar(yearSince2000=0, northOrSouth="North")"><pre class="notranslate"><code>predictPoleStar(yearSince2000=0, northOrSouth="North")
</code></pre></div>
<h2>New Built-In Stars</h2>
<p>Alkaphrah, Alkarab, Alkes, Almaaz, Alnasl, Alfirk, Algedi, Algenib, Algorab, Aljanah, Alkalurops, Absolutno, Achird, Acubens, Adhafera, Adhil, Ain, Alafar, Ainalrami, Alasia, Albaldah, Albali</p>
<p><strong>Bug fixes and README.md edits</strong><br>
<strong>Pytests: 158 tests on ubuntu, macOS, windows</strong></p>cyschnecktag:github.com,2008:Repository/566966863/v1.5.02023-06-30T09:05:22ZAdd New Stars and Save Output to CSV<p><strong>Add a New Star to Existing Data with newStar Class</strong></p>
<ul>
<li>Users can now add new stars (fix to <a href="https://github.com/cyschneck/Star-Chart-Spherical-Projection/issues/1" data-hovercard-type="issue" data-hovercard-url="/cyschneck/Star-Chart-Spherical-Projection/issues/1/hovercard">Issue 1</a>)</li>
<li>Two methods to add new stars to a plotStereographicProjection() and finalPositionOfStars()</li>
</ul>
<ol>
<li>newStar(starName=None, ra=None, dec=None, properMotionSpeed=None, properMotionAngle=None, magnitudeVisual=None)</li>
</ol>
<ul>
<li>A new star with a proper motion speed and a proper motion angle</li>
</ul>
<ol start="3">
<li>newStar(starName=None, ra=None, dec=None, properMotionSpeedRA=None, properMotionSpeedDec=None, magnitudeVisual=None)</li>
</ol>
<ul>
<li>A new star with the proper motion speed for right ascension and declination</li>
</ul>
<p><strong>userListOfStars -> builtInStars</strong></p>
<ul>
<li>Renamed argument <code>userListOfStars</code> to <code>builtInStars</code></li>
</ul>
<p><strong>New argument to plotStereographicProjection()</strong></p>
<ul>
<li>userDefinedStars: List of newStar objects of stars the user has added</li>
<li>onlyDisplayUserStars: Only display the stars defined by the users (userDefinedStars)</li>
</ul>
<p><strong>New argument to finalPositionOfStars()</strong></p>
<ul>
<li>userDefinedStars: List of newStar objects of stars the user has added</li>
<li>onlyDisplayUserStars: Only display the stars defined by the users (userDefinedStars)</li>
<li>save_to_csv: CSV filename and location to save final star positions with headers ["Star Name", "Right Ascension (HH.MM.SS)", "Declination (DD.SS)"]</li>
</ul>
<p><strong>New Built-In Star</strong></p>
<ul>
<li>Thuban with updated star_data.csv</li>
</ul>
<p><em>Bug fixes and README.md edits</em><br>
<em>New pytest for additional arguments: 141 tests</em></p>cyschnecktag:github.com,2008:Repository/566966863/v1.4.12023-06-16T21:53:07ZPytests: 82 tests<p>82 error handling pytests for:</p>
<ul>
<li>finalPositionOfStars()</li>
<li>plotSterographicProjection()</li>
</ul>cyschnecktag:github.com,2008:Repository/566966863/v1.4.02023-01-20T01:57:56ZfinalPositionOfStars() and README edits<ul>
<li>Release for new function: finalPositionOfStars() returns a dictionary of the position of stars</li>
<li>Update to README for edits</li>
</ul>cyschnecktag:github.com,2008:Repository/566966863/v1.3.42022-12-15T03:34:30ZmaxMagnitudeFilter optional flag<p>Set up maxMagnitudeFilter optional flag and adds additional stars (total = 107)</p>cyschnecktag:github.com,2008:Repository/566966863/v1.2.42022-12-04T07:18:16ZBug fix for displaying Year<p>Bug fix: BCE = -2000 years ago</p>
<p>if yearSince2000 >= -2000: year_bce_ce = "{0} C.E".format(yearSince2000 + 2000) # postive years for C.E<br>
if yearSince2000 < -2000: year_bce_ce = "{0} B.C.E".format(abs(yearSince2000 + 2000)) # negative years for B.C.E</p>cyschnecktag:github.com,2008:Repository/566966863/v1.2.32022-12-01T03:25:20ZshowPlot() optional argument<p>New optional argument for generating charts "showPlot" (defaults to True) that triggers plt.show(). Can turn off showing plot, useful for running multiple charts at once</p>
<p>plotStereographicProjection(userListOfStars=[],<br>
northOrSouth=None,<br>
declination_min=None,<br>
yearSince2000=0,<br>
displayStarNamesLabels=True,<br>
displayDeclinationNumbers=True,<br>
incrementBy=10,<br>
isPrecessionIncluded=True,<br>
showPlot=True,<br>
fig_plot_title=None,<br>
fig_plot_color="C0",<br>
figsize_n=12,<br>
figsize_dpi=100,<br>
save_plot_name=None)</p>cyschnecktag:github.com,2008:Repository/566966863/v1.1.32022-11-29T06:31:28ZuserListOfStars with error handling<p>userListOfStars with error calls for current stars</p>cyschnecktag:github.com,2008:Repository/566966863/v1.1.22022-11-28T04:47:12Zv1.1.2 Minor edits<p>Minor edits to README</p>cyschnecktag:github.com,2008:Repository/566966863/v1.1.12022-11-28T04:33:29ZBeta release: Precession of the equinoxes<p>New flag for including precession for long-scale star charts, defaults to True (isPrecessionIncluded)</p>cyschneck