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

Timestream high pass filter #250

Merged
merged 4 commits into from
Dec 21, 2023
Merged

Timestream high pass filter #250

merged 4 commits into from
Dec 21, 2023

Conversation

jrs65
Copy link
Contributor

@jrs65 jrs65 commented Aug 22, 2023

  • feat(containers): add DataWeightContainer to abstract over generic inputs
  • feat(containers): add VisBase as a very generic container for visibilities
  • feat(HPFTimeStream): high pass filter a generic timestream

Copy link
Contributor

@rikvl rikvl left a comment

Choose a reason for hiding this comment

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

I found two small potential typos.

As far as I can tell, the rest is fine

Implicitly pad the timestream with this many multiples of tau worth of zeros.
This is used to mitigate edge effects. The default is 2.
window
Use a Blackman window when determining the low-pass filtered timestream. When
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Use a Blackman window when determining the low-pass filtered timestream. When
Use a Blackman window when determining the high-pass filtered timestream. When

Not sure if this is a typo or if I misunderstand something

@property
def weight(self) -> memh5.MemDataset:
"""The weights for each data point."""
if not self._weight_name:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if not self._weight_name:
if not self._weight_dset_name:

@jrs65 jrs65 merged commit 4bc1cf0 into master Dec 21, 2023
4 checks passed
@jrs65 jrs65 deleted the ts-hpf branch December 21, 2023 12:07
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