Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H4C Nsamples Changes #24

Merged
merged 3 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pipelines/h4c/idr2.3/lstbin/task_scripts/do_LSTBIN.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ fi
echo lstbin_run.py --flag_thresh ${flag_thresh} ${red_arg} --dlst ${dlst} --file_ext ${file_ext}\
--outdir ${outdir} --ntimes_per_file ${ntimes_per_file} ${rephase} ${sig_clip} --sigma ${sigma}\
--min_N ${min_N} --lst_start ${lst_start} ${fixed_lst_start} --vis_units ${vis_units}\
--output_file_select ${output_file_select} --Nbls_to_load ${Nbls_to_load}\
--output_file_select ${output_file_select} --Nbls_to_load ${Nbls_to_load} --weight_only_by_flags\
${yaml_arg} ${input_cals} --overwrite ${data_files[@]}
lstbin_run.py --flag_thresh ${flag_thresh} ${red_arg} --dlst ${dlst} --file_ext ${file_ext}\
--outdir ${outdir} --ntimes_per_file ${ntimes_per_file} ${rephase} ${sig_clip} --sigma ${sigma}\
--min_N ${min_N} --lst_start ${lst_start} ${fixed_lst_start} --vis_units ${vis_units}\
--output_file_select ${output_file_select} --Nbls_to_load ${Nbls_to_load}\
--output_file_select ${output_file_select} --Nbls_to_load ${Nbls_to_load} --weight_only_by_flags\
${yaml_arg} ${input_cals} --overwrite ${data_files[@]}
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ filter_mode = "DPSS"
# Note that these channels are indexed relative to the channels left over after selection
# channels with Options:spw_ranges so this is why the "bottom of the FM" shows up as
# one channel away from the "top of the FM" since the FM was already removed by Options:spw_ranges
spw_ranges = "0~291,291~1028"
# KFC: Separate into three delay windows
# Originally: spw_ranges = "0~291,291~1028"
spw_ranges = "0~291,291~853,853~1028"

# we may want to consider another flagging round after delay filtering.
[FR_OPTS]
Expand Down
8 changes: 4 additions & 4 deletions pipelines/h4c/idr2.3/pre_lstbin/task_scripts/do_DELAY.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ do
then
# Command for DPSS inpainting
echo delay_filter_run.py ${fn_in} \
--filled_outfilename ${fn_out} --clobber \
--filled_outfilename ${fn_out} --clobber --apply_flag_to_nsample\
--res_outfilename ${fn_res} --CLEAN_outfilename ${fn_cln} \
--tol ${tol} --cache_dir ${cache_dir} --standoff ${standoff} \
--min_dly ${min_dly} --mode dpss_leastsq --filter_spw_ranges ${spw_ranges} --flag_yaml ${flag_yaml}
delay_filter_run.py ${fn_in} \
--filled_outfilename ${fn_out} --clobber \
--filled_outfilename ${fn_out} --clobber --apply_flag_to_nsample\
--res_outfilename ${fn_res} --CLEAN_outfilename ${fn_cln} \
--tol ${tol} --cache_dir ${cache_dir} --standoff ${standoff} \
--min_dly ${min_dly} --mode dpss_leastsq --filter_spw_ranges ${spw_ranges} --flag_yaml ${flag_yaml}
Expand All @@ -107,13 +107,13 @@ do
# Command for CLEAN inpainting
npad=$((${spw1}-${spw0}))
echo delay_filter_run.py ${fn_in} \
--filled_outfilename ${fn_out} --clobber \
--filled_outfilename ${fn_out} --clobber --apply_flag_to_nsample\
--res_outfilename ${fn_res} --CLEAN_outfilename ${fn_cln} \
--tol ${tol} --standoff ${standoff} --filter_spw_ranges ${spw_ranges}\
--min_dly ${min_dly} --edgecut_low ${npad} --edgecut_hi ${npad} --zeropad ${npad} --mode clean --flag_yaml ${flag_yaml}

delay_filter_run.py ${fn_in} \
--filled_outfilename ${fn_out} --clobber \
--filled_outfilename ${fn_out} --clobber --apply_flag_to_nsample\
--res_outfilename ${fn_res} --CLEAN_outfilename ${fn_cln} \
--tol ${tol} --standoff ${standoff} --filter_spw_ranges ${spw_ranges}\
--min_dly ${min_dly} --edgecut_low ${npad} --edgecut_hi ${npad} --zeropad ${npad} --mode clean --flag_yaml ${flag_yaml}
Expand Down