8 Created a new module with functions to verify kwargs. Created a function to verify if kwarg is allowed. This verification is applied throughout the code. In some cases, the kwargs were removed and explicitly requested.
sora.extra:
Added param to plot a dot for the center of the ellipse
sora.lightcurve:
Possibility for the user to redefine tref, immersion, emersion, initial_time and end_time after instantiated.
Fixed bug that was raised in LightCurve.log() when there were no initial or end times.
sora.star:
Now Star downloads all parameters from Gaia and saves them in Star.meta_gaia
sora.occultation:
Deprecated pos_angle and dpos_angle in favor of position_angle and dposition_angle in fit_ellipse()
Corrected bug that did not save the fitted params in all occultations when more than one occultation is used in fit_ellipse()
Added axis_labels and lw (linewidth) to Occultation.plot_chords()
Changed "GCRS" to "Geocentric" in log()
sora.prediction
Added 4 new params for plot_occ_map():
path: for the user to select a directory where to save the plots
site_name: If True, the name of the sites will be plotted.
chord_delta and chord_geo: for the user to plot the path of a chord from distance of the center or passing by some coordinate, respectively.
Added 2 functions to help the user remove bad events: keep_from_selected_images() and remove_occ()
Fixed output format issue in PredictionTable.to_ow().
PredictionTable.to_ow() will raise a warning if the radius or the error of ephemeris is not present
8 Created a new module with functions to verify kwargs. Created a function to verify if kwarg is allowed. This verification is applied throughout the code. In some cases, the kwargs were removed and explicitly requested.
tref
,immersion
,emersion
,initial_time
andend_time
after instantiated.LightCurve.log()
when there were no initial or end times.Star.meta_gaia
pos_angle
anddpos_angle
in favor ofposition_angle
anddposition_angle
infit_ellipse()
fit_ellipse()
axis_labels
andlw
(linewidth) toOccultation.plot_chords()
log()
plot_occ_map()
:path
: for the user to select a directory where to save the plotssite_name
: If True, the name of the sites will be plotted.chord_delta
andchord_geo
: for the user to plot the path of a chord from distance of the center or passing by some coordinate, respectively.keep_from_selected_images()
andremove_occ()
PredictionTable.to_ow()
.PredictionTable.to_ow()
will raise a warning if the radius or the error of ephemeris is not present