Skip to content
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

Injecting waveforms at specific GPS times #2

Open
rutujagurav opened this issue Dec 3, 2023 · 2 comments
Open

Injecting waveforms at specific GPS times #2

rutujagurav opened this issue Dec 3, 2023 · 2 comments

Comments

@rutujagurav
Copy link

Hello,

Is it possible to inject waveforms at specific GPS times?

@timothygebhard
Copy link
Owner

Hi!

That depends a bit on what exactly you mean by “inject waveforms at specific GPS times”. The code does provide a function get_detector_signals() (see here) which can convert a given simulated waveform into the signals that would be observed by the H1/L1 detectors at a given GPS time. If you then want to inject that signal into the noise from those detectors at that exact GPS time, you will probably have to implement this part yourself. If you have the data available, that should not be too hard, though, and you could take some inspiration from this portion of the code to inject signals with a given target SNR.

I feel I should point out though that this repository is quite dated at this point and is no longer actively developed / maintained. You may want to check if there are other implementations that are more active and / or provide the exact features you are looking for 🙂

@rutujagurav
Copy link
Author

Hello, @timothygebhard. Thank you so much for your response! I apologize for the delay in mine.

I indeed want to inject signal into the noise (well, just data) from the detector(s) at a given GPS time.
I have a list of GPS times-of-interest from the latest observing run of LIGO and using the download script you provided - download_gwosc_data.py I have downloaded the strain data for the whole observing run.

Unfortunately, I haven't found any any newer repositories for such dataset generation, neither public nor internal to LIGO, let alone finding one that's as well-curated as ggwd! Do you know of any successors to ggwd?

I reached out hoping you could point me in the right direction to implementing the functionality I need.

I figured I could supply the GPS times from my list to the variable noise_times that is the noise times generator in the generate_sample.py script, specifically here. I am not sure if it is as simple as this. I would deeply appreciate your feedback on this.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants