n-west / bliss

BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Pass channelization scheme through arguments #37

Closed n-west closed 7 months ago

n-west commented 7 months ago

There's no metadata in fil h5 files that indicates the number of coarse channels or the number of fine channels per coarse channel so we use foff and tsamp to infer that according to the BL data paper.

There are other channelization schemes in use and since we only need to know the number of fine channels per coarse channel as long as the other md is present we can support them with an optional parameter for the number of fine channels per coarse channel.

Add that parameter as an optional argument and continue inferring if it's not given. This came up from some ATA data and it's a good suggestion from Carmen to just allow it to be passed through as an arg rather than force inferring the numbers