Skip to main content

Final configuration of the null-test v1.0.2 used in POLARBEAR large-patch high-\(\ell\) analysis

Keywords

POLARBEAR, Null tests, Reproducible research

Final configuration of the null-test v1.0.2 used in POLARBEAR large-patch high-\(\ell\) analysis

The configuration used in the final analysis in chapter 31 is presented below.

Configuration for real maps

# "variables" to be reuse later
common:

  mapsplits: &mapsplits
    mapsplits:
      - FIRST_SECOND
      # - FIFTH_SEPARATE
      # - FOURTH_SEPARATE
      # - THIRD_SEPARATE
      - RS_MIDDLE
      - RM_SET
      - SM_RISE
      - LR_SUBSCAN
      - PWV
      - GAIN_BY_CES
      - QU_PIXEL
      - LHS_RHS
      - SUN_DIST
      - SUN_HORIZON
      - MOON_DIST
      - MOON_HORIZON
      - LEAK_BY_CES
      - LEAK_BY_BOLO
      - AMP_2F_BY_CES
      - AMP_2F_BY_BOLO
      - AMP_4F_BY_CES
      - AMP_4F_BY_BOLO
      # - RANDOM_BY_BOLO1
      # - RANDOM_BY_BOLO2
      # - RANDOM_BY_BOLO3
      # - RANDOM_BY_BOLO4
      # - RANDOM_BY_BOLO5
      # - RANDOM_BY_BOLO6
      # - RANDOM_BY_BOLO7
      # - RANDOM_BY_BOLO8
      # - RANDOM_BY_CES1
      # - RANDOM_BY_CES2
      # - RANDOM_BY_CES3
      # - RANDOM_BY_CES4
      # - RANDOM_BY_CES5
      # - RANDOM_BY_CES6
      # - RANDOM_BY_CES7
      # - RANDOM_BY_CES8
      - THS_BHS
      - TOP_BOTTOM
      # - RANDOM_BUT_PAIR_BY_BOLO1


# mapmaking sim iter

mapbolo_sim: &boloargs
  gain_folder: $SCRATCH/data/largepatch4/gain_181224_renorm
  psd_folder: $SCRATCH/data/largepatch4/psd_iota_poleff_181224_renorm
  filterfolder: $SCRATCH/data/largepatch4/filterdb_iota_final
  alt_flag_folder: $SCRATCH/data/largepatch4/iota_dataselection_final_highell_corr
  # projection args
  width: 45
  fixed_offset: BICEP
  pixelsize: 2
  hwppos: 45
  projection: OLEA
  # filter args
  detrend: 2
  ? groundlr
  groundtemplate: 0.24
  poly: 9
  polpoly: 9
  ? commonmode
  ? notch_lines
  notch_line_width: 0.01
  mask_radius: 3.5
  # null only
  null_folder: $SCRATCH/data/largepatch4/null_test_flags_iota_highell_corr_pair
  <<: *mapsplits

mapbolo_sim_iter: &boloinput
  f: $SCRATCH/data/largepatch4/hdf5_ces_dmds

# coadd

coadd:
  basedir: $SCRATCH/largepatch_null/high_1_0_2/maps
  # outsubdir: coadd
  <<: *mapsplits

# for coadd_mpi_iter.py
coadd_sim:
  # outsubdir: coadd
  <<: *mapsplits

# pseudo

pseudo:
  # weight_name: realmap
  lmax: 4901
  pixel_size: 2

  selectionpath: $SCRATCH/largepatch_null/high_1_0_2/weight_nauto.hdf5
  maskpath: $SCRATCH/largepatch_null/high_1_0_2/masks.hdf5
  weightdir: $SCRATCH/largepatch_null/high_1_0_2/coadd/null_realmaps

pseudo_iter:
  <<: *mapsplits

# null map to full map

null2full:
  basedir: $SCRATCH/largepatch_null/high_1_0_2/coadd
  outbasedir: $SCRATCH/largepatch_null/high_1_0_2/coadd_full
# cat args-common.yml before this

# "variables" to be reuse later
template:

  iter: &iter
    mapcase:
      - null_realmaps
    nreal:
      - null
    save_weight:
      - True

# mapmaking-real

mapbolo_whwp:
  <<: *boloargs
  ? removeleakage_pca
  leak_fmax: 0.4
  correct_poleff: $SCRATCH/data/largepatch4/analysis_data_iota/cal/lp/combined_poleff_20181221.pkl
  ? deconvolve
mapbolo_whwp_iter:
  <<: *boloinput
  tssim:
    - null
  whitenoise:
    - False
  <<: *iter

# coadd-real

coadd_iter: &coadd_iter
  name:
    - realmap
  <<: *iter

# coadd-real-final

coadd_final:
  basedir: $SCRATCH/largepatch_null/high_1_0_2/coadd
  # outsubdir: coadd
  <<: *mapsplits
coadd_final_iter:
  <<: *coadd_iter

# coadd-sign flip

coadd_sign:
  basedir: $SCRATCH/largepatch_null/high_1_0_2/maps/null_realmaps
  signpath: $SCRATCH/data/largepatch_high/obs_paths_by_dir_0_13_sign_flip_512.hdf5
  name: realmap
  nreal: 512
  # outsubdir: coadd
  <<: *mapsplits

# null map to full map

