Catalog-level simulation of LSST DM stack measurements of gravitationally-lensed quasars.
In this package we are experimenting with predicting Source
, Object
,
DIASource
and DIAObject
properties directly, by realizing
model lenses as mixtures of Gaussians. Our goals are to
Be able to generate large-volume catalog level lens simulations, to enable catalog-level lens finder training;
Enable a model-based interpretation of the LSST catalogs, for use in lens finding and light curve extraction.
For Ubuntu 16.04, the matplotlib.pyplot.imshow module in Jupyter Notebook requires a manual installation of texlive-latex-base
, texlive-latex-extra
, texlive-fonts-recommended
, and dvipng
.
Astropy
Scikit-learn
Pandas
Numpy
To use (and not develop) SLRealizer
, you can pip install it with
pip install git+git://github.com/LSSTDESC/SLRealizer.git#egg=slrealizer
To help develop it, fork and clone the repo, cd
to its python
folder, and then install the package with
python setup.py develop
To run the tests, do
nosetests
A draft LSST DESC Note describing the basic operation of SLRealizer
, and some simple machine learning classification results, can be viewed in the issue/17/desc-note
branch's doc
folder here.
SLRealizer/
├── python/
│ ├── desc/
| | └── slrealizer/
| | | ├── __init__.py
| | | ├── SLRealizer.py // contains wrapper methods that ensembles the methods in different modules
| | | ├── null_deblend.py // contains methods that null-deblends the input sources
| | | ├── catalog.py // contains methods that format each entree of the source and the object catalog
| | | ├── constant.py // defines constants that could be accessed globally in the package
| | | ├── dropbox_manage.py // contains methods that sync dropbox repository with a local repository to save big data
| | | ├── test.py // contains unit tests for the SLRealizer package
| | | ├── plotting.py // _not called by SLRealizer.py_ given an OM10 system, make a simple plot of gaussian realization
| | | ├── distance.py // _not yet used by SLRealizer.py_ calculate the image distance and evaluate the cost model
| | | └── Makefile // _to be more updated_ currently, contains `make clean` that cleans up the junk files
│ └── setup.py
└── data/
├── qso_mock.fits // OM10 catalog
├── sdss_object.csv // SDSS object catalog, used to compare the features between OM10 and sdss
└── twinkles_observation_history.csv // mock observation data
This is research in progress, using open source software which is available for re-use under the BSD license. If you make use of any of the ideas or code in this repository in your own research, please do cite us as "(Marshall et al, in prep.)" and provide a link to this repository - but before then, we hope you will get in touch! Please do drop us a line via the hyperlinked contact names above, or by writing us an issue.