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.
=========================
*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
Release history Release notifications | RSS feed
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.3.tar.gz
(50.4 kB
view details)
Built Distribution
breaker-0.3-py2.7.egg
(126.2 kB
view details)
File details
Details for the file breaker-0.3.tar.gz
.
File metadata
- Download URL: breaker-0.3.tar.gz
- Upload date:
- Size: 50.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30b3bcaaf574f523c85f0ba0e296eb6a7d741c6ca0775ab74d6cee3706a3c72a |
|
MD5 | 391bad78e65fa03362b475dbadd6254a |
|
BLAKE2b-256 | ef2652b5b6f1e6a801124a6cfd95aa893337f3f8dfbf53f33beaeda127657000 |
File details
Details for the file breaker-0.3-py2.7.egg
.
File metadata
- Download URL: breaker-0.3-py2.7.egg
- Upload date:
- Size: 126.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f243ded3a8f4573c12c34f1a0d475dd7ab60820e2fbb4affbf4de4e64a34fba |
|
MD5 | e726f166379f516bde69981607065937 |
|
BLAKE2b-256 | 9cef8bb71206ed16fd71171287a974f66a9ff3228a5c6b7236e0f17ee363f298 |