
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
Analyzing simulated ZTF surveys with LSST MAF | ||||||||
| Line: 25 to 25 | ||||||||
| Now add the LSST conda channel and install the relevant software: | ||||||||
| Changed: | ||||||||
| < < | conda config --add channels http://eupsforge.net/conda/dev | |||||||
| > > | conda config --add channels http://conda.lsst.codes/sims | |||||||
| conda install lsst-sims-maf | ||||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
Analyzing simulated ZTF surveys with LSST MAF | ||||||||
| Line: 70 to 70 | ||||||||
|
High-level MAF resources are available here | ||||||||
| Changed: | ||||||||
| < < | This index | |||||||
| > > | This talk | |||||||
| Deleted: | ||||||||
| < < | Many cutting-edge | |||||||
| \ No newline at end of file | ||||||||
| Added: | ||||||||
| > > | The sims_maf_contrib | |||||||
| \ No newline at end of file | ||||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
Analyzing simulated ZTF surveys with LSST MAF | ||||||||
| Line: 69 to 69 | ||||||||
Learning more about MAFHigh-level MAF resources are available here | ||||||||
| Added: | ||||||||
| > > |
This index | |||||||
| \ No newline at end of file | ||||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
| Added: | ||||||||
| > > | Analyzing simulated ZTF surveys with LSST MAF | |||||||
| Added: | ||||||||
| > > | ||||||||
| Changed: | ||||||||
| < < | installation (see http://lsstsciencecollaborations.github.io/ObservingStrategy/ | |||||||
| > > | Installation | |||||||
| Changed: | ||||||||
| < < | conda is recommended | |||||||
| > > | LSST MAF | |||||||
| Changed: | ||||||||
| < < | installing: | |||||||
| > > | Download and install the Anaconda python distribution here
conda create --name maf python=2.7 python
Next, activate the new environment you created:
source activate maf
Now add the LSST conda channel and install the relevant software: | |||||||
conda config --add channels http://eupsforge.net/conda/dev
conda install lsst-sims-maf
| ||||||||
| Changed: | ||||||||
| < < | each time you want to run it: | |||||||
| > > | (Later, if you want to upgrade to the most recent packages, use conda update --all.)
Each time you want to run maf, you need to execute three commands: | |||||||
| Added: | ||||||||
| > > | source activate maf | |||||||
| source eups-setups.sh setup sims_maf | ||||||||
| Deleted: | ||||||||
| < < | ipython notebook | |||||||
| Added: | ||||||||
| > > |
I simply created an alias in my .bashrc to simply this process:
alias mafinit='source activate maf; source eups-setups.sh; setup sims_maf'
ZTF-specific toolsTo analyze ztf_sim outputs
git clone https://github.com/ZwickyTransientFacility/ztf_maf.git
You'll also need to download some ztf_sim simulations. Their location is TBD.
Running MAF analysesLet's take a look at an example notebook withztf_sim. Change directories to the ztf_maf/notebooks/ directory, then execute
mafinit
jupyter notebook
A directory will open in your web browser; click ZTF_MAF_intro.ipynb and start hitting Shift-Enter in the notebook that appears.
Learning more about MAFHigh-level MAF resources are available here | |||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > |
conda config --add channels http://eupsforge.net/conda/dev
conda install lsst-sims-maf
each time you want to run it:
source eups-setups.sh setup sims_maf ipython notebook | |||||||