Skip to content

Add New Stars and Save Output to CSV

Latest
Compare
Choose a tag to compare
@cyschneck cyschneck released this 30 Jun 06:29
· 32 commits to main since this release

Add a New Star to Existing Data with newStar Class

  • Users can now add new stars (fix to Issue 1)
  • Two methods to add new stars to a plotStereographicProjection() and finalPositionOfStars()
  1. newStar(starName=None, ra=None, dec=None, properMotionSpeed=None, properMotionAngle=None, magnitudeVisual=None)
  • A new star with a proper motion speed and a proper motion angle
  1. newStar(starName=None, ra=None, dec=None, properMotionSpeedRA=None, properMotionSpeedDec=None, magnitudeVisual=None)
  • A new star with the proper motion speed for right ascension and declination

userListOfStars -> builtInStars

  • Renamed argument userListOfStars to builtInStars

New argument to plotStereographicProjection()

  • userDefinedStars: List of newStar objects of stars the user has added
  • onlyDisplayUserStars: Only display the stars defined by the users (userDefinedStars)

New argument to finalPositionOfStars()

  • userDefinedStars: List of newStar objects of stars the user has added
  • onlyDisplayUserStars: Only display the stars defined by the users (userDefinedStars)
  • save_to_csv: CSV filename and location to save final star positions with headers ["Star Name", "Right Ascension (HH.MM.SS)", "Declination (DD.SS)"]

New Built-In Star

  • Thuban with updated star_data.csv

Bug fixes and README.md edits
New pytest for additional arguments: 141 tests