Giter VIP home page Giter VIP logo

sims_maf_contrib's Introduction

sims_maf_contrib

![Gitter](https://badges.gitter.im/Join Chat.svg)

This repository contains user contributed code for MAF (sims_maf), as well as tutorials on the use of MAF.

MAF ipython notebook tutorials can be found in the 'tutorials' directory. Start with the Index, which provides information on how to install MAF as well as an index to (some of) the tutorial notebooks.

MAF ipython notebooks demonstrating science applications can be found in the 'science' directory. To browse some example MAF analyses, check out the sims_maf_contrib Wiki!

If you get stuck, write us an issue and we'll improve this documentation.

Guidelines for contributors

New metric and stacker python classes go in 'mafContrib', and an ipython notebook demonstrating and documentating the new code goes into the relevant directory under 'science'.

When contributing new metrics, please be sure to include an ipython notebook documenting and explaining (in words) what your metric was intended to do. Feel free to use the existing notebooks as examples. Put your name and email in your ipython notebook and a comment near your python class.

Using the contributed metrics

First, move to where you would like to install the contributed metrics and clone the repo:

git clone  [email protected]:LSST-nonproject/sims_maf_contrib.git

OR (to clone via https instead of ssh, if you do not have a github account)

git clone  https://github.com/LSST-nonproject/sims_maf_contrib.git

Make sure you have setup the lsst environment, and declare the package with eups (you only need to do this once):

cd sims_maf_contrib
eups declare sims_maf_contrib -r . -t $USER

Setup the package (you have to do this every time you log into a new shell):

setup sims_maf_contrib -t $USER -t sims

Now you can run one of the ipython notebooks from the examples in your workspace - which must contain the required sqlite opsim database file. For example:

cd tutorials
ln -s [your data directory]/enigma_1189_sqlite.db .
jupyter notebook

(and then run the relevant notebooks).

sims_maf_contrib's People

Contributors

yoachim avatar rhiannonlynne avatar humnaawan avatar oboberg avatar drphilmarshall avatar cnsetzer avatar xiaolng avatar yuchaz avatar lundmb avatar simonkrughoff avatar keatonb avatar connolly avatar ebellm avatar willclarkson avatar mareuter avatar svalenti avatar gitter-badger avatar fedhere avatar jmeyers314 avatar rachel3834 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.