Skip to content

Pol rotation broken for TE/EE only runs #99

@adrien-laposta

Description

@adrien-laposta

Hi @cmbant @mgerbino

I am using MFLike in the context of a TE/EE only run. The list of requested_cls is then ['te', 'ee'].
If we set polarization rotation systematic parameters alpha_{exp} different from zero, the code will try running L627 in mflike.py.

It results in a KeyError, requesting a missing 'tt' key. I suspect this is coming from the syslibrary module, and in particular from the syslib_mflike.Rotation_alm class. The associated eval method requests for the TT power spectrum in self.cl.

A quick fix would be to add some checks to ensure that the requested power spectrum is in the cls list passed as an argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions