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

Provide the ability to window the output of propagate #15

Open
andykee opened this issue Nov 13, 2020 · 0 comments
Open

Provide the ability to window the output of propagate #15

andykee opened this issue Nov 13, 2020 · 0 comments

Comments

@andykee
Copy link
Owner

andykee commented Nov 13, 2020

In its current implementation, the shape of the output from propagate is determined by the npix parameter and the center of the output will always be on-axis.

It may be desirable to adjust the location of the output by accepting a window parameter to specify the indices within the output canvas with shape = npix to return. In this way, a user could establish a 2000 x 2000 output array but only return the lower left quadrant by requesting

window = [slice(1000, 2000), slice(0, 1000)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant