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

Detector and data changes #172

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Detector and data changes #172

wants to merge 14 commits into from

Conversation

maxisi
Copy link
Collaborator

@maxisi maxisi commented Oct 29, 2024

This PR introduces significant changes to the way that data and PSDs are handled. It includes a new data sub package that introduces Data and PowerSpectrum classes.

The Data class stores data in the time domain, with functionality to obtain FD representations with different windows as needed; the Data class can also retrieve strain online from GWOSC, and produce Welch estimates of the PSD (returning a PowerSpectrum object). Future data manipulation tools (e.g., reading in GW frames) should be added to this class.

The PowerSpectrum class includes utilities to draw simulated data, as well as interpolating to a given frequency grid.

The likelihood has been modified slightly to interact with these new objects.

I have checked the GW150914_IMRPhenomPV2.py example. Let me know which other examples should be working and I'll push further updates to this PR.

@maxisi maxisi requested a review from kazewong October 29, 2024 15:45
@maxisi maxisi self-assigned this Oct 29, 2024
@kazewong kazewong marked this pull request as ready for review December 1, 2024 01:10
@kazewong
Copy link
Owner

kazewong commented Dec 1, 2024

@maxisi While I am reviewing some of these changes, can you create a pull request to jim-dev branch instead of the main?

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

Successfully merging this pull request may close these issues.

2 participants