Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected velocity in prediction and minor fixes #66

Merged
merged 7 commits into from Aug 20, 2021
Merged

Corrected velocity in prediction and minor fixes #66

merged 7 commits into from Aug 20, 2021

Conversation

altairgomes
Copy link
Collaborator

@altairgomes altairgomes commented Aug 19, 2021

  • Fixed bug in the occ_params function that inverted the direction of the movement of the shadow in some cases.
  • Fixed bug in the ChordList.plot_chords() function that ignored the label given by the user.
  • Fixed bug that overwrote the light curve params when added to ChordList.
  • Fixed physical parameters for some satellites in satdb.
  • Added the calculation of the normal velocity considering an ellipse adapting equations created by @yucelkilic.

@altairgomes altairgomes added bug Something isn't working prediction labels Aug 19, 2021
@@ -338,8 +338,12 @@ def check_velocities(self):
"""
if hasattr(self, 'fitted_params'):
center = np.array([self.fitted_params['center_f'][0], self.fitted_params['center_g'][0]])
major_axis = self.fitted_params["equatorial_radius"][0]
minor_axis = major_axis * (1 - self.fitted_params["oblateness"][0])
else:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we should add a warning here, claiming "A shape was not fitted, a circle with radius X and centered at (0,0) was used instead"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prediction
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants