Skip to content

Common mode glitch #1229

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Common mode glitch #1229

wants to merge 2 commits into from

Conversation

ykyohei
Copy link
Contributor

@ykyohei ykyohei commented May 21, 2025

Modified get_glitch_flags to allow 1d array input and added preprocess for getting common mode. Also added unit test.

The motivation is to find and remove the glitch which is common among detectors. We have physical motivation for this kind of glitches. We can also do this on hwp demodulated timestreams to find the glitch induced by hwp angle.

Example preprocess config for common mode glitch.

    - name: "get_common_mode"
      calc:
        signal: "signal"
        method: "median"
        wrap: "signal_commonmode"
      save: True

    - name: "glitches"
      skip_on_sim: False
      glitch_name: "glitches_commonmode"
      calc:
        signal_name: 'signal_commonmode'
        t_glitch: 0.007
        buffer: 100
        hp_fc: 6.0
        n_sig: 10
      save: True

@ykyohei ykyohei marked this pull request as ready for review May 21, 2025 18:33
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.

1 participant