inpta / pinta

Data analysis pipeline for upgraded GMRT pulsar data
GNU General Public License v2.0
3 stars 0 forks source link

Option to fold data to an Nbin value in addition to the one provided in the pipeline.in file #21

Closed abhisrkckl closed 3 years ago

ymaan4 commented 3 years ago

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.

ymaan4 commented 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.

abhisrkckl commented 3 years ago

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.

abhisrkckl commented 3 years ago

I am implementing this feature as follows:

abhisrkckl commented 3 years ago

Tested and it works.