-
Notifications
You must be signed in to change notification settings - Fork 46
Getting Started
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:
- Check your shell for troublesome environment variables
- Search the lsst-dm-stack-users email list for problems that have already been solved.
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
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.
At the terminal prompt:
loadLSST.csh
setup sims_maf -t sims
setup sims_maf_contrib
If all this is not enough to get started, you'd better write an issue.
Back to the sims_maf_contrib
wiki home page.