sl-hammocks
This is the code that accompanies the project ‘DESC-PUB-00170’ within LSST DESC to create a mock catalogue of strong gravitational lenses of time-variable sources.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.4%) to scientific vocabulary
Repository
This is the code that accompanies the project ‘DESC-PUB-00170’ within LSST DESC to create a mock catalogue of strong gravitational lenses of time-variable sources.
Basic Info
- Host: GitHub
- Owner: LSSTDESC
- License: bsd-3-clause
- Language: Python
- Default Branch: main
- Size: 170 KB
Statistics
- Stars: 3
- Watchers: 6
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
SL-Hammocks
SL-Hammocks is a Python code to generate mock catalogs of gravitationally lensed quasars and supernovae through a halo-model-based approach. The name is an acronym for Strong Lensing HAlo Model-based MOCK catalogS. This is the code developed as part of an LSST DESC project.
Requirement
This code uses glafic as a lens equation solver and Colossus for computations related to cosmology and dark matter halos. Other required installations include joblib for parallel computing, numpy and scipy for basic numerical computations. These Python modules need to be installed before running this code.
Examples
The full (1 realization) LSST quasar lens mock catalog is generated by
python gen_mock_halo.py --area=20000.0 --ilim=23.3 --zlmax=3.0 --source=qso --prefix=qso_mock --solver=glafic --nworker=1
The full (1 realization) LSST supernova lens mock catalog is generated by
python gen_mock_halo.py --area=50000.0 --ilim=22.6 --zlmax=2.0 --source=sn --prefix=sne_mock --solver=glafic --nworker=1
Output files
See output.txt for some explanations. You can download several examples of mock catalogs that are the output of this code in the data_public repository of LSST.
Licensing, credits and feedback
You are welcome to re-use the code, which is open source and freely available under terms consistent with BSD 3-Clause licensing (see LICENSE) at your own risk; the author shall not take any responsibility for loss or damage caused by the use of this code. If you use SL-hammocks or any mock catalogs generated by SL-hammocks for any scientific publication, we kindly ask you to cite the following paper:
The current lead of this project and the development of SL-hammocks is Katsuya T. Abe (kta-cosmo). For feedback, please contact the author via github issues or email (ktabecosmology@gmail.com).
Owner
- Name: LSST Dark Energy Science Collaboration (DESC)
- Login: LSSTDESC
- Kind: organization
- Website: http://lsstdesc.org
- Repositories: 310
- Profile: https://github.com/LSSTDESC
GitHub Events
Total
- Watch event: 5
- Push event: 3
Last Year
- Watch event: 5
- Push event: 3