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

Add an origin keyword to aperture plot methods #395

Merged
merged 3 commits into from Jul 20, 2016

Conversation

larrybradley
Copy link
Member

The origin keyword is useful for plotting apertures on a cutout or subsample of the data.

This PR also refactors the aperture plot methods by placing repeated code in a new _prepare_plot method on the PixelAperture base class.

@larrybradley larrybradley added this to the 0.3 milestone Jul 19, 2016
@larrybradley larrybradley self-assigned this Jul 19, 2016
origin : array-like, optional
The ``(x, y)`` position of the origin of the displayed
image.

Copy link
Member

Choose a reason for hiding this comment

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

Would you like to add e.g. where``(x,y)``corresponds to the usual rectangular coordinate system? (if that's the case).

Copy link
Member Author

Choose a reason for hiding this comment

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

What other coordinate system did you have in mind? I think it's pretty clear that (x, y) means pixel coordinates if that's what you mean.

@larrybradley larrybradley merged commit 8ab49f7 into astropy:master Jul 20, 2016
@larrybradley larrybradley deleted the aperplot branch July 20, 2016 15:36
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