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

Add gate and paint function #3371

Merged
merged 3 commits into from
Jul 12, 2020
Merged

Add gate and paint function #3371

merged 3 commits into from
Jul 12, 2020

Conversation

cdcapano
Copy link
Contributor

This adds the gate and in-paint function used by the IAS group to the gate module. It just takes a right index and left index. We probably will want to add another function that takes in times, but since that may require doing sub-sample shifting, I thought it might be better to add that as a separate function, which would call this function.

I've only tested that this works on a time series without failing. I haven't actually checked that it gives reasonable results.

@cdcapano cdcapano requested a review from ahnitz July 10, 2020 17:59
Copy link
Member

@ahnitz ahnitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't break any existing functionality so, OK, but you should check that it actually works as intended.

@ahnitz ahnitz merged commit 4a5fb1f into gwastro:master Jul 12, 2020
lenona pushed a commit to lenona/pycbc that referenced this pull request Sep 14, 2020
* add gate and paint function

* add option to copy

* Update gate.py

Co-authored-by: Alex Nitz <alex.nitz@gmail.com>
OliverEdy pushed a commit to OliverEdy/pycbc that referenced this pull request Apr 3, 2023
* add gate and paint function

* add option to copy

* Update gate.py

Co-authored-by: Alex Nitz <alex.nitz@gmail.com>
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