Skip to content
Phil Marshall edited this page May 19, 2015 · 4 revisions

Install MAF

To be able to work with the MAF, you'll need to install the LSST DM stack, including the sims packages.

It's fairly common to have difficulties with this: common fixes required are:

Install the contributed MAF metrics

git clone  [email protected]: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 -r . -c 

Setup the package, to get the modules onto your PYTHONPATH:

setup sims_maf_contrib

If you don't do this you'll get an import error.

Likewise, to get a local copy of the MAF notebooks, that you can copy and extend:

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

Get an OpSim Database

You can download an opsim SQL database from the LSST DM sims group confluence pages. This is probably best stored in the examples directory, but you can put it where you like and adjust the paths to it.

Start a sims session

At the terminal prompt:

loadLSST.csh
setup sims_maf -t sims
setup sims_maf_contrib

Still stuck?

If all this is not enough to get started, you'd better write an issue.