Skip to content

Commit

Permalink
add instruction for the tfplot
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Thibaut committed Sep 17, 2024
1 parent 5ace6f6 commit 0da00fa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions project/data_analysis/dr6xplanck.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,20 @@ the ACT spectra, the way we get the correction is the following
The first code is similar to the standard simulation spectra code, but it's residual only (no signal), the mc_analysis serve to produce the average of these spectra.

*******************
Computation of the Transfer Function
*******************

We can compute a temperature transfer function using the cross correlation of ACT and Planck, grab the code in the "mm_transfer_function" folder and run

.. code:: shell
salloc -N 1 -C cpu -q interactive -t 00:30:00
OMP_NUM_THREADS=256 srun -n 1 -c 256 --cpu_bind=cores python compute_tf.py global_dr6v4xlegacy.dict
OMP_NUM_THREADS=256 srun -n 1 -c 256 --cpu_bind=cores python plot_all_tf.py global_dr6v4xlegacy.dict
*******************
Comparison of ACT and Planck
*******************
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
sv = "dr6"
arrays = [f"{sv}_{ar}" for ar in d[f"arrays_{sv}"]]

combin = "AxA_AxP"
#combin = "AxP_PxP"
#combin = "AxA_AxP"
combin = "AxP_PxP"

subtract_bf_fg = True

Expand Down

0 comments on commit 0da00fa

Please sign in to comment.