Closed abhisrkckl closed 3 years ago
An efficient way of doing that would be to add a provision to read an extra number (integer) from an additional (last, non-mandatory) column in the pipeline.in file. If the column/number is not provided then nothing extra happens, if it is provided then an extra set of archive/psrfits files are produced with number of bins equal to the specified number times the earlier specified bins.
We discussed this at length yesterday and decided that it is better not to break the format of the pipeline.in file.
The pipeline.in file already contains all the information needed to compute the Nyquist number of bins. So we decided to have a "--nyquist" option which will fold the data to Nyquist number of bins in addition to whatever nbin is there in the pipeline.in file.
I am implementing this feature as follows:
Tested and it works.
The issue-title should rather read "Option to create profiles with two choices of number of bins", as the pipeline doesn't really decide or check of the number of bins are Nyquist sampled or oversampled.