-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Waterfall from existing data array + header dict combo currently broken (setup_freqs()
missing)
#264
Comments
setup_freqs()
missing)
I went all the way back to blimpy version 1.3.4 (earliest release) i.e. https://github.com/UCBerkeleySETI/blimpy/tree/1.3.4 The The current Waterfall instantiation ( So, the desired function seems to be to instantiate a new Waterfall object given a metadata (header) dict object and a complete data matrix as opposed to getting this from a file. This should be new code that is equivalent to the "if filename" section preceding it. Agree? |
Anyone reading this issue should not be distracted by the |
@Sofysicist |
Agree with your definition of the desired function here, thanks. I actually just ran into a need for this functionality again (making a waterfall object from an existing data array and header dictionary), so it is definitely still-of-interest! |
I was thinking about a simple interface to produce a blimpy Waterfall object. Inspiration came from https://github.com/UCBerkeleySETI/turboseti_stream/blob/main/turboseti_stream/doppler_finder.py, the Gnu Radio project of Summer 2021. However, on second thought, we will go with a single Waterfall class with the existing parameters (simpler). I'll make it work with the supplied data matrix and metadata (header dict). What are you planning to do with the Waterfall object? Plot? Save it to an .h5 file or .fil file? |
Implement enhancement request #264
@Sofysicist |
@Sofysicist |
I was trying to use the header_dict + data_array method for creating a Waterfall object, and it looks like it refers to a function that is no longer in the waterfall.py file (
_self.setup_freqs()
). This functionality would be useful (for me, and hopefully others!) if it was brought back, because I'd like to identify RFI-heavy channels with AOFLAGGER, modify the blimpy data array, and visualize the modified array with blimpy plotting tools.blimpy/blimpy/waterfall.py
Line 116 in 18a8131
Any help tracking down that original function would be appreciated - I can't seem to find it anywhere else in the repo at a glance
The text was updated successfully, but these errors were encountered: