Closed altairgomes closed 3 years ago
- If we instantiate the
Occultation
usingEphem
instead ofBody
, a error occurred;
What error? Does Ephem have a name to search in the SBDB? If it is a satellite, it should be instantiated with Body. If there is an error, it's not for this PR.
- There is a bug in the
Occultation.get_map_sites()
, all the stations are colored asred
;
I'll look into it. They should all be red if no chord is positive.
- If we add a chord using
Occultation.Chords.add_chord()
, using the object chord as input there is a error;
How do you define the chord? If it is a chord that's already added, it won't add it again.
Occultation.plot_chords(all_chords=False)
is not ignoring the disabled chords.
I'll look into it.
- It seems that
del(Chord)
do not eliminate the name from the list;
if you mean
c = occ.chords.add_chord(...)
del(c)
That's is how python works. c
is not the object, is a pointer to the object. If you want to remove from the list, you should use
occ.chords.remove_chord(name="name_of_chord")
Even if you do that, c
will still point for the object, that is not attached to any Occultation.
- I think
Chord.get_fg()
should have a warning considering the imputed time, similar toOccultation.new_astrometrical_position()
;
Ok.
Occultation.Chords.plot_chords()
should have a kwarg similar toAll_chords
. Instead of only the kwargignore
;
Ok.
- I'm not sure if the
Chord.path()
is useful to the user, maybe it should be a hidden function.
I think hidden function are those we do not want for the user to run. Maybe because they may generate an error, or whose calls should be limited. This is not the case for the path function. If a user wants to use, it is there available.
Approved, please update the Releases.rst
New features are being introduced. These are new classes Chord and ChordList which will intermediate between the Occultation class and the Observer and LightCurve classes. These new classes are not new modules, but they are part of the occultation module. A new List class was also introduced as a Base Class for other list classes that may be created for SORA, for instance, RingList.