MAF - the 'Metrics Analysis Framework' provides a framework to make it easy to read and visualize data from the LSST Operations Simulation (OpSim). Using MAF you can create sky maps of the OpSim outputs evaluated over a large set of RA/Dec points (such as a healpix grid of the survey depth), visualize your own analyses (or metrics), and create histograms and simple summary statistics of those metric values. Most importantly, you can easily write metrics to evaluate the OpSim pointing history for your own science.
These instructions are for a Mac but may work for other systems
docker run -i -e USER=maf -v /Users/XXX/YYY:/home/maf/YYY -P -p 8888:8888 --name maf -t lsst/maf
Note: do not name your 'YYY' directory 'lsst' as that will overwrite the directory containing the LSST software in the container
This will start an interactive bash shell in the directory /home/maf. It will also mount the directory /Users/XXX/YYY (e.g. the directory you wish to write your notebooks in) as YYY within the docker container and open up the iPython port so that you can access, through your browser, notebooks running in the docker container.
To set up the LSST software with all of the appropriate environment variables
source lsst/loadLSST.bash
setup sims_maf -t sims
Change to the directory (e.g. YYY) where you keep your iPython notebooks and run
ipython notebook --ip=0.0.0.0 --no-browser [notebook].ipynb
Check the ip address for the docker container
boot2docker ip
Open your browser and point to the ip address and port
192.168.59.103:8888
and run the notebook (changes will be saved in the directory YYY)
If you exit the container you can reenter it with
docker start -i maf
Content type
Image
Digest
sha256:b565a9612…
Size
3 GB
Last updated
over 11 years ago
docker pull lsst/maf