We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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'].
pmDEC={:.3f} +/- {:.3f} mas/yr
self.meta_gaia['pmDE']
self.meta_gaia['e_pmDE']
The text was updated successfully, but these errors were encountered:
This issue is closed in the develop branch and will be available in v0.2
Sorry, something went wrong.
altairgomes
No branches or pull requests
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 beself.meta_gaia['pmDE']
andself.meta_gaia['e_pmDE']
.The text was updated successfully, but these errors were encountered: