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

Implement a mapmaking template for HWP synchronous signal #736

Merged
merged 9 commits into from
Mar 6, 2024

Conversation

tskisner
Copy link
Member

@tskisner tskisner commented Feb 6, 2024

  • Implement truncated Fourier series technique based on C++ code developed for real-time filtering in kst in 2009.

  • Add unit tests for low-level math functions and a synthetic scan strategy without atmosphere.

  • Format source with latest version of black (24.1.1)

- Implement truncated Fourier series technique based on
  C++ code developed for real-time filtering in kst in 2009.

- Add unit tests for low-level math functions and a synthetic
  scan strategy without atmosphere.

- Format source with latest version of black (24.1.1)
@tskisner tskisner marked this pull request as ready for review February 6, 2024 20:24
@tskisner
Copy link
Member Author

tskisner commented Feb 6, 2024

An example of one of the plots generated by unit tests, showing the removal of HWPSS as part of the mapmaking:
hwpss_test

Copy link
Member

@keskitalo keskitalo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! We need a better system for running format_source.sh between PRs. I almost choked on my coffee seeing that 23 files had been changed :)

src/toast/templates/hwpss.py Show resolved Hide resolved
src/toast/templates/hwpss.py Show resolved Hide resolved
src/toast/tests/template_hwpss.py Outdated Show resolved Hide resolved
src/toast/tests/template_hwpss.py Show resolved Hide resolved
@tskisner tskisner merged commit f9efa57 into hpc4cmb:toast3 Mar 6, 2024
6 checks passed
@tskisner tskisner deleted the hwpss branch March 6, 2024 08:03
tskisner added a commit that referenced this pull request Mar 13, 2024
This restores the HWP Stokes response to the model before #736.
The changes in that PR were based on observations of a source
with known polarization, but resulted in breakage of common-sense
tests with discrete detector / HWP orientations.  Those polarized
source results should be revisited.
tskisner added a commit that referenced this pull request Mar 13, 2024
This restores the HWP Stokes response to the model before #736.
The changes in that PR were based on observations of a source
with known polarization, but resulted in breakage of common-sense
tests with discrete detector / HWP orientations.  Those polarized
source results should be revisited.
tskisner added a commit that referenced this pull request Mar 18, 2024
* Restore HWP Stokes model changes

This restores the HWP Stokes response to the model before #736.
The changes in that PR were based on observations of a source
with known polarization, but resulted in breakage of common-sense
tests with discrete detector / HWP orientations.  Those polarized
source results should be revisited.

* Fix detection of test failures

* Base groundfilter test criteria on simulated noise level

* Fix import.  Fix absolute tolerance in baseline comparison.

* Fix absolute imports and missing import from obsmat.py

* Bump requirements to pshmem 1.0.5, which has fix for macos.

* Try to increase the shell limit on number of open files when running tests on macos.

* More attempts to increase open file limit on macos

* More attempts to increase open file limit on macos again

* Bump pshmem requirements.

* Speed up some unit tests.  Fixes to non-default stokes weights kernels.
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