How does nfbin divide the CABB band?

Is MIRIAD being a pain? Let us know your experience.

Moderator: Mark.Wieringa

Post Reply
and460
Posts: 79
Joined: Thu Sep 01, 2011 12:23 pm

How does nfbin divide the CABB band?

Post by and460 »

Hi guys,

Quick question about the nfbin parameter: how exactly does the 2100MHz CABB band get divided when using nfbin? Say I set nfbin = 16. Does this mean that the band will be divided up into 16 bins, with 2100MHz (being the middle of the band) sitting precisely on the dividing line between the 8th and 9th bins? Or does it start from some frequency corresponding to channel 1 in the CABB spectrum (say 3.1 GHz for instance), and then place a bin boundary every 2049/16 channels from channel 1 to 2049?

I'm keen to know the precise bin boundaries, because I want to see if there are any jumps in my calibrator spectrum corresponding to changing gain solutions in different bins.

Cheers,

Craig.
Mark.Wieringa
ATCA Expert
Posts: 297
Joined: Mon Feb 08, 2010 1:37 pm

Re: How does nfbin divide the CABB band?

Post by Mark.Wieringa »

Hi Craig,

the code used is:

bin = min(nfbin,
(chan-1)/(nchan/nfbin)+1)

with integer division.
If chan runs from 1 to e.g. 2049 and nfbin=16 this translates to
bin = 1: chan 1 to 128
bin = 2: chan 129 to 256
.
bin 16: chan 1921 to 2049 (last bin gets an extra channel)

Cheers,

Mark
and460
Posts: 79
Joined: Thu Sep 01, 2011 12:23 pm

Re: How does nfbin divide the CABB band?

Post by and460 »

Great - thanks a lot Mark!
Post Reply