Skip to main content

Tools used by the PanSTARRS & ATLAS teams when surveying the likely sky-locations of LIGO-VIRGO discovered Gravitational Waves

Project description

breaker
=========================

*Tools used by the PanSTARRS & ATLAS teams when surveying the likely sky-locations of LIGO-VIRGO discovered Gravitational Waves*.

Usage
======

.. code-block:: bash

breaker update [-n] [-s <pathToSettingsFile>]
breaker plot (timeline|history|sources [<gwid>]) [-s <pathToSettingsFile>]
breaker plot comparison <gwid> <pathToMapDirectory> [-s <pathToSettingsFile>]
breaker faker <ps1ExpId> [-s <pathToSettingsFile>]
breaker stats <gwid> [-s <pathToSettingsFile>]

-h, --help show this help message
-s, --settings the settings file
-n, --updateNed update the NED database steam
plot update the gravitational wave plots
timeline observations looking forward from date of GW detection
history observations from the past x days
faker generate a catalogue of simulated transient source in ps1 FP
stats output some stats for the GW surveys

Documentation
=============

Documentation for breaker is hosted by `Read the Docs <http://breaker.readthedocs.org/en/stable/>`__ (last `stable version <http://breaker.readthedocs.org/en/stable/>`__ and `latest version <http://breaker.readthedocs.org/en/latest/>`__).

Installation
============

Currently you need to manually install ``dryxPython`` and ``HMpTy`` packages before installing breaker.

.. todo::

- remove dependencies on ``dryxPython`` and ``HMpTy``

The easiest way to install breaker us to use ``pip``:

.. code:: bash

pip install breaker

Or you can clone the `github repo <https://github.com/thespacedoctor/breaker>`__ and install from a local version of the code:

.. code:: bash

git clone git@github.com:thespacedoctor/breaker.git
cd breaker
python setup.py install

To upgrade to the latest version of breaker use the command:

.. code:: bash

pip install breaker --upgrade

Troubleshooting
^^^^^^^^^^^^^^^

If you're having trouble with the installation here are a few things to try:

**Astropy and Clang**. On Mac OS you may have to set your C-compiler to clang before astropy will install. So before the breaker installation, try:

.. code:: bash

setenv CC clang


or, for bash:

.. code:: bash

export CC=clang


Then try and install breaker again.

**healpy**. If you're having trouble installing healpy try installing the `lastest version from github <https://github.com/healpy/healpy/releases>`_. Download and extract the tarball.

Untar, set your ``MACOSX_DEPLOYMENT_TARGET`` environment variable and install:

.. code:: bash

tar -xvf healpy-1.9.0.tar.gz
cd healpy-1.9.0
setenv MACOSX_DEPLOYMENT_TARGET 10.11
python setup.py install




Development
-----------

If you want to tinker with the code, then install in development mode.
This means you can modify the code from your cloned repo:

.. code:: bash

git clone git@github.com:thespacedoctor/breaker.git
cd breaker
python setup.py develop

`Pull requests <https://github.com/thespacedoctor/breaker/pulls>`__
are welcomed!


Issues
------

Please report any issues
`here <https://github.com/thespacedoctor/breaker/issues>`__.

License
=======

Copyright (c) 2016 David Young

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

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

Source Distribution

breaker-0.2.tar.gz (48.1 kB view details)

Uploaded Source

Built Distribution

breaker-0.2-py2.7.egg (116.9 kB view details)

Uploaded Source

File details

Details for the file breaker-0.2.tar.gz.

File metadata

  • Download URL: breaker-0.2.tar.gz
  • Upload date:
  • Size: 48.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for breaker-0.2.tar.gz
Algorithm Hash digest
SHA256 5ca575705ff49816cdcd2f1891dce0beca09d352432b3a36cc87a33276e43b3a
MD5 90caa328bdc101c9ae69efd379738063
BLAKE2b-256 1a9cfec890a860c4db1d6fdea2e1823327b6e153a4a0db664bd93b040ec72200

See more details on using hashes here.

File details

Details for the file breaker-0.2-py2.7.egg.

File metadata

  • Download URL: breaker-0.2-py2.7.egg
  • Upload date:
  • Size: 116.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for breaker-0.2-py2.7.egg
Algorithm Hash digest
SHA256 919a068eabdd64351dfa148de6fa64642ba036d7082b89d6fc3766f38436f46f
MD5 dc481e0f86c26465a4d1bd503ab02089
BLAKE2b-256 14b760ed1421226f9d4fcd4836cebde01e945daf944cadd939af7a1267d585b7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page