Skip to content

Latest commit

 

History

History
103 lines (69 loc) · 3.87 KB

README.md

File metadata and controls

103 lines (69 loc) · 3.87 KB

Getting started with the SYNTHETIC package

There are two ways to run this package

Following a manual install

Instructions for this are found here

You can read more about the required dependencies here

Pre set conda environment.

At the moment this is available in the LMU USM server, where you should use the following command to activate the environment

conda activate /home/moon/vargatn/anaconda3/envs/galsim

In either case, you can use the checkup script

python env_checkup.py

If this runs without errors, then you are set to go!

Tutorial Status:

  1. Part A 🟢 functional and data hosted externally
  2. Part C 🟢 functional and data packaged
  3. Part B 🟢 functional and data packaged

Part A: The generative model

This section is run first at a place where one can access the DC2 dataset along with the desc_stack_weekly

note this is quite time intensive, is primarily provided for reference on how the data is prepared

🔵 A0 Prepare catalog on NERSC

  • status: Must be validated again, should seek people who can do it
  • data is hosted on NERSC

Then the rest can be ran on your local machine / server as well. In case you want to process the DC2 data locally, then overview notebook A0 to understand how to prepare for the rest of the examples. Otherwise you can go ahead with the pre-packaged data products for each tutorial

🟢 A1 Train cluster model

  • Load and collate galaxy catalogs
  • Set up cluster line-of-sight emulation script
  • INTENSIVE Draw samples from the proposal galaxy catalog and calculate survival scores for rejection sampling.
  • data hosted separately, see DATA ACCESS

🟢 A2 Work with galaxy distributions

  • Define KDE model for cluster member galaxy features
  • Visualize model against simulations
  • data hosted separately, currently on google drive

🟢 A3 Draw cluster catalog

  • Draw random realizations from the KDE galaxy cluster model
  • data hosted separately, currently on google drive

Part B: Rendering images

🟢 B1 Render images from catalog

  • Learn to turn a galaxy catalog into an image
  • Turn fits images into color composites
  • data included in repo
  • Validated by G. Queirolo

🟢 B2 Inject galaxy cluster

  • Learn to inject a galaxy cluster at the catalog level
  • Apply shear to background sources, based on lens geometry
  • data included in repo
  • Validated by G. Queirolo

🟢 B3 Add intra-cluster light (ICL) to images

  • Learn to render intra cluster light as a synthetic image
  • apply intra cluster light to the rendered images
  • data included in repo
  • Validated by G. Queirolo

Part C: Processing with metacalibration

🟢 C1 Running sextractor

  • Learn to use the synthetic package to automatically wrap sextractor
  • data included in repo
  • Validated by G. Queirolo

🟢 C2 create MEDS

  • Learn to create MEDS files
  • Prepare for running metacalibration
  • data included in repo
  • Validated by G. Queirolo

🟢 C3 metacalibration on a grid

  • run a minimal version of metacalibration
  • recover constant shear from a grid of postage stamp galaxies
  • No external data needed, mock galaxy grid created within the example

🟢 C4 metacalibration of cluster injection

  • Use the metacalibration algorithm in the cluster lensing scenario
  • Measure the tangential shear field induced by a galaxy cluster
  • data included in repo