Coder Social home page Coder Social logo

george-hummus / saltnpepper Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.72 MB

An automated pipeline to identify interesting transients from the Transient Name Server (TNS) and request observations of them with the Liverpool Telescope and its MOPTOP instrument for the PEPPER Survey.

Python 95.77% HTML 2.37% Shell 1.86%
astronomy telescopes follow-up python supernovae time-domain time-domain-astronomy transient-astronomy transients

saltnpepper's Introduction

SALT&PEPPER - Supernova Alerts for the Liverpool Telescope & PEPPER

An automated pipeline to identify interesting transients from the Transient Name Server (TNS) and request observations of them with the Liverpool Telescope and its MOPTOP instrument for the PEPPER Survey.

SALT&PEPPER is broken into 5 modules

  • BILLY: Updates a local copy of the TNS database using the updates released daily by the TNS at 00:00 UTC.
  • LUCY: Calculates the priority score lists for both PEPPER Fast and Slow Surveys.
  • MR. KITE: Send out 2 daily email alerts - one with the priority score lists, the other with the statuses of observation requests made to the Liverpool Telescope.
  • RITA: Requests observations of the transients with the Liverpool Telescope.
  • SGT. P: Automatically downloads any data of observations requested via SALT&PEPPER from the Liverpool Telescope archive.

Flow chart of the structure of SALT&PEPPER

Instructions

  • Clone this repository.
  • Fill out the credential files ("bot_info.json", "email_creds.json", "LT_creds.json", and "LTarchive_creds.json") with the required information.
  • Specify the observational parameters in the "obs_prams.json" file.
  • Add any email addresses to “correspondents.csv” (one per line) which will receive the daily alerts.
  • Install the packages required to run the pipeline via: pip install -r requirements.txt.
  • Download ltrtml from here and put "ltrtml.py" in the base SALT&PEPPER directory.
  • Use crontab to run SALT&PEPPER daily. E.g., 00 22 * * * cd {your path to SALT&PEPPER directory}; bash SnP >> SnP.log 2>&1 will run the pipeline every day at 22:00 local time and add any outputs to the log. Note, a built-in delay means the pipeline will not start until after 00:00 UTC when the TNS updates are released.

saltnpepper's People

Contributors

george-hummus avatar

Stargazers

 avatar

Watchers

 avatar

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.