-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Welcome to the wtgpipeline wiki!
In order to get cluster lensing masses, you're going to have to work your way through the ten steps:
- Preprocessing/ISR/Brighter-Fatter Correction
- Distribute Sets and Mask
- Directories and Headers changed. Cross-talk Correction applied.
- Initial Astrometry
- Illumination Correction
- Final astrometry
- Coadding
- Coadd Masking
- Photometric Measurement and Calibration
- Photometric Redshifts
Steps 11 (measure CC masses) and 12 (measure p(z) masses) are on the gravitas repo: https://github.com/arwright3/gravitas
These are the image processing steps that come before lensing measurements are made:
- preprocessing
do_Subaru_preprocess_10_2_adam.sh do_Subaru_preprocess_10_2_simple.sh do_Subaru_preprocess_10_3_adam.sh do_Subaru_preprocess_10_3_simple.sh do_Subaru_preprocess_adam.sh do_Subaru_preprocess_config8.sh do_Subaru_preprocess_notes.sh do_Subaru_preprocess_template.sh
if including the BFcorr, then you have to use process_science_4channels_eclipse_para-noos_BFCTcorr.sh instead!!!
if you haven't yet done distribute sets, then do this:./distribute_sets_subaru.sh ${SUBARUDIR} ${run}_${filter}/SCIENCE ${ending} 1000 ${SUBARUDIR}/SUBARU.list
- distribute sets and mask
adam_do_masking_master.sh (old versions: distribute_sets_subaru.sh and do_masking.sh OR instructions.sh)
- Directories and headers changed. Cross-talk correction applied.
directories changed from $filter_$run to $filter AND setup header files (for each ${filter}) AND do the cross-talk correction
./adam_do_linking_filter_dirs.sh ${cluster} ${filter_run_pairs}
./adam_do_update_headers.sh ${cluster} ${filter_run_pairs}
CTcorr uses: adam_CTcorr_make_images_para.sh adam_CTcorr_run_correction_para.py
Made batch wrapper for them using the combo of these:
* adam_TEMPLATE_switcher.py
* adam_CTcorr_allOCF-TEMPLATE.sh
a.) change directory structure
ln -s /nfs/slac/g/ki/ki18/anja/SUBARU/${cluster}/${filter}_*/SCIENCE/SUPA*.fits /nfs/slac/g/ki/ki18/anja/SUBARU/${cluster}/${filter}/SCIENCE/
ln -s /nfs/slac/g/ki/ki18/anja/SUBARU/${cluster}/${filter}_*/WEIGHTS/SUPA*.fits /nfs/slac/g/ki/ki18/anja/SUBARU/${cluster}/${filter}/WEIGHTS/
b.) setup header files (for each ${filter})
./update_config_header.sh /nfs/slac/g/ki/ki18/anja/SUBARU/${cluster}/${filter}/SCIENCE SUBARU ${cluster}
c.) do the cross talk correction for 10_3 ONLY!
- initial astrometry
have `mode=astrom` in do_Subaru_register_4batch.sh
./do_Subaru_register_4batch.sh ${cluster} 2MASS astrom "W-J-B W-C-RC W-S-Z+"
OR if in SDSS footprint: SDSS DR10 Finding Chart Tool at skyserver.sdss.org
./do_Subaru_register_4batch.sh ${cluster} SDSS-R6 astrom "W-J-B W-J-V W-C-RC W-C-IC W-S-Z+"
after astrometry call check the output plots in /nfs/slac/g/ki/ki18/anja/SUBARU/${cluster}/${filter}/SCIENCE/astrom_scamp_2MASS/plots
- illumination correction ( see Evernote)
before running simple_ic.py, I need to have OBJNAME in all images (and consistent in all images). Might as well do the same for OBJECT and MYOBJ too.
I also should rename PPRUN to PPRUN0 and have filter_run be the pattern for PPRUN
ipython develop_simple_ic/simple_ic.py
- final astrometry
have `mode=photom` in do_Subaru_register_4batch.sh
./do_Subaru_register_4batch.sh ${cluster} 2MASS photom "W-J-B W-C-RC W-S-Z+"
OR if in SDSS footprint: SDSS DR10 Finding Chart Tool at skyserver.sdss.org
./do_Subaru_register_4batch.sh ${cluster} SDSS-R6 photom "W-J-B W-J-V W-C-RC W-C-IC W-S-Z+"
check the output plots in /nfs/slac/g/ki/ki18/anja/SUBARU/${cluster}/${filter}/SCIENCE/astrom_photom_scamp_2MASS/plots
Once lensing measurements have been completed, there are other important steps like the ones which use the COSMOS catalog as a calibration tool:
- Running BPZ on COSMOS field (this is in wtgpipeline wiki, the important parts of this page should probably be transfered to the "Quantifying the Mass Bias with COSMOS" page)
- Quantifying the Mass Bias with COSMOS
Other pages might be helpful to understand what's going on in the code. E.g. https://github.com/deapplegate/wtgpipeline/wiki/Code-Comment-Syntax
In case anyone ever needs to be able to run the Weighing the Giants cluster lensing mass pipeline, it's almost all on this github repo and the gravitas repo (https://github.com/arwright3/gravitas). Here are some other pieces of the pipeline that are called in this code, but aren't included in the repo. You can email me if you need them:
- useful archive checker:
telarchive-1.8.2
- Brighter-Fatter correction from Augustine:
SoftForAdam
andfilter_adam
- sdfred Subaru pipeline (ctcorr is short for cross-talk corrector):
sdfred20130924_mf2
,ctcorr20140102.tar.gz
, andsdfredSH
- Some useful sextractor stuff:
sextractimtools
- BigMacs pre-Panstarrs:
big-macs-calibrate
If there are problems, or questions about which versions of certain scripts to use, or why something isn't working, then there are two other places to look for answers for collaborators with access to the computers at SLAC:
- Adam's bonnpipeline directory: ~awright/bonnpipeline
- Doug's bonnpipeline directory: ~dapple/nfs/pipeline/bonnpipeline
Everything in wtgpipeline
came directly from one of these two script collections.
Here are some further pipeline-specific resources:
- Doug's software site: https://sites.google.com/site/applegatearchive/software
- Pat's Photometric zeropoint calibration BigMacs:https://github.com/patkel/big-macs-calibrate