Skip to content

Commit

Permalink
Updated mock catalog generation tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
HiramHerrera committed Nov 15, 2023
1 parent 63856f5 commit 9af008b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/nb/generate_survey_release_catalogs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"# Observed data\n",
"catdir='/global/cfs/cdirs/desi/science/lya/y1-kp6/iron-tests/catalogs/'\n",
"cat_name='QSO_cat_iron_main_dark_healpix_zlya-altbal_zwarn_cut_20230918.fits'\n",
"cat_path = os.path.join(catdir,cat_name)"
"cat_path = os.path.join(catdir,cat_name)\n",
"\n",
"# Master catalog\n",
"mastercatalog = '/global/cfs/cdirs/desi/mocks/lya_forest/london/v9.0/v9.0.0/master.fits'"
]
},
{
Expand Down Expand Up @@ -59,7 +62,7 @@
"# Pass invert = True if you want to invert the random numbers generated: 1-random_number.\n",
"# This allows generating independent mocks from the same seed.\n",
"# TODO: Should probably refactor the class to make it clearer what refers to data and what to mocks.\n",
"survey=SurveyRelease(mockteam='london',subversion='v9.0.0',seed=0, \n",
"survey=SurveyRelease(mastercatalog=mastercatalog,seed=0, \n",
" qso_only=True, data_file=cat_path,invert=False)\n",
"# Apply redshift distribution\n",
"# Note: For Y1 mocks (and probably Y5 too) the target selection redshift distribution from Chaussidon et al. 2022 works better to match QSO targets Iron catalog.\n",
Expand Down

0 comments on commit 9af008b

Please sign in to comment.