Skip to main content

gwemopt

Gravitational-wave Electromagnetic Optimization

Coverage Status CI PyPI version

Citing gwemopt

When utilizing this code for a publication, kindly make a reference to the package by its name, gwemopt, and a citation to the software papers Optimizing searches for electromagnetic counterparts of gravitational wave triggers and Teamwork Makes the Dream Work: Optimizing Multi-Telescope Observations of Gravitational-Wave Counterparts. The BibTeX entry for the papers are:

@article{Coughlin:2018lta,
    author = "Coughlin, Michael W. and others",
    title = "{Optimizing searches for electromagnetic counterparts of gravitational wave triggers}",
    eprint = "1803.02255",
    archivePrefix = "arXiv",
    primaryClass = "astro-ph.IM",
    doi = "10.1093/mnras/sty1066",
    journal = "Mon. Not. Roy. Astron. Soc.",
    volume = "478",
    number = "1",
    pages = "692--702",
    year = "2018"
}

and

@article{Coughlin:2019qkn,
    author = "Coughlin, Michael W. and others",
    title = "{Optimizing multitelescope observations of gravitational-wave counterparts}",
    eprint = "1909.01244",
    archivePrefix = "arXiv",
    primaryClass = "astro-ph.IM",
    doi = "10.1093/mnras/stz2485",
    journal = "Mon. Not. Roy. Astron. Soc.",
    volume = "489",
    number = "4",
    pages = "5775--5783",
    year = "2019"
}

and for the ability to balance field exposures Dynamic scheduling: target of opportunity observations of gravitational wave events.

@article{Almualla:2020hbs,
    author = {Almualla, Mouza and Coughlin, Michael W and Anand, Shreya and Alqassimi, Khalid and Guessoum, Nidhal and Singer, Leo P},
    title = {Dynamic scheduling: target of opportunity observations of gravitational wave events},
    journal = {Monthly Notices of the Royal Astronomical Society},
    volume = {495},
    number = {4},
    pages = {4366-4371},
    year = {2020},
    month = {06},
    issn = {0035-8711},
    doi = {10.1093/mnras/staa1498},
    url = {https://doi.org/10.1093/mnras/staa1498},
    eprint = {https://academic.oup.com/mnras/article-pdf/495/4/4366/33371783/staa1498.pdf},
}

Setting up the environment

If you want the latest version, we recommend creating a clean environment:

conda create -n gwemopt python=3.11
git clone git@github.com:skyportal/gwemopt.git
cd gwemopt
pip install -e .
pre-commit install

or if you just want the latest version released on PyPI:

pip install gwemopt

If you run into dependency issues, you can try installing dependencies via conda:

conda install numpy scipy matplotlib astropy h5py shapely
conda install -c astropy astroquery
conda install -c conda-forge voeventlib astropy-healpix python-ligo-lw igwn-segments ligo.skymap ffmpeg

And then run pip install -e . again.

Usage

Once installed, You can use gwemopt via the command line:

gwemopt-run ....

where ... corresponds to the various arguments.

Tests

To run the tests, you'll first need to install gwemopt with the testing dependencies:

pip install -e ".[test]"

Then you can run the tests using:

coverage run -m pytest -v -s

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gwemopt-0.4.2.tar.gz (119.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gwemopt-0.4.2-py3-none-any.whl (120.2 MB view details)

Uploaded Python 3

File details

Details for the file gwemopt-0.4.2.tar.gz.

File metadata

  • Download URL: gwemopt-0.4.2.tar.gz
  • Upload date:
  • Size: 119.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for gwemopt-0.4.2.tar.gz
Algorithm Hash digest
SHA256 018b4d77e4f79c5900487867fff636432a514dab85a45fcbfcadfe332329031d
MD5 674d37b4122031929a438757c6c4fff2
BLAKE2b-256 1a1b2444a0a83aaafc6b26cf0b38b7a8110b3fca10af448f9e1c7223d3c04cd1

See more details on using hashes here.

File details

Details for the file gwemopt-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: gwemopt-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 120.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for gwemopt-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0a97f1acb2d711c59b2b3a0218e8cc534e0ef3f1a96fb9340ba7d4993256a7fd
MD5 bd0ad80bbb9348ff2be4e02f7fb21ca6
BLAKE2b-256 325b0986d896ea0064b52ba8e419acc324e62d31cf3164fc82f02c56920c0240

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 files

0.4.1

2 files

0.4.0

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.1

2 files

0.1.0

2 files

0.0.84

1 file

0.0.82

1 file

0.0.81

1 file

0.0.80

1 file

0.0.79

1 file

0.0.77

1 file

0.0.76

3 files

0.0.75

2 files

0.0.74

1 file

0.0.73

1 file

0.0.72

1 file

0.0.71

1 file

0.0.70

1 file

0.0.69

1 file

0.0.68

1 file

0.0.66

1 file

0.0.65

1 file

0.0.62

1 file

0.0.61

1 file

0.0.60

1 file

0.0.59

1 file

0.0.58

1 file

0.0.57

1 file

0.0.56

1 file

0.0.55

1 file

0.0.54

1 file

0.0.53

1 file

0.0.52

1 file

0.0.51

1 file

0.0.49

1 file

0.0.48

1 file

0.0.47

1 file

0.0.46

1 file

0.0.44

1 file

0.0.43

1 file

0.0.41

1 file

0.0.40

1 file

0.0.39

1 file

0.0.38

1 file

0.0.37

1 file

0.0.36

1 file

0.0.35

1 file

0.0.34

1 file

0.0.33

1 file

0.0.32

1 file

0.0.31

1 file

0.0.30

1 file

0.0.29

1 file

0.0.28

1 file

0.0.27

1 file

0.0.26

1 file

0.0.25

1 file

0.0.24

1 file

0.0.23

1 file

0.0.22

1 file

0.0.21

1 file

0.0.20

1 file

0.0.19

1 file

0.0.18

1 file

0.0.17

1 file

0.0.16

1 file

0.0.13

1 file

0.0.12

1 file

0.0.11

1 file

0.0.10

1 file

0.0.7

1 file

0.0.6

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page