benabed / clik

Planck likelihood code
3 stars 5 forks source link

Can't use clik_change_lrange_bychannel_pol on lite files #9

Open cgiovanetti opened 10 months ago

cgiovanetti commented 10 months ago

I'm trying to truncate the range of ell in some of the plik lite files using the function clik_change_lrange_bychannel_pol (specifically, trying /baseline/plc_3.0/hi_l/plik_lite/plik_lite_v22_TTTEEE.clik, downloaded from the legacy archive). When I try this I get the following output:

read parameter file change_l_TTTEEE.param
can only change lmin and lmax for plik likelihoods

I can still use clik_change_lrange on plik_lite_v22_TT.clik, but the documentation says this will only work for the plik TT files. How can I truncate the range of ell for the lite TT+TE+EE file?

My full param file is below.

input_clik = plik_lite_v22_TTTEEE.clik

output_clik = plik_lite_v22_TTTEEE_l800.clik

#set to -1 to use default value
#set to anything else to change lmin
#      T100 T143 T217 E100 E143 E217
lmin =   800  000  000  800  800  800 & 
        000  800  800  800  800  800 &
        000  800  800  800  800  800 &
        800  800  800  800  800  800 &
        800  800  800  800  800  800 &
        800  800  800  800  800  800 

#set to -1 to use default value
#set to anything else to change lmax
#set any non negative value inferior than lmin 
# (0 is a good example) to remove a cross spectra

#      T100 T143 T217 E100 E143 E217
lmax =   1500  000  000  1500  1500 1500 & 
        000  1500  1500  1500 1500  1500 &
        000  1500  1500 1500  1500  1500 &
        1500  1500  1500  1500  1500  1500 &
        1500  1500  1500  1500  1500  1500 &
        1500  1500  1500  1500  1500  1500