<jupyter_start><jupyter_text>COSMOS is a deep, wide area, multi-wavelength survey aimed at measuring the evolution of galaxies on scales from a few Kpc to 10's of Mpc.The COSMOS survey is centered at (J2000):RA +150.11916667 (10:00:28.600)DEC +2.20583333 (+02:12:21.00)<jupyter_code>%pylab inline
import imaginglss
decals = imaginglss.DECALS('/project/projectdirs/m779/imaginglss/dr2.conf.py')
dr = decals.datarelease
RA = 150.11916667
DEC = 2.20583333
cosmos = dr.create_footprint((RA -0.7, RA + 0.7, DEC-0.7, DEC+0.7 ))
cosmos_DR2 = cosmos.intersect(dr.footprint)
print cosmos_DR2
print cosmos
cat = dr.create_catalogue(cosmos_DR2)
from imaginglss.analysis import targetselection
from imaginglss.analysis import completeness
sigma = {'r':5, 'g':5, 'z': 5}
LRG = completeness.LRG(sigma)(targetselection.LRG(cat))
plot(LRG['RA'], LRG['DEC'], ', ')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13568985176738882, 'fraction_numerical': 0.09236031927023945, 'mean_word_length': 6.19672131147541, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '84047', 'license': 'Artistic-2.0', 'n_tokens_mistral': 388, 'n_tokens_neox': 332, 'n_words': 79, 'path': 'COSMOS.ipynb', 'repo_name': 'bccp/imaginglss-notebooks', 'size': '877'}