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

Fix (?) to_pixel in SkyCircle #29

Merged
merged 1 commit into from
Jun 10, 2016
Merged

Fix (?) to_pixel in SkyCircle #29

merged 1 commit into from
Jun 10, 2016

Conversation

joleroi
Copy link
Contributor

@joleroi joleroi commented Jun 2, 2016

@keflavich : Can you have a look at this if you have a minute, please?

center_in_wcsframe = self.center.transform_to(wcsframe)

xpix, ypix = mywcs.wcs_world2pix(center_in_wcsframe.spherical.lon,
center_in_wcsframe.spherical.lat, 0)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These 3 lines are used nowhere

@joleroi
Copy link
Contributor Author

joleroi commented Jun 10, 2016

@astrofrog
any thoughts? :)

@joleroi
Copy link
Contributor Author

joleroi commented Jun 10, 2016

Since this is a show stopper, I'll merge now and leave a comment in #13

@joleroi joleroi merged commit 544be00 into astropy:master Jun 10, 2016
@joleroi joleroi deleted the to_pix branch June 10, 2016 11:38
@astrofrog
Copy link
Member

I think it should be fine - of course, the best test is that if it works, it should be good to go! :)

@joleroi
Copy link
Contributor Author

joleroi commented Jun 10, 2016

Define "works" :) I will make a PR to see that a round trip works, and fix the details later, ok?

@cdeil cdeil added this to the 0.1 milestone Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants