Difference: MafNotes (1 vs. 5)

Revision 52017-01-13 - EricBellm

Line: 1 to 1
 
META TOPICPARENT name="CadenceStudy"

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

Revision 42016-12-01 - EricBellm

Line: 1 to 1
 
META TOPICPARENT name="CadenceStudy"

Analyzing simulated ZTF surveys with LSST MAF

Line: 70 to 70
  High-level MAF resources are available here and here.
Changed:
<
<
This index provides a useful link to example code and introductory talks. The sims_maf_contrib package contains community-developed metrics for various science cases.
>
>
This talk provides a good overview of the capabilities of the MAF framework. This index provides a useful link to a variety of example code.
 
Deleted:
<
<
Many cutting-edge
 \ No newline at end of file
Added:
>
>
The sims_maf_contrib package contains community-developed metrics for various science cases.
 \ No newline at end of file

Revision 32016-12-01 - EricBellm

Line: 1 to 1
 
META TOPICPARENT name="CadenceStudy"

Analyzing simulated ZTF surveys with LSST MAF

Line: 69 to 69
 

Learning more about MAF

High-level MAF resources are available here and here.

Added:
>
>
This index provides a useful link to example code and introductory talks. The sims_maf_contrib package contains community-developed metrics for various science cases.

Many cutting-edge

 \ No newline at end of file

Revision 22016-11-21 - EricBellm

Line: 1 to 1
 
META TOPICPARENT name="CadenceStudy"
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.

Create a conda environment for maf, to isolate the dependencies:

    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 tools

To analyze ztf_sim outputs, we'll use the ztf_maf package.

    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 analyses

Let's take a look at an example notebook with ztf_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 MAF

High-level MAF resources are available here and here.

Revision 12015-09-01 - EricBellm

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CadenceStudy"

installation (see http://lsstsciencecollaborations.github.io/ObservingStrategy/):

conda is recommended

installing:

    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
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback