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

Improve how pycbc_live handles localization-only detectors #4635

Merged

Conversation

titodalcanton
Copy link
Contributor

@titodalcanton titodalcanton commented Feb 15, 2024

LOD = localization-only detectors

  • Do not initialize single-detector FAR estimators for LOD
  • Only use triggering detectors for PSD var statistic
  • Ignore LOD in rank > 0 processes
  • Correct the GraceDB annotation to explain which detectors contributed to the FAR and list the LOD
  • Only list triggering detectors in background dump filename
  • Code reformatting

I decided to leave the LOD in the name of the main output files, because to me that prefix indicates which interferometers are in principle represented in that file, and in fact the PSDs of the LOD are stored in it.

LOD = localization-only detectors

* Do not initialize single-detector FAR estimators for LOD
* Only use triggering detectors for PSD var statistic
* Correct the GraceDB annotation to explain which detectors
  contributed to the FAR and list the LOD
* Only list triggering detectors in background dump filename
* Code reformatting
@titodalcanton
Copy link
Contributor Author

@SouradeepPal I cannot assign you as a reviewer but any comment is appreciated.

Copy link
Contributor

@maxtrevor maxtrevor left a comment

Choose a reason for hiding this comment

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

The rest of this looks good to me

bin/pycbc_live Outdated Show resolved Hide resolved
Copy link
Contributor

@maxtrevor maxtrevor left a comment

Choose a reason for hiding this comment

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

Everything looks good now, approving

@titodalcanton titodalcanton merged commit 320ac7f into gwastro:master Feb 19, 2024
33 checks passed
@titodalcanton titodalcanton deleted the live_improve_loc_only_ifos branch February 19, 2024 16:18
titodalcanton added a commit to titodalcanton/pycbc that referenced this pull request Feb 19, 2024
)

* Improve how pycbc_live handles localization-only detectors

LOD = localization-only detectors

* Do not initialize single-detector FAR estimators for LOD
* Only use triggering detectors for PSD var statistic
* Correct the GraceDB annotation to explain which detectors
  contributed to the FAR and list the LOD
* Only list triggering detectors in background dump filename
* Code reformatting

* Fixes

* Fixes

* Use attributes of event manager instead

* Improve GraceDB annotation

* Fix

* Ignore loc-only detectors for rank > 0

* Further clarify which detectors are used only for localization

* Main loop should go through the loc-only detectors only in rank 0
titodalcanton added a commit to titodalcanton/pycbc that referenced this pull request Feb 20, 2024
titodalcanton added a commit that referenced this pull request Feb 20, 2024
titodalcanton added a commit to titodalcanton/pycbc that referenced this pull request Feb 20, 2024
titodalcanton added a commit that referenced this pull request Feb 21, 2024
* [pycbc_live] Simplify and fix how CLI options are passed to the SNR optimizer (#4628)

* adding non-optimizer specific options to args_to_string

* correct formatting

* simplifying if snr opt seed

* Adding extra-opts arg

* updating options in live example run.sh

* restoring deleted space

* removing redundant default

* moving all snr optimizer options to snr_opt_extra_opts

* updating argument help descriptions

* removing snr_opt options from pycbc live

* removing seed option from example

* removing args_to_string

* Actually, even simpler

---------

Co-authored-by: Tito Dal Canton <tito.dalcanton@ijclab.in2p3.fr>

* Stop testing on Python 3.7 (#4469)

* Bug: Live combine fits, different bin edge sizes causes an error (#4636)

* Update pycbc_live_combine_single_fits

* logging warn -> warning deprecation

* Improve how pycbc_live handles localization-only detectors (#4635)

* Improve how pycbc_live handles localization-only detectors

LOD = localization-only detectors

* Do not initialize single-detector FAR estimators for LOD
* Only use triggering detectors for PSD var statistic
* Correct the GraceDB annotation to explain which detectors
  contributed to the FAR and list the LOD
* Only list triggering detectors in background dump filename
* Code reformatting

* Fixes

* Fixes

* Use attributes of event manager instead

* Improve GraceDB annotation

* Fix

* Ignore loc-only detectors for rank > 0

* Further clarify which detectors are used only for localization

* Main loop should go through the loc-only detectors only in rank 0

* Fix comment bugs in #4635 (#4645)

* Set version to 2.1.5

---------

Co-authored-by: Arthur Tolley <32394213+ArthurTolley@users.noreply.github.com>
Co-authored-by: Gareth S Cabourn Davies <gareth.cabourndavies@ligo.org>
bhooshan-gadre pushed a commit to bhooshan-gadre/pycbc that referenced this pull request Mar 4, 2024
)

* Improve how pycbc_live handles localization-only detectors

LOD = localization-only detectors

* Do not initialize single-detector FAR estimators for LOD
* Only use triggering detectors for PSD var statistic
* Correct the GraceDB annotation to explain which detectors
  contributed to the FAR and list the LOD
* Only list triggering detectors in background dump filename
* Code reformatting

* Fixes

* Fixes

* Use attributes of event manager instead

* Improve GraceDB annotation

* Fix

* Ignore loc-only detectors for rank > 0

* Further clarify which detectors are used only for localization

* Main loop should go through the loc-only detectors only in rank 0
bhooshan-gadre pushed a commit to bhooshan-gadre/pycbc that referenced this pull request Mar 4, 2024
lpathak97 pushed a commit to lpathak97/pycbc that referenced this pull request Mar 13, 2024
)

* Improve how pycbc_live handles localization-only detectors

LOD = localization-only detectors

* Do not initialize single-detector FAR estimators for LOD
* Only use triggering detectors for PSD var statistic
* Correct the GraceDB annotation to explain which detectors
  contributed to the FAR and list the LOD
* Only list triggering detectors in background dump filename
* Code reformatting

* Fixes

* Fixes

* Use attributes of event manager instead

* Improve GraceDB annotation

* Fix

* Ignore loc-only detectors for rank > 0

* Further clarify which detectors are used only for localization

* Main loop should go through the loc-only detectors only in rank 0
lpathak97 pushed a commit to lpathak97/pycbc that referenced this pull request Mar 13, 2024
acorreia61201 pushed a commit to acorreia61201/pycbc that referenced this pull request Apr 4, 2024
)

* Improve how pycbc_live handles localization-only detectors

LOD = localization-only detectors

* Do not initialize single-detector FAR estimators for LOD
* Only use triggering detectors for PSD var statistic
* Correct the GraceDB annotation to explain which detectors
  contributed to the FAR and list the LOD
* Only list triggering detectors in background dump filename
* Code reformatting

* Fixes

* Fixes

* Use attributes of event manager instead

* Improve GraceDB annotation

* Fix

* Ignore loc-only detectors for rank > 0

* Further clarify which detectors are used only for localization

* Main loop should go through the loc-only detectors only in rank 0
acorreia61201 pushed a commit to acorreia61201/pycbc that referenced this pull request Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants