-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Defining regions without specifying center or shape parameters #446
Comments
Can we maybe make a separate |
Just to give some context for our use-cases: While the
So using |
Just for completeness: my comment above is from the perspective of production code, where regions are defined algorithmically or programmatically. I agree that supporting |
In #430, I added validation to the shape parameters requiring
radius
,width
, andheight
parameters to be strictly positive (> 0). That makes complete sense, but it broke @adonath 's workflow where he had been usingnp.nan
s as placeholders in some cases (#430 (comment)).This topic came up before (by me 6 years ago) in #56, but it was never implemented. The workaround of course is to define the region with valid (non-nan, non-zero) dummy values, which can be changed later (the center and shape parameters are mutable). I think this needs discussion with other devs.
@keflavich, @astrofrog, @dhomeier -- any thoughts or ideas?
The text was updated successfully, but these errors were encountered: