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

Foreground transfer function #30

Draft
wants to merge 63 commits into
base: main
Choose a base branch
from
Draft

Foreground transfer function #30

wants to merge 63 commits into from

Conversation

arahlin
Copy link
Member

@arahlin arahlin commented Jul 21, 2022

Forergound spectra have a correlation structure in ell space that is distinct from the CMB. This means that the XFaster-computed binned transfer function may differ between these two types of signal components.

This PR introduces foreground_type and foreground_transfer_type options that behave analogously to signal_type and signal_transfer_type, so that the foreground transfer function is computed from a separate ensemble of sims. In principle, this should improve the accuracy of the bandpower calculation with a harmonic-domain foreground component.

However, there seems to be something fundamentally broken in the foreground code, such that the final covariance contains negative eigenvalues. This failure may not be specific to this branch.

vyluu and others added 30 commits September 1, 2021 04:45
…_model and dSdqb and make option for transfer function: 1/ from cmb signal, 2/ seperately from dust and cmb signal, 3/from (alpha*dust+cmb) signal
* use separate seeds for each sim and component
* clean up code to not rebuild existing files
* consistent foreground_type and foreground_type_transfer options for handling
  foreground components in covariance model and transfer function calculation
* fix_fg_transfer option fixes transfer function to be the same as CMB,
  interpolated onto the foreground binning
* beta_fit option enables or disables fitting for delta_beta in addition to
  foreground amplitudes
* correct calculation of window functions for foreground bins
cleanup to simplify later merging
@arahlin arahlin self-assigned this Jul 21, 2022
@arahlin arahlin marked this pull request as draft July 21, 2022 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants