Skip to content

Add option to remove junk radiation before evaluating polarizations#49

Draft
vaishakp wants to merge 1 commit into
gwnrtools:masterfrom
vaishakp:remove_junk
Draft

Add option to remove junk radiation before evaluating polarizations#49
vaishakp wants to merge 1 commit into
gwnrtools:masterfrom
vaishakp:remove_junk

Conversation

@vaishakp
Copy link
Copy Markdown
Collaborator

The current behavior in WaveformModes.get_td_waveform does not allow for removal of junk radiation from the data.

This PR achieves the following:

  1. Removes Junk portion from WaveformModes obj before evaluating polarizations
  2. Allows for a choice of Junk time.

Desirable:

  1. Fetch Junk radiation time from WaveformModes obj

1. Add option to remove junk radiation before evaluating polarizations
and make it default.
2. lint
@vaishakp vaishakp marked this pull request as ready for review September 25, 2024 05:55
@vaishakp
Copy link
Copy Markdown
Collaborator Author

Tests on GT catalog failing as the reference-time is not the key used in their metadata.

Need to implement retrieving junk time with a uniform attr across catalogs

@vaishakp vaishakp marked this pull request as draft September 25, 2024 06:18
@prayush
Copy link
Copy Markdown
Contributor

prayush commented Sep 25, 2024

For catalogs that do not provide a reference-time by this or any other name, in simulation/catalog metadata, are those that provide the waveform after removing junk portion of it. Therefore for those catalogs, I suggest initializing reference-time=0 by default for all simulations, unless specifically provided an overriding value.

@prayush
Copy link
Copy Markdown
Contributor

prayush commented Jul 24, 2025

Please cherry-pick #51

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