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 array_finalize for beams #75
Fix array_finalize for beams #75
Conversation
Oops, that's a bug. Why not have a |
I didn't get that far in the test. Here's an updated version, but it's not working. The original |
Right. I don't think arithmetic operations should work on |
Multiplication/division could be made to work if applied on the areas. But I can't think of a case where you would want to that. We should probably raise some sort of Addition/subtraction can be treated as convolution/deconvolution like it does in |
on areas: why not just do And, yes, agreed, raising descriptive errors is a good idea |
I've defined a number of operations for One weird thing in |
agreed, division and multiplication make more sense as the de/convolve operations |
I've kept the I'm happy to merge this. Let me know if you have any more comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: are we deprecating subtraction-as-deconvolution?
@keflavich - I think we should deprecate subtraction-as-deconvolution. I'll add a warning |
minajor
->minor
in array_finalize forBeams
.I found this trying to do arithmetic with a
Beams
object, which also doesn't work correctly. But I'm not sure if we need it to?