Repository navigation
Add generic spectrogram exampleAdd example for creating GenericSpectrogram from unsupported files - #288
Open
25btec017-eng wants to merge 2 commits into
Open
Add generic spectrogram exampleAdd example for creating GenericSpectrogram from unsupported files#28825btec017-eng wants to merge 2 commits into
25btec017-eng wants to merge 2 commits into
Conversation
Member
|
Please note that we are currently busy migrating the data container to NDCube and might be slow to finish example gallery PR's to avoid adding to migration workload. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request adds a new example demonstrating how to construct a
GenericSpectrogramobject from data obtained from an unsupported file format.The purpose of this contribution is to help users understand how they can work with spectrogram data even when their original file format is not directly supported by the radiospectra library.
Changes Made
examples/plot_generic_spectrogram.py.GenericSpectrogramobject.Motivation
The radiospectra library supports specific radio spectrogram data formats. However, users may also have spectrogram data stored in other formats.
This example aims to demonstrate an alternative approach by manually constructing a
GenericSpectrogramobject, allowing users to work with data from formats that do not have a dedicated reader.Related Issue
Closes #286
AI Assistance Disclosure
AI tools were used for:
The implementation has been reviewed by the contributor. The contributor takes responsibility for understanding the changes, verifying their correctness, and ensuring compatibility with the existing radiospectra API.