null2full_iter:
  mapcase:
    - null_realmaps
  name:
    - realmap
  nreal:
    - null
  final:
    - True
  rawmaps:
    - - d0
      - d4r
      - d4i
      - w0
      - w4

Configuration for simulated maps

# "variables" to be reuse later
common:

  mapsplits: &mapsplits
    mapsplits:
      - FIRST_SECOND
      # - FIFTH_SEPARATE
      # - FOURTH_SEPARATE
      # - THIRD_SEPARATE
      - RS_MIDDLE
      - RM_SET
      - SM_RISE
      - LR_SUBSCAN
      - PWV
      - GAIN_BY_CES
      - QU_PIXEL
      - LHS_RHS
      - SUN_DIST
      - SUN_HORIZON
      - MOON_DIST
      - MOON_HORIZON
      - LEAK_BY_CES
      - LEAK_BY_BOLO
      - AMP_2F_BY_CES
      - AMP_2F_BY_BOLO
      - AMP_4F_BY_CES
      - AMP_4F_BY_BOLO
      # - RANDOM_BY_BOLO1
      # - RANDOM_BY_BOLO2
      # - RANDOM_BY_BOLO3
      # - RANDOM_BY_BOLO4
      # - RANDOM_BY_BOLO5
      # - RANDOM_BY_BOLO6
      # - RANDOM_BY_BOLO7
      # - RANDOM_BY_BOLO8
      # - RANDOM_BY_CES1
      # - RANDOM_BY_CES2
      # - RANDOM_BY_CES3
      # - RANDOM_BY_CES4
      # - RANDOM_BY_CES5
      # - RANDOM_BY_CES6
      # - RANDOM_BY_CES7
      # - RANDOM_BY_CES8
      - THS_BHS
      - TOP_BOTTOM
      # - RANDOM_BUT_PAIR_BY_BOLO1


# mapmaking sim iter

mapbolo_sim: &boloargs
  gain_folder: $SCRATCH/data/largepatch4/gain_181224_renorm
  psd_folder: $SCRATCH/data/largepatch4/psd_iota_poleff_181224_renorm
  filterfolder: $SCRATCH/data/largepatch4/filterdb_iota_final
  alt_flag_folder: $SCRATCH/data/largepatch4/iota_dataselection_final_highell_corr
  # projection args
  width: 45
  fixed_offset: BICEP
  pixelsize: 2
  hwppos: 45
  projection: OLEA
  # filter args
  detrend: 2
  ? groundlr
  groundtemplate: 0.24
  poly: 9
  polpoly: 9
  ? commonmode
  ? notch_lines
  notch_line_width: 0.01
  mask_radius: 3.5
  # null only
  null_folder: $SCRATCH/data/largepatch4/null_test_flags_iota_highell_corr_pair
  <<: *mapsplits

mapbolo_sim_iter: &boloinput
  f: $SCRATCH/data/largepatch4/hdf5_ces_dmds

# coadd

coadd:
  basedir: $SCRATCH/largepatch_null/high_1/maps
  # outsubdir: coadd
  <<: *mapsplits

# for coadd_mpi_iter.py
coadd_sim:
  # outsubdir: coadd
  <<: *mapsplits

# pseudo

pseudo:
  # weight_name: realmap
  lmax: 4901
  pixel_size: 2

  selectionpath: $SCRATCH/largepatch_null/high_1/weight_nauto.hdf5
  maskpath: $SCRATCH/largepatch_null/high_1/masks.hdf5
  weightdir: $SCRATCH/largepatch_null/high_1/coadd/null_realmaps

pseudo_iter:
  <<: *mapsplits

# null map to full map

null2full:
  basedir: $SCRATCH/largepatch_null/high_1/coadd
  outbasedir: $SCRATCH/largepatch_null/high_1/coadd_full
# cat args-common.yml before this

# "variables" to be reuse later
template:

  iter: &iter
    mapcase:
      - null_simmaps_TTBB
      - null_simmaps_TTEE
      - null_simmaps_TTEEBB
    nreal:
      - 128
      - 128
      - 512
    save_weight:
      - False
      - False
      - False

# mapmaking-sim

mapbolo_whwp:
  <<: *boloargs
mapbolo_whwp_iter:
  <<: *boloinput
  tssim:
    - $SCRATCH/data/largepatch_high/simmaps_base_2018_plikHM_TTTEEE_lowl_lowE_lensing_cl_lensd/maps_ttbb
    - $SCRATCH/data/largepatch_high/simmaps_base_2018_plikHM_TTTEEE_lowl_lowE_lensing_cl_lensd/maps_ttee
    - $SCRATCH/data/largepatch_high/simmaps_base_2018_plikHM_TTTEEE_lowl_lowE_lensing_cl_lensd/maps_tteebb
  whitenoise:
    - False
    - False
    - False
  <<: *iter

# coadd-sim

coadd_iter:
  name:
    - sim
    - sim
    - sim
  <<: *iter

null2full_iter:
  mapcase:
    - null_simmaps_TTBB
    - null_simmaps_TTEE
    - null_simmaps_TTEEBB_noise
  name:
    - sim
    - sim
    - sim
  nreal:
    - 128
    - 128
    - 512
  final:
    - False
    - False
    - False
  rawmaps:
    - - d0
      - d4r
      - d4i
    - - d0
      - d4r
      - d4i
    - - d0
      - d4r
      - d4i