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

Bug at print(Star), pmDEC #43

Closed
Bmorgado19 opened this issue Aug 10, 2020 · 1 comment
Closed

Bug at print(Star), pmDEC #43

Bmorgado19 opened this issue Aug 10, 2020 · 1 comment
Assignees
Labels
bug Something isn't working effort_low Probably easy to solve star
Milestone

Comments

@Bmorgado19
Copy link
Collaborator

When we print the parameters within a Star Object, the proper motion is wrongly printed.

Looking at the code we have:

out += ('ICRS star coordinate at J{}:\n' 'RA={} +/- {:.4f}, DEC={} +/- {:.4f}\n' 'pmRA={:.3f} +/- {:.3f} mas/yr, pmDEC={:.3f} +/- {:.3f} mas/yr, Plx={:.4f} +/- {:.4f} mas\n\n'.format( self.coord.obstime.jyear, self.coord.ra.to_string(u.hourangle, sep='hms', precision=5), self.errors['RA'], self.coord.dec.to_string(u.deg, sep='dms', precision=4), self.errors['DEC'], self.meta_gaia['pmRA'], self.meta_gaia['e_pmRA'], self.meta_gaia['e_pmDE'], self.meta_gaia['pmRA'], self.meta_gaia['Plx'], self.meta_gaia['e_Plx']))

There is an error at pmDEC={:.3f} +/- {:.3f} mas/yr where the values printed should be self.meta_gaia['pmDE'] and self.meta_gaia['e_pmDE'].

@Bmorgado19 Bmorgado19 added the bug Something isn't working label Aug 10, 2020
@altairgomes altairgomes added effort_low Probably easy to solve star labels Aug 10, 2020
@altairgomes altairgomes self-assigned this Aug 10, 2020
@altairgomes altairgomes added this to the V0.2 milestone Aug 10, 2020
@altairgomes
Copy link
Collaborator

This issue is closed in the develop branch and will be available in v0.2

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

No branches or pull requests

2 participants