-
Notifications
You must be signed in to change notification settings - Fork 6
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
Subtraction of summed model columns prior to flagging (feature request) #70
Comments
@IanHeywood It sounds like a good addition. Could I interest you in putting together a PR based on this? |
I don't know when I would get the uninterrupted several-hour window that would be necessary for me to even begin to figure this out. The spirit is willing but the calendar is bleak. |
I think we're in similar straights. Let's see if my schedule clears up. |
It's very much an edge case use case so please don't go to any trouble with it. |
+1 from me. |
So at the moment we have --data-column and --subtract-model-column arguments. I would propose that we remove the --substract-model-column argument and support expressions within the data column argument. There would be two components to this:
/cc @bennahugo for comments on the proposed change |
One could, but I would not deprecate the existing smc option to keep backwards compatibility in pipelines. Multi-model column processing is not quite a standard way of most data reductions unless you do dE calibration with a dft |
Ok, how about marking SMC for deprecation with a warning? |
sure
…On Mon, Oct 26, 2020 at 3:19 PM Simon Perkins ***@***.***> wrote:
Ok, how about marking SMC for deprecation with a warning?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4RE6RQ3ZBEJOYJXCCTUITSMVZPLANCNFSM4QXXOLWQ>
.
--
--
Benjamin Hugo
PhD. student,
Centre for Radio Astronomy Techniques and Technologies
Department of Physics and Electronics
Rhodes University
Junior software developer
Radio Astronomy Research Group
South African Radio Astronomy Observatory
Black River Business Park
Observatory
Cape Town
|
Actually what is even better is DATA / sum(MODELS). RFI typically stands out like a sore thumb |
Nice to have, but I think this would need AST parsing, rather than a simple regex for a binary operation. To help narrow this down, what operators should be supported? A nice simple calculator subset is: |
I think a useful feature would be to be able to pass column arithmetic to the
-smc
switch, similar to how CubiCal's model list and shadems operate.For example, direction-dependent calibration scenarios where the model is partitioned into multiple columns require a lot of messing around in order to perform a flagging operation on the residual visibilities. Something like
-smc MODEL_DATA+DIR1_DATA
would get around this nicely.Thanks.
The text was updated successfully, but these errors were encountered: