Giter VIP home page Giter VIP logo

monitor's Introduction

The DESC Monitor

Travis CI build status

Extracts the light curves of ("monitors") all time-variable objects of cosmological interest. The basic concept is a general purpose light curve extraction tool, that can be sub-classed to specialize in supernova monitoring or lensed quasar monitoring. In an ideal world, this code would merely take care of the book-keeping involved in assembling light curves in the appropriate format for modeling codes like SNCosmo and SLTimer by simply querying the various DM Level 2 databases. However, we are aware of the possibility that we may need to implement multi-object extended MultiFit (a.k.a. "SuperFit") routines into the Monitor, if the Level 2 light curves do not provide sufficient accuracy. (This is a particular worry for the SLMonitor, which will need to deal with highly blended objects). The Monitor is therefore being developed as "Level 3" code, following DM standards and module structure.

Setup and testing:

From bash:

$ source setup/setup.sh
$ nosetests

or use the c-shell alternative. The Monitor uses some DM stack code, notably the Butler; see the installation notes for help getting set up.

#####Setting up ssh tunnel for database access:

In order to produce light curves with output from the Twinkles project one needs to be able to access the SQL database where DM processed output is stored. To do that one needs to setup an ssh tunnel for access. We use the same tools as the connection to the UW LSST CATSIM Database with instructions here. Follow the step at the beginning to install the necessary tools and then replace step 1 code with the following command line entry with your NERSC username in the proper place:

ssh -L 3307:scidb1.nersc.gov:3306 [email protected]

Do not worry about step 2 and continue to step 3 where you are instructed to create a db-auth.paf file, but replace the code on the website with the following parameters:

database: {
  authInfo: {
    host: '127.0.0.1'
    port: 3307
    user: $db_username
    password: $db_password
  }
}

If you do not have the $db_username or $db_password and are interested in access please contact a member of the Monitor team for more information.

Demo

See our demo ipython notebook here.

People

License etc

This is open source software, available under the BSD license. If you are interested in this project, please do drop us a line via the hyperlinked contact names above, or by writing us an issue.

monitor's People

Contributors

jbkalmbach avatar rbiswas4 avatar drphilmarshall avatar jchiang87 avatar brianv0 avatar linan7788626 avatar

Watchers

Heather Kelly 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.