TRASAL / dadafilterbank

Sigproc filterbank output from a dada ringbuffer
Apache License 2.0
1 stars 1 forks source link

.5 channel shift in min_frequency #7

Closed loostrum closed 6 years ago

loostrum commented 6 years ago

We have changed MIN_FREQUENCY in the PSRDADA header for SC4 to be the frequency of the center of the lowest channel, so this line in open_files: min_frequency + bandwidth - .5 * channel_bandwidth, // double fch1, should be changed to: min_frequency + bandwidth - channel_bandwidth, // double fch1,

loostrum commented 6 years ago

In terms of only parameters read from the psrdada header, this line should now read: min_frequency + bandwidth - bandwidth/nchannels, // double fch1,

loostrum commented 6 years ago

Fixed in commit 3c07cd8