deepskies / deeplenstronomy

A pipeline for versatile strong lens sample simulations
MIT License
26 stars 7 forks source link

Formatting survey distributions #89

Closed jsv1206 closed 1 year ago

jsv1206 commented 1 year ago

Can we give user defined distributions (text file) of survey parameters.

jsv1206 commented 1 year ago

Yes. This is given in https://github.com/deepskies/deeplenstronomy/tree/00abf490c362e2e8e948924d2fad84d3ce856912/Notebooks/data

Note that WEIGHT column should always be present in the txt file.

If you want to define distributions for different bands, create txt files for each band.

e.g. user defined distributions for sky_brightness for g ,r bands DISTRIBUTIONS: USERDIST_1: FILENAME: sky_brightness-g.txt MODE: interpolate STEP: 20 USERDIST_2: FILENAME: sky_brightness-r.txt MODE: interpolate STEP: 20

sky_brightness-g.txt should have sky_brightness-g and WEIGHT as columns sky_brightness-r.txt should have sky_brightness-r and WEIGHT as columns