Closed altairgomes closed 2 years ago
Thanks for this Pull Request. I have four comments, mainly about the internal documentation of the new features:
VizierCatalogue
docstring;prediction()
functions, please modify the docstring stating that the catalogue argument can be a VizierCatalogue
object;__string__
within the VizierCatalogue
Class;VizierCatalogue
within the Star
Class, I got a warning, and it appears that you are trying to add the magnitudes of the stars two times;
- Using the
VizierCatalogue
within theStar
Class, I got a warning, and it appears that you are trying to add the magnitudes of the stars two times;
That's because you probably are adding it two times. When you define the star, it downloads the magnitudes for all bands. Then, if you put nomad=True
it will download the magnitudes for the NOMAD bands. If any band is in both catalogs, it will be replaced by NOMAD.
This pull request adds a new class called VizierCatalogue in the catalogue sub module. With it, the user can define the necessary keywords to allow SORA to download information from any catalogue available on Vizier.
The new feature was implemented in the prediction() function and the Star() class. Thus the user can make predictions or process an occultation by using the information from other catalogues than the default Gaia.
A jupyter notebook was added to the "examples" page showing how the new feature is intended to be used.