Closed griffinfoster closed 5 years ago
That would be useful, feel like working on adding this?
Yeah, I would be willing to do so. Though currently the code is pretty BL filterbank specific in terms of the functions and plotting. Is there a plan to split the filterbank class into an interface and call external functions?
We have started to work in that direction. file_wrapper.py takes care of .fil and .h5 files. It is not general enough yet. filterbank2.py (which I'll rename soon) uses file_wrapper.py
I guess this is solved now with blimpy
I will leave this open for now until I implement the time series support.
Hey Griffin, is there still for this? I don't have time to implement it myself.
should we close this? or at least assign it to someone? @telegraphic @griffinfoster ?
closing for now, can reopen if this is requested again
Time series files in sigproc, such as the output of dedisperse, are a type of filterbank file, data_type=2 in the header. The main difference is that they are frequency collapsed so there is no number of channels (nchans) or channel bandwidth (foff).
Using Filterbank() to load a tim filterbank file fails with:
In [1]: from filterbank import Filterbank
In [2]: Filterbank('Beam6_fb_D20150907T194703.buffer24.d32.dd262.tim')
KeyError Traceback (most recent call last)