Code Monkey home page Code Monkey logo

gwsky's Introduction

GWsky: tiling the skymap in Fields of View

NEW GWsky v5.0 only for python 3

Short Turorial to localize events and manage a FoV sequence with the GWsky_pointing.txt

GWsky presentation here

GWsky is an interactive Python script to generate a sequence of pointings given a specific Field of View (FoV). The script aims to split the large GW sky localization into several independent areas.

It defines a sequence of FoVs from a fixed position over the sky, e.g., starting from the highest probability pixel. The results are displayed in Aladin Sky Atlas using the SAMPIntegratedClient class.

The Aladin v10.076 is recommended http://aladin.u-strasbg.fr/java/Aladin.jar Run it typing

                         java -Xmx2g -jar Aladin.jar

The airmass and the integrated probability are provided in real time. Moreover, specifying the ID of a catalog, a query to the Vizier database is sent and the relative items are listed in each FoV.

The FoVs are evenly spaced assuming that the shortest angular distance between two points on the celestial sphere is measured along a great circle that passes through both of them:

                        cosθ=sinδ1sinδ2+cosδ1cosδ2cos(α1−α2), 

where (α1,δ1) and (α2,δ2) are the right ascensions and declinations of the two points on the sky.

Cardinal directions are allowed and the FoVs can be overlaid or separated from the default position following the user's selection. A GUI guides the user through the sequential steps https://vimeo.com/182427599

alt tag

Requirements

GWsky runs under Python 3.x.x
                           
astropy, numpy, matplotlib, healpy, scipy, astroquery, mocpy

Running it

>>> from GWsky import gwsky

Building from source

The development version can be obtained and installed from github:

$ git clone https://github.com/ggreco77/GWsky
$ cd GWsky
$ (sudo) python3 setup.py install

alt tag M. Branchesi, G. Greco and G. Stratta are supported by the Italian Ministry of Education, University and Research via grant FIRB 2012- RBFR12PM1F.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.