Code Monkey home page Code Monkey logo

Comments (5)

cyschneck avatar cyschneck commented on June 27, 2024

The built-in star data I am using are currently being populated from in-the-sky.org so it is possible it has a different proper motion speed than what you are looking at

If you don't have the proper motion speed and proper motion angle, do you have the proper motion along the Right Ascension and Declination? in-the-sky.org uses a proper motion speed and proper motion angle (example: Pollux) but some places like Wikipedia use proper motion along the RA and declination (example: Pollux)

Out of curiosity, which star/data are you looking at? If you have details I might be able to add functionality to account for your data in the next release

from star-chart-spherical-projection.

madenburak avatar madenburak commented on June 27, 2024

I am using hipparcos catalogue where . There are pmRA and pmDEC values. Can I pass pmSpeed and pmAngle from pmRA and pmDEC? Or do i download new catalogue in-the-sky.org. I can't this.

from star-chart-spherical-projection.

cyschneck avatar cyschneck commented on June 27, 2024

The current behavior of this package uses about a hundred handpicked built-in stars where I've taken their data from in-the-sky.org The stars aren't web scrapped or downloaded, they are part of the backend and are distributed as part of the package so you shouldn't need to do anything on your end to uses these built-in stars.

The backend uses this CSV file for the built-in 100+ stars

If you want to add a star that isn't currently in the built-in star list, you can use the newStar() function. When you add a newStar(), you have the option to make the new star with either the PM speed/angle or the PM Declination/RA and it will be incorporated into the rest of the plotting like any the built-in stars

Do you have a link for the Hipparcos catalogue star you want to add or an example of what you are trying to do? I might be able to answer your question or add some new functionality to incorporate it

from star-chart-spherical-projection.

madenburak avatar madenburak commented on June 27, 2024

I will add stars where hiparcos catalogue after limiting magnitude as 5. I got catalogue from hipparcos catalogue. There are pmRA, pmDEC values and HIPS ID of stars.

from star-chart-spherical-projection.

cyschneck avatar cyschneck commented on June 27, 2024

To add a new star with the PM RA/DEC values, you want to use the newStar function that uses PM RA/Declination and then set the HIP as the star name

import star_chart_spherical_projection as scsp

hip_star = scsp.newStar(starName="<HIP>",
				ra="<RA Hours Information Here>",
				dec=<Declination Information Here>,
				properMotionSpeedRA=<PM RA>,
				properMotionSpeedDec=<PM Dec>,
				magnitudeVisual=<Magnitude>)
scsp.plotStereographicProjection(northOrSouth="North",
				userDefinedStars=[hip_star])

from star-chart-spherical-projection.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.