UCBerkeleySETI / rawspec

6 stars 7 forks source link

Issues with nants header field and options -S, -i, and -I #34

Closed texadactyl closed 2 years ago

texadactyl commented 3 years ago

Using guppi_59229_47368_006379_40blocks.0000.raw from ATA (nants = 2), I generated the following scenarios:

cases_nants_gt_1.pdf

My conclusions are that the following should be the only -I/--ICS and -S/--splitant option combinations when nants > 1:

Furthermore, the -i/--ics parameter should be removed. Or, remove the -I/--ICS one. But, just have one.

Error cases:

texadactyl commented 3 years ago

@RocketRoss @wfarah @david-macmahon

Please review.

radonnachie commented 3 years ago

The concurrent ics (-i) was the original spec (#7), and I was just following orders. The ICS product comes at very little overhead after the FFT and so it was seen as a 'free' concurrent output...

To the point though, I think that the following is sooner preferable:

If nants > 1:

If nants = 1:

radonnachie commented 3 years ago

Oh and having had a look at your pdf, yeah -I -S should cancel to one or the other... but which one... maybe it's reasonable that both user-specified-outputs were produced... I do hear you though, the 'exclusivity' of the -I does seem to be ignored.. so that can be a quick fix.

The default rawspec doesn't see antennae, only channels.. so case 4 is both antennae's channels lumped together, as is case 2 (alongside the concurrent ICS).. Everything is as I expect it, even if not ideal