Hi Tom,
I see 2 subjects (RefDiv and RefSub, then ezConRefMode) in your questions above.
1.
ezCol and the spectrum display (RefDiv and RefSub).
I added the top left spectrum display to the ezCol collecting program to provide live reassurance that the data being recorded to file was worthy.
But the standard spectrum had 3 big humps and maybe a tiny bump somewhere near the middle that was the Galactic hydrogen. Hard to see.
So I added the ezColYLimL parameter to change the spectrum plot's vertical limits, to allow zooming in on the top part of the plot to see the interesting Galactic hydrogen bump. It helped a little. You can change the ezColYLimL parameter live on the graphics screen (with perhaps a slow response to your changes).
I wanted ezCol to focus on collecting data as fast as it could, but what could I do to enhance the spectrum plot without distracting a lot of CPU cycles ? So I added the RefDiv display choice to divide the most recent Ant sample by the most recent Reference sample. And I added the RefSub display choice to have the most recent Ant sample subtract the most recent Reference sample. This helped. This does not change the data written to file. I like the RefDiv plot more than the RefSub plot. These enhance the Galactic hydrogen signal and provide reassurance that the data being recorded to file is worthy.
2.
Later, the ezCon analysis program processes those recorded data files (ezConRefMode).
It is often hard to see the Galactic hydrogen in the raw data.
The AntB signal tries to enhance the Galactic hydrogen signal, without using Reference samples.
The AntRB signal tries to enhance the Galactic hydrogen signal, using Reference samples.
ezCon compares the Ant samples to some Reference that does not have a Galactic hydrogen signal.
You can change the ezConRefMode parameter, which defines the Reference samples.
Looking at the Ant samples available, maybe you see that Ant sample zero has no Galactic hydrogen signal.
ezConRefMode of 0 uses Ant sample zero for every Reference sample.
ezConRefMode of -1 uses Ant sample 1 for every Reference sample.
ezConRefMode of -1234 uses Ant sample 1234 for every Reference sample.
ezConRefMode of 2 uses the RawByFreqBinAvg spectrum average spectrum for every Reference sample.
The ezConRefMode default is 10 which, for each Ant sample, uses the most recent Reference sample.
If there are no recorded Reference samples, ezCon uses Ant sample zero as every Reference sample.
I am adding new ezConRefMode options.
ezConRefMode of 5 uses the one ant spectrum at the minimum of AntAvg.
ezConRefMode of 7 uses the one ant spectrum at the minimum of AntBAvg.
ezConRefMode31 uses the one AntB spectrum closest to a requested Right Ascension (quiet like at 11.5 hours).
ezConRefMode30L selects the Ant spectrum beside the Reference spectrum from the same wide bandwidth Raw spectrum (Airspy, SDRplay, Ettus USRP B210).
Helpful ?
On Saturday, March 21, 2026 at 11:46:00 PM UTC-6 Tom Nathe wrote